Atoms Crowd
7.0.0
|
Public Member Functions | |
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. | |
Protected Attributes | |
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. | |
|
protected |
Agent type variation.
It's the owner of this variation group