42 virtual float DiffusionConstant();
43 virtual void DiffusionConstant(
float fltVal,
bool bUseScaling =
true);
45 virtual Odor *FindOdorSource(std::string strOdorID,
bool bThrowError =
true);
46 virtual void AddOdorSource(
Odor *lpOdor);
48 virtual float CalculateOdorValue(CStdFPoint &oSensorPos);
50 virtual bool SetData(
const std::string &strDataType,
const std::string &strValue,
bool bThrowError =
true);
51 virtual void QueryProperties(CStdPtrArray<TypeProperty> &aryProperties);
53 virtual void Load(CStdXml &oXml);
Root namespace for the base simulation library for AnimatLab.
float m_fltDiffusionConstant
The diffusion constant that defines how fast odors of this type move through the environment.
Odor type that can be emitted from a RigidBody and sensed by an OdorSensor.
CStdMap< std::string, Odor * > m_aryOdorSources
The array of odor sources of this type within the environment.