8 #ifndef __SIM_Object_h__
9 #define __SIM_Object_h__
28 class SIM_SimulationState;
39 int getObjectId()
const;
44 void setName(
const char *
name);
48 bool getIsBaked()
const;
51 bool getAllowCaching()
const;
52 void setAllowCaching(
bool allowcaching);
55 bool getSolveFirstFrame()
const;
59 const char *relationshiptype);
63 const char *relationshiptype)
const;
68 const char *relationshiptype)
const;
87 const SIM_SolveState &getSolveState()
const;
115 int getNumRelationships(
bool ingroup)
const;
122 const char *name)
const;
125 void filterConstRelationships(
bool ingroup,
133 bool getIsSubStepObject()
const;
136 bool getIsStatic()
const;
140 bool getIsIntangible()
const;
144 SIM_MetaObject *getMetaObject()
const;
174 const char *defaultlabel=0)
const;
202 bool usegeohistory)
const;
214 fpreal integrateovertime = 0.0)
const;
221 fpreal integrateovertime = 0.0)
const;
256 bool getPointAttribute(
GA_Index ptnum,
265 const SIM_Position *getPositionForGeometry(
const char *geo)
const;
272 explicit SIM_Object(
const SIM_SimulationState *factory);
289 const char *dataname)
override;
304 const char *
pattern)
const override;
308 const char *relationshiptype)
const;
309 void setMetaObject(SIM_MetaObject *metaobject);
310 void setSubStepCopyFromObject(
SIM_Object *fromobject);
311 void setObjectId(
int id);
312 void setIsBaked(
bool baked);
313 void setSolveFirstFrame(
bool solvefirstframe);
314 void setSolveState(
const SIM_SolveState &solvestate);
324 const SIM_SimulationState *mySimulationState;
326 SIM_MetaObject *myMetaObject;
328 SIM_SolveState mySolveState;
340 bool mySolveFirstFrame;
343 friend class SIM_SimulationState;
virtual void makeEqualSubclass(const SIM_Data *source)
#define DECLARE_STANDARD_GETCASTTOTYPE()
#define DECLARE_CLASSNAME(DataClass, SuperClass)
virtual bool loadSubclass(UT_IStream &is)
GLuint GLsizei const GLchar * label
virtual SIM_Query * createQueryObjectSubclass() const
This class contains physical attributes that apply to all objects.
virtual int64 getMemorySizeSubclass() const
virtual bool getMatchesStringSubclass(const char *pattern) const =0
Holds pointers to a number of SIM_Relationships.
Holds pointers to a number of SIM_Object objects.
GLsizei GLsizei GLchar * source
virtual void saveSubclass(std::ostream &os) const
virtual void interpolateSubclass(const SIM_Data *source1, const SIM_Data *source2, fpreal interp)
GLuint const GLchar * name
GA_Size GA_Index
Define the strictness of GA_Offset/GA_Index.
Holds pointers to a number of const SIM_Object objects.
virtual void removeNamedSubDataSubclass(const char *dataname)
virtual void setNamedSubDataSubclass(const char *dataname, const SIM_Data *data)
virtual void getRootDataIdSubclass(SIM_RootDataId &id) const =0
GLint GLint GLint GLint GLint GLint GLint GLbitfield GLenum filter
virtual void initializeSubclass()