9 #ifndef __HOM_DopSimulation_h__
10 #define __HOM_DopSimulation_h__
55 SWIGOUT(%newobject createObject;)
56 virtual HOM_DopData *createObject(
const char *
name,
bool solve_on_creation_frame) = 0;
60 SWIGOUT(%newobject createRelationship;)
68 virtual std::vector<HOM_ElemPtr<HOM_DopData> > objects() = 0;
70 virtual std::vector<HOM_ElemPtr<HOM_DopData> > relationships() = 0;
73 virtual HOM_DopData *findObject(
const char *obj_spec) = 0;
74 SWIGOUT(%newobject findRelationship;)
75 virtual HOM_DopData *findRelationship(
const char *rel_spec) = 0;
77 virtual HOM_DopData *findData(
const char *data_spec) = 0;
79 virtual std::vector<HOM_ElemPtr<HOM_DopData> >
80 findAllObjects(
const char *obj_spec) = 0;
82 virtual std::vector<HOM_ElemPtr<HOM_DopData> >
83 findAllRelationships(
const char *rel_spec) = 0;
85 virtual std::vector<HOM_ElemPtr<HOM_DopData> >
86 findAllData(
const char *data_spec) = 0;
88 virtual double time() = 0;
92 setTime(
double t,
bool resim_last_timestep =
false,
93 bool force_reset_sim =
false,
bool allow_simulation =
true) = 0;
95 virtual double timestep() = 0;
96 virtual void setTimestep(
double t) = 0;
98 virtual size_t memoryUsage() = 0;
#define HOM_DESTRUCT_OBJECT(pointer)
virtual HOM_DopSimulation * newDopSimulation()=0
GT_API const UT_StringHolder time
virtual HOM_DopSimulation * simulation()=0
GLsizei const GLchar *const * string
string __repr__(VtArray< T > const &self)
#define HOM_CONSTRUCT_OBJECT(pointer)
GLuint const GLchar * name
HOM_DopSimulation(const HOM_DopSimulation &simulation)
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
virtual ~HOM_DopSimulation()
virtual HOM_Node * dopNetNode()=0
HOM_API HOM_Module & HOM()
bool operator!=(HOM_PtrOrNull< HOM_DopSimulation > sim) const
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.