Atoms Crowd
7.0.0
|
Variation group class. More...
#include <Variations.h>
Public Member Functions | |
VariationGroup (AgentTypeVariationCPtr agentTypeVariation, const VariationGroup &vg) | |
Constructor. | |
std::vector< std::string > | getLodNames () const |
Gets all lod names stored. | |
bool | hasLod (const std::string &name) const |
Checks if a lod exists. | |
VariationGroupLod & | getLod (const std::string &name) |
Gets a lod variation group. | |
VariationGroupLodCPtr | getLodPtr (const std::string &name) const |
Gets a lod variation group. | |
bool | removeLod (const std::string &name) |
Removes a lod. | |
void | setLod (const std::string &name, const VariationGroupLod &v) |
Sets a lod. | |
void | hash (AtomsCore::MurmurHash3 &hasher) const |
Hash. | |
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 group class.