Atoms Crowd
7.0.0
|
Variation Tree class. More...
#include <Variations.h>
Public Member Functions | |
VariationTree (AgentTypeVariationCPtr agentTypeVariation) | |
Constructor. | |
VariationTree (AgentTypeVariationCPtr agentTypeVariation, const VariationTree &variationTree) | |
Constructor. | |
~VariationTree () | |
Destructor. | |
void | clear () |
clear | |
const VariationTreeGeoMap & | getVariationTypes () const |
get the variation types | |
bool | hasVariationType (const std::string &name) const |
has variation type | |
const VariationTreeGeoMap & | getExtraGeos () const |
get the extra geos | |
const MaterialConstraintMap & | getMaterialConstraints () const |
get the material constraints | |
const ExcludeGeometryMap & | getExcludeGeometries () const |
get the exclude geometries | |
void | addVariationType (const std::string &name, const VariationTreeGeo &vg) |
add variation type | |
void | addExtraGeo (const std::string &name, const VariationTreeGeo &vg) |
add extra geo | |
void | addMaterialConstraint (const std::string &name, const MaterialConstraint &mc) |
add material constraint | |
void | addExcludeGeometry (const std::string &name, const ExcludeGeometry &mc) |
add exclude geometry | |
void | setGeoMatSuffixReplacement (const std::string &geo, const std::string &mat) |
set geo mat suffix replacement | |
const std::pair< std::string, std::string > & | getGeoMatSuffixReplacement () const |
get geo mat suffix replacement | |
void | addGeoMatAliases (const std::string &geo, const std::string &mat) |
add geo mat aliases | |
const std::vector< std::pair< std::string, std::string > > & | getGeoMatAliases () const |
get geo mat aliases | |
void | setMaterialPrefix (const std::string &materialPrefix) |
add geo mat aliases | |
const std::string & | getMaterialPrefix () const |
get material prefix | |
void | hash (AtomsCore::MurmurHash3 &hasher) const |
Hash. | |
std::vector< std::pair< std::string, std::string > > | build (const std::string &variationType, unsigned agentSeed, unsigned int seed, std::vector< std::string > &debugMessages, const bool storeDebugMessages=false) const |
build variation method | |
AgentTypeVariationCPtr | getAgentTypeVariation () const |
Variation Tree class.