14 #include <matrix/vlVector.h>
15 #include <matrix/vlTaitBryan.h>
16 #include <boost/signals.hpp>
25 class DtSceneObjectUpdater;
68 return myKey == rec.
model;
78 ModelSet_Unspecified = -1,
80 ModelSet_3DColorized = 1,
92 void addModel(
DtModel* model,
int visualizerType );
95 void removeModel(
DtModel* model );
102 void setPosition(
int vtx,
const DtVector& position );
105 void addPosition(
int vtx,
const DtVector& position );
108 void getPosition(
int vtx,
DtVector& position )
const;
113 void setOffset(
const DtVector& offset );
116 void getOffset(
DtVector& offset )
const;
119 void setOrientation(
int vtx,
const DtTaitBryan& orientation );
122 void getOrientation(
int vtx, DtTaitBryan& orientation )
const;
125 void getOrientation(
int vtx,
DtQuat& orientation )
const;
128 void setColor(
float r,
float g,
float b,
float a);
132 void setModelSet(
int modelSet );
135 int modelSet()
const;
139 void setIsProp(
bool isProp );
144 void setSolid(
bool b );
156 const ModelList& models()
const;
162 const TransformList& transforms()
const;
165 virtual void removePosition(
int);
169 void setBoundingBoxSize(
double minX,
double maxX,
170 double minY,
double maxY,
double minZ,
double maxZ);
173 const DtVector& boundingBoxExtents()
const;
176 void getBoundingBoxExtents(
double& x,
double& y,
double& z)
const;
179 const DtVector& boundingBoxCenter()
const;
182 void getBoundingBoxCenter(
double& x,
double& y,
double& z)
const;
185 double boundingRadius()
const;
190 void setVisible(
bool visible );
196 bool isVisible()
const;
225 void initializeModel(
DtModel* modelInstanceOwner );
228 void modelChanged(
DtModel* model );
233 bool modelVisibilityRequested(
DtModel* model,
bool visible);
236 void resetModelTransforms();
240 void updateBoundingBoxViaContents();
243 void calculateBoundingRadius();