DtCylinderStateVisualizer objects are responsible for visualizing cylinder objects.
|
| | DtCylinderStateVisualizer (DtBaseConnection &simulation, DtStateListener &listener, DtSceneObjectAgent *sceneObject, DtModelSetId modelSet) |
| |
| virtual | ~DtCylinderStateVisualizer () |
| |
| virtual void | setDiameters (double length, double width, double height) |
| |
| virtual void | setColor (float r, float g, float b, float a) |
| |
| virtual void | setFlashing (bool flashing) |
| |
| virtual void | setStartLocation (const DtVector &pos) |
| |
| virtual void | setEndLocation (const DtVector &endpoint) |
| |
| virtual void | setOrientation (const DtTaitBryan &orientation) |
| |
| virtual void | setAttached (DtUniqueID id, int vtx, double percentage) |
| |
| virtual void | setHostId (const std::string &id, int vtx, double percentage) |
| |
| virtual void | setOffset (const DtVector32 &offset) |
| |
| virtual void | setCylinderType (DtCylinderStateListener::DtCylinderType cylinderType) |
| |
virtual const
DtStateVisualizer::TypeInfo & | typeInfo () const |
| |
| | DtRemoteGraphicVisualizer (DtBaseConnection &simulation, DtStateListener &listener, DtSceneObjectAgent *sceneObject, DtModelSetId modelSet) |
| |
| virtual | ~DtRemoteGraphicVisualizer () |
| |
| virtual void | initialize () override |
| |
| virtual void | setActive (bool active) |
| |
| virtual void | setLayerName (const std::string &layerName) |
| |
| virtual void | setProjected (bool projected) |
| |
| | DtStateVisualizer (DtBaseConnection &connection, DtStateListener &listener, DtSceneObjectAgent *sceneObjectAgent, DtModelSetId modelSet) |
| |
| virtual | ~DtStateVisualizer () |
| |
| virtual DtModelSetId | modelSet () |
| |
| virtual void | setSceneObjectAgent (DtSceneObjectAgent *sceneObject) |
| |
| void | setModelDefinition (const std::string &definition) |
| |
| const std::string & | modelDefinition () const |
| |
| virtual void | implementVisibility (bool visible) |
| |
| virtual void | slot_setSelected (bool b) |
| |
| void | setName (const std::string &) |
| |
| const std::string & | name () const |
| |
| virtual void | setPickable (bool) |
| |
| virtual bool | pickable () const |
| |
| virtual DtUniqueID | sceneObjectID () const |
| |
| int | visualizerType () const |
| |
| virtual void | setVisualizerDefinition (const DtVisualizerDefinition &) |
| |
| DtStateListener & | listener () |
| |
| const DtStateListener & | listener () const |
| |
| DtBaseConnection & | simulation () |
| |
| void | setDistribute (bool b) |
| |
| bool | distribute () const |
| |
| virtual bool | isVisible () const |
| |
| virtual bool | setVisualizerIsVisible (bool vis, DtVisualizerShowHideContext::VisualizerShowHideContext context) |
| |
| virtual makVrv::DtCylinderStateVisualizer::~DtCylinderStateVisualizer |
( |
| ) |
|
|
virtual |
| virtual void makVrv::DtCylinderStateVisualizer::setDiameters |
( |
double |
length, |
|
|
double |
width, |
|
|
double |
height |
|
) |
| |
|
virtual |
Sets the diameters of the cylinder.
| virtual void makVrv::DtCylinderStateVisualizer::setColor |
( |
float |
r, |
|
|
float |
g, |
|
|
float |
b, |
|
|
float |
a |
|
) |
| |
|
virtual |
Sets the color of the cylinder.
| virtual void makVrv::DtCylinderStateVisualizer::setFlashing |
( |
bool |
flashing | ) |
|
|
virtual |
| virtual void makVrv::DtCylinderStateVisualizer::setStartLocation |
( |
const DtVector & |
pos | ) |
|
|
virtual |
Sets the start location of the cylinder.
| virtual void makVrv::DtCylinderStateVisualizer::setEndLocation |
( |
const DtVector & |
endpoint | ) |
|
|
virtual |
Sets the end location of the cylinder. Only used for fixed cylinders.
| virtual void makVrv::DtCylinderStateVisualizer::setOrientation |
( |
const DtTaitBryan & |
orientation | ) |
|
|
virtual |
Sets the orientation of the cylinder. Only used for articulating cylinders.
| virtual void makVrv::DtCylinderStateVisualizer::setAttached |
( |
DtUniqueID |
id, |
|
|
int |
vtx, |
|
|
double |
percentage |
|
) |
| |
|
virtual |
Sets the cylinder's attachment.
- Parameters
-
| id | Unique ID of the parent object |
| vtx | Which vertex (0 or 1) of the cylinder to attach |
| percentage | Percentage between vertices to attach to, if the attached object is a cylinder or line |
| virtual void makVrv::DtCylinderStateVisualizer::setHostId |
( |
const std::string & |
id, |
|
|
int |
vtx, |
|
|
double |
percentage |
|
) |
| |
|
virtual |
Sets the cylinder's host ID. Overridden by child class.
| virtual void makVrv::DtCylinderStateVisualizer::setOffset |
( |
const DtVector32 & |
offset | ) |
|
|
virtual |
Sets the offset of an attached cylinder.
Sets whether the cylinder is articulating or fixed. Must be called
before other values are set.
| virtual void makVrv::DtCylinderStateVisualizer::setVisible |
( |
bool |
yesNo | ) |
|
|
protectedvirtual |
| virtual void makVrv::DtCylinderStateVisualizer::createModelAgents |
( |
| ) |
|
|
protectedvirtual |
| virtual void makVrv::DtCylinderStateVisualizer::destroyModelAgents |
( |
| ) |
|
|
protectedvirtual |
| virtual void makVrv::DtCylinderStateVisualizer::setModelDefinitionForAgents |
( |
| ) |
|
|
protectedvirtual |
Sets model definition for all the agents that this visualizer might be using. If model agents are not created, should create them. Should not call this directly. Called by initialize.
Implements makVrv::DtStateVisualizer.
| virtual void makVrv::DtCylinderStateVisualizer::setFixedAttached |
( |
DtUniqueID |
id, |
|
|
int |
vtx, |
|
|
double |
percentage |
|
) |
| |
|
protectedvirtual |
| virtual void makVrv::DtCylinderStateVisualizer::setArticulatedAttached |
( |
DtUniqueID |
id, |
|
|
int |
vtx, |
|
|
double |
percentage |
|
) |
| |
|
protectedvirtual |
| DtCylinderModelAgent* makVrv::DtCylinderStateVisualizer::myFixedCylinderModelAgent |
|
protected |
| DtVisibilityAdapter<DtCylinderModelAgent>* makVrv::DtCylinderStateVisualizer::myFixedVisibilityAdapter |
|
protected |
| DtArticulatingCylinderModelAgent* makVrv::DtCylinderStateVisualizer::myArticulatingCylinderModelAgent |
|
protected |
| DtVisibilityAdapter<DtArticulatingCylinderModelAgent>* makVrv::DtCylinderStateVisualizer::myArticulatingVisibilityAdapter |
|
protected |
| DtAttachableUpdaterAgent* makVrv::DtCylinderStateVisualizer::myAttachedUpdaterAgent |
|
protected |
| bool makVrv::DtCylinderStateVisualizer::myVertex0Attached |
|
protected |
| bool makVrv::DtCylinderStateVisualizer::myVertex1Attached |
|
protected |
The documentation for this class was generated from the following file: