Atoms Crowd  4.1.0
Atoms::AgentTypeVariation Class Reference

Agent type variation class. More...

#include <Variations.h>

Public Member Functions

 AgentTypeVariation ()
 Constructor.
 
 ~AgentTypeVariation ()
 Destructor.
 
 AgentTypeVariation (const AgentTypeVariation &atv)
 Copy constructor.
 
void clear ()
 Clear the greomeitres, materials and variaiton groups.
 
std::vector< std::string > getGeometryNames () const
 Gets the geometry names.
 
std::vector< std::string > getMaterialNames () const
 Gets the material names.
 
std::vector< std::string > getGroupNames () const
 Gets the group names.
 
VariationGeometrygetGeometry (const std::string &name)
 Gets a geometry.
 
VariationMaterialgetMaterial (const std::string &name)
 Gets a material.
 
VariationGroupgetGroup (const std::string &name)
 Gets a group.
 
void setGeometry (const std::string &name, const VariationGeometry &v)
 Sets a geometry.
 
void setMaterial (const std::string &name, const VariationMaterial &v)
 Sets a material.
 
void setClothSetup (const std::string &path)
 Sets cloth setup file.
 
void setLookFile (const std::string &path)
 Sets look file.
 
void setGroup (const std::string &name, const VariationGroup &v)
 Sets a group.
 
VariationGeometryCPtr getGeometryPtr (const std::string &name) const
 Gets a geometry.
 
VariationMaterialCPtr getMaterialPtr (const std::string &name) const
 Gets a material.
 
VariationGroupCPtr getGroupPtr (const std::string &name) const
 Gets a group.
 
const std::string & getClothSetup () const
 Gets cloth setup file.
 
const std::string & getLookFile () const
 Gets look file.
 
bool hasGeometry (const std::string &name) const
 Checks if this object contains a geometry.
 
bool hasMaterial (const std::string &name) const
 Checks if this object contains a material.
 
bool hasGroup (const std::string &name) const
 Checks if this object contains a group.
 
bool removeGeometry (const std::string &name)
 Removes a geometry.
 
bool removeMaterial (const std::string &name)
 Removes a material.
 
bool removeGroup (const std::string &name)
 Removes a group.
 
bool removeAllGroups ()
 Removes all groups.
 
void hash (AtomsCore::MurmurHash3 &hasher) const
 Hash.
 

Detailed Description

Agent type variation class.


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