11 namespace ExternalStimuli
28 float m_fltPreviousSetVal;
29 float m_fltSetThreshold;
30 float m_fltInitialValue;
31 float m_fltFinalValue;
33 std::string m_strEquation;
34 CStdPostFixEval *m_lpEval;
36 std::string m_strPropertyName;
37 AnimatPropertyType m_ePropertyType;
39 virtual void SetPropertyValue(
float fltVal);
47 virtual std::string Type();
49 virtual std::string TargetID();
50 virtual void TargetID(std::string strID);
54 virtual void PropertyName(std::string strPropName);
55 virtual std::string PropertyName();
57 virtual void SetThreshold(
float fltThreshold);
58 virtual float SetThreshold();
60 virtual void InitialValue(
float fltVal);
61 virtual float InitialValue();
63 virtual void FinalValue(
float fltVal);
64 virtual float FinalValue();
66 std::string Equation() {
return m_strEquation;};
67 void Equation(std::string strVal);
69 virtual void Initialize();
70 virtual void Activate();
71 virtual void StepSimulation();
72 virtual void Deactivate();
73 virtual bool SetData(
const std::string &strDataType,
const std::string &strValue,
bool bThrowError =
true);
74 virtual void QueryProperties(CStdPtrArray<TypeProperty> &aryProperties);
76 virtual void Load(CStdXml &oXml);
Root namespace for the base simulation library for AnimatLab.
std::string m_strTargetID
GUID ID of the target node to enable.
This stimulus enables or disables a joint or body part for a specified period of time.
External stimulus base class.
AnimatBase * m_lpTargetObject
Pointer to the target node.