14 #include <matrix/vlVector.h>
15 #include <matrix/vlTaitBryan.h>
16 #include <boost/signals.hpp>
25 class DtSceneObjectUpdater;
68 return myKey == rec.
model;
84 void addModel(
DtModel* model,
int visualizerType );
87 void removeModel(
DtModel* model );
94 void setPosition(
int vtx,
const DtVector& position );
97 void addPosition(
int vtx,
const DtVector& position );
100 void getPosition(
int vtx, DtVector& position )
const;
105 void setOffset(
const DtVector& offset );
108 void getOffset( DtVector& offset )
const;
111 void setOrientation(
int vtx,
const DtTaitBryan& orientation );
114 void getOrientation(
int vtx, DtTaitBryan& orientation )
const;
117 void getOrientation(
int vtx,
DtQuat& orientation )
const;
120 void setColor(
float r,
float g,
float b,
float a);
124 void setModelSet(
int modelSet );
127 int modelSet()
const;
131 void setIsProp(
bool isProp );
136 void setSolid(
bool b );
157 virtual void removePosition(
int);
161 void setBoundingBoxSize(
double minX,
double maxX,
162 double minY,
double maxY,
double minZ,
double maxZ);
165 const DtVector& boundingBoxExtents()
const;
168 void getBoundingBoxExtents(
double& x,
double& y,
double& z)
const;
171 const DtVector& boundingBoxCenter()
const;
174 void getBoundingBoxCenter(
double& x,
double& y,
double& z)
const;
177 double boundingRadius()
const;
182 void setVisible(
bool visible );
188 bool isVisible()
const;
217 void initializeModel(
DtModel* modelInstanceOwner );
220 void modelChanged(
DtModel* model );
225 bool modelVisibilityRequested(
DtModel* model,
bool visible);
228 void resetModelTransforms();
232 void updateBoundingBoxViaContents();
235 void calculateBoundingRadius();