15 #include <osg/ref_ptr>
17 #include <osg/MatrixTransform>
29 class DtOsgModelInstance;
52 const DtUniqueID& sceneObjectId,
int modelSet,
int visualizerType);
77 void setPosition(
const DtVector& position );
81 void setOrientation(
const DtTaitBryan& orientation );
89 void setVisible(
bool visible );
95 bool isVisible()
const;
104 void setConnectedWhileHidden(
bool stayConnected );
110 bool connectedWhileHidden()
const;
117 void setModelScalingEnabled(
bool enabled );
123 bool modelScalingEnabled()
const;
133 void setLocalModelScalingEnabled(
bool enabled );
139 bool localModelScalingEnabled()
const;
144 void setLocalModelScalingAmount(
float amount );
149 double localModelScalingAmount()
const;
160 osg::MatrixTransform* transformRoot();
165 osg::Group* groupRoot();
172 void setSolidFlags(
bool solid );
180 void setTransformModelScalingState();
189 void setToVisibleParent(
bool visible =
true,
bool create =
true );