Atoms Crowd  7.0.0
Atoms::VariationGroupLod Class Reference

Variation group lod class. More...

#include <Variations.h>

Inheritance diagram for Atoms::VariationGroupLod:
Atoms::BaseVariationGroup

Additional Inherited Members

- 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.
 
- 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.
 

Detailed Description

Variation group lod class.


The documentation for this class was generated from the following file: