![]() |
VR-Forces 5.0.2 Developer's Guide
|
Dt2DEnvironmentalLineVisualizer display a line drawn as an overlay line in the scene without occlusion. If you wish to have a line that has a physical (meter) width rather than a pixel line width, use the Dt2DEnvironmentalVolmetricLineVisualizer class instead. All uses of physical line width are ignored in this class.

Static Public Member Functions | |
| static const DtStateVisualizer::TypeInfo & | theTypeInfo () |
Protected Member Functions | |
| virtual void | createModelAgents () override |
| virtual void | destroyModelAgents () override |
| virtual void | setModelDefinitionForAgents () override |
Protected Member Functions inherited from makVrv::DtEnvironmentalLineVisualizer | |
| virtual void | setSolid (bool) |
| virtual void | updateArrowFrequencyForSegment (int) |
| virtual void | setInitialValuesFromVisualizerDefinition () override |
| virtual void | connectToListenerSignals () override |
Protected Member Functions inherited from makVrv::DtSceneObjectVisualizer | |
| virtual DtSceneObjectAgent * | createObjectAgent () |
Protected Member Functions inherited from makVrv::DtStateVisualizer | |
| virtual void | makeVisible () |
| virtual bool | isVisible () const |
| template<typename T , typename C > | |
| void | connectAndUpdate (boost::signalslib::signal< void(T)> &sig, void(C::*fp)(T), T val) |
Additional Inherited Members | |
Public Types inherited from makVrv::DtStateVisualizer | |
| enum | Type { AllVisualizerTypes = 0, EntityVisualizerType = 1, EnvironmentalVisualizerType, InteractionVisualizerType, AggregateVisualizerType, IntervisibilityVisualizerType, TacticalSmokeVisualizerType, UserType = 10000 } |
Public Attributes inherited from makVrv::DtStateVisualizer | |
| boost::signalslib::signal < void(DtStateVisualizer *, DtStateVisualizer *, DtStateVisualizer *)> | signal_reparented |
Protected Types inherited from makVrv::DtStateVisualizer | |
| typedef std::vector < DtVisualizerShowHideContext::VisualizerShowHideContext > | ShowHideContextVector |
| makVrv::Dt2DEnvironmentalLineVisualizer::Dt2DEnvironmentalLineVisualizer | ( | DtBaseConnection & | simulation, |
| DtStateListener & | listener, | ||
| int | modelSet | ||
| ) |
Constructor.
| makVrv::Dt2DEnvironmentalLineVisualizer::Dt2DEnvironmentalLineVisualizer | ( | DtBaseConnection & | simulation, |
| DtStateListener & | listener, | ||
| DtSceneObjectAgent * | sceneObject, | ||
| int | modelSet | ||
| ) |
CTOR.
|
delete |
not allowed - default constructor
|
delete |
not allowed - copy constructor
|
virtual |
Destructor.
|
delete |
not allowed = equals operator
|
virtual |
This instance's type info.
Implements makVrv::DtStateVisualizer.
Reimplemented in makVrv::Dt2DAirCorridorLineVisualizer.
|
static |
This class's type info.
|
overridevirtual |
For those lines that support it, whether or not the lines sizes when zooming to pixel space (fixed width) or to the database (non-fixed width). Default is fixed width. If changing modes, be sure to change the arrow size.
Reimplemented from makVrv::DtEnvironmentalLineVisualizer.
|
overridevirtual |
Sets the width of the outside line. Default is 2. The pixel line width is the line in osg pixel space. This is different than physicalLineWidth which sets the width of the line in database space. If value is 0 will use default pixel line width.
Reimplemented from makVrv::DtEnvironmentalLineVisualizer.
Reimplemented in makVrv::Dt2DAirCorridorLineVisualizer.
|
overridevirtual |
Update the colors on the model.
Implements makVrv::DtEnvironmentalLineVisualizer.
Reimplemented in makVrv::Dt2DAirCorridorLineVisualizer.
|
overridevirtual |
Sets the style of th line via the agent.
Reimplemented from makVrv::DtEnvironmentalLineVisualizer.
|
overridevirtual |
Whether or not the line can be pickable.
Reimplemented from makVrv::DtStateVisualizer.
Reimplemented in makVrv::Dt2DAirCorridorLineVisualizer.
|
overridevirtual |
Sets the pattern for the line portion of the line.
Reimplemented from makVrv::DtEnvironmentalLineVisualizer.
Reimplemented in makVrv::Dt2DAirCorridorLineVisualizer.
|
overridevirtual |
ArrowsSets the size of the arrow. In 3D this is meters, in 2D this is pixels.
Reimplemented from makVrv::DtEnvironmentalLineVisualizer.
Reimplemented in makVrv::Dt2DAirCorridorLineVisualizer.
|
overridevirtual |
Sets the style of arrows for the line.
Reimplemented from makVrv::DtEnvironmentalLineVisualizer.
Reimplemented in makVrv::Dt2DAirCorridorLineVisualizer.
|
overridevirtual |
Sets arrow at end of segment.
Implements makVrv::DtEnvironmentalLineVisualizer.
Reimplemented in makVrv::Dt2DAirCorridorLineVisualizer.
|
overridevirtual |
Sets arrow at end of segment.
Implements makVrv::DtEnvironmentalLineVisualizer.
Reimplemented in makVrv::Dt2DAirCorridorLineVisualizer.
|
overrideprotectedvirtual |
Creates the model agents associated with the line.
Reimplemented from makVrv::DtSceneObjectVisualizer.
Reimplemented in makVrv::Dt2DAirCorridorLineVisualizer.
|
overrideprotectedvirtual |
Destroys any model agents currently created.
Reimplemented from makVrv::DtSceneObjectVisualizer.
Reimplemented in makVrv::Dt2DAirCorridorLineVisualizer.
|
overrideprotectedvirtual |
Sets model definitions for agents.
Reimplemented from makVrv::DtSceneObjectVisualizer.
Reimplemented in makVrv::Dt2DAirCorridorLineVisualizer.
|
protected |