Atoms Crowd
7.0.0
|
Variation override class. More...
#include <Variations.h>
Public Member Functions | |
VariationOverride (AgentTypeVariationCPtr agentTypeVariation, const VariationOverride &vg) | |
Constructor. | |
unsigned int | numGeometryFilter () const |
Gets the number of geometry filters. | |
bool | hasGeometryFilter (const std::string &geometryName) const |
Checks if this object contains this geometry filter. | |
void | addGeometryFilter (const std::string &geometryName) |
Adds a geometry filter. | |
const std::string & | getGeometryFilterAtIndex (unsigned int index) const |
Gets a geometry filter. | |
bool | removeGeometryFilterAtIndex (unsigned int index) |
Removes a geometry filter. | |
void | hash (AtomsCore::MurmurHash3 &hasher) const |
Hash. | |
const std::vector< std::string > & | getGeometryFilters () const |
Get all geometry filters. | |
BaseVariationGroup (AgentTypeVariationCPtr agentTypeVariation) | |
Constructor. | |
BaseVariationGroup (AgentTypeVariationCPtr agentTypeVariation, const BaseVariationGroup &vg) | |
Constructor. | |
Public Member Functions inherited from Atoms::BaseVariationGroup | |
BaseVariationGroup (AgentTypeVariationCPtr agentTypeVariation) | |
Constructor. | |
BaseVariationGroup (AgentTypeVariationCPtr agentTypeVariation, const BaseVariationGroup &vg) | |
Constructor. | |
~BaseVariationGroup () | |
Destructor. | |
void | clear () |
Clear all combinations. | |
unsigned int | numCombinations () const |
Gets the number of combinations. | |
bool | hasCombination (const std::string &geometryName, const std::string &materialName) |
Checks if this object contains this combination. | |
void | addCombination (const std::string &geometryName, const std::string &materialName) |
Adds a combination. | |
const std::pair< std::string, std::string > & | getCombinationAtIndex (unsigned int index) const |
Gets a combination. | |
bool | removeCombinationAtIndex (unsigned int index) |
Removes a combination. | |
void | hash (AtomsCore::MurmurHash3 &hasher) const |
Hash. | |
const std::vector< std::pair< std::string, std::string > > & | getCombinations () const |
Gets a reference to the combinations vector. | |
Additional Inherited Members | |
Protected Attributes inherited from Atoms::BaseVariationGroup | |
AgentTypeVariationCPtr | m_atVariation |
Agent type variation. More... | |
std::vector< std::pair< std::string, std::string > > | m_combinations |
Map of combinations. | |
std::pair< std::string, std::string > | m_emptyPair |
Empty combination. | |
Variation override class.