![]() |
VR-Forces Developer's Guide
|
The model interface for remote graphics segmented lines.

Public Member Functions | |
| DtOverlaySegmentedLineModel (DtDe &de, DtUniqueID id) | |
| virtual | ~DtOverlaySegmentedLineModel () |
| virtual void | setEventsEnabled (bool)=0 |
| virtual void | setEventWidth (float width)=0 |
| virtual void | setLineStyle (int)=0 |
| virtual void | setFixedWidthSizing (bool)=0 |
| virtual void | setGroup (int)=0 |
| virtual void | setIsMeasurementTextRenderingEnabled (bool isDecorated)=0 |
| virtual bool | isMeasurementTextRenderingEnabled () const =0 |
| virtual void | setScreenIntervaledTextCollection (const DtOverlayScreenIntervaledTextInstance::DtScreenIntervaledTextCollection &)=0 |
| virtual void | setIsScreenIntervaledTextRenderingEnabled (bool)=0 |
| virtual void | setScreenIntervaledTextPrefix (const std::string &prefixString)=0 |
| virtual void | setScreenIntervaledTextPostfix (const std::string &postfixString)=0 |
| virtual void | setScreenIntervaledTextInterval (int intervalInScreenSpaceCM)=0 |
| virtual void | setScreenIntervaledTextFont (const std::string &fontFile, float fontPointSize)=0 |
| virtual void | setScreenIntervaledTextColor (float r, float g, float b, float a)=0 |
| virtual void | setScreenIntervaledTextBackgroundColor (float r, float g, float b, float a)=0 |
Public Member Functions inherited from makVrv::DtSegmentedLineModel | |
| DtSegmentedLineModel (DtDe &de, DtUniqueID id) | |
| virtual | ~DtSegmentedLineModel () |
| virtual void | setStyleSegments (const std::vector< double > &segmentPercentages)=0 |
| virtual void | setSegmentColor (unsigned int segmentIndex, float r, float g, float b, float a)=0 |
| virtual void | setSegmentLightningStyle (unsigned int segmentIndex, bool enableLightningStyle)=0 |
| virtual void | setSegmentStartArrow (unsigned int segmentIndex, bool enableArrow)=0 |
| virtual void | setSegmentEndArrow (unsigned int segmentIndex, bool enableArrow)=0 |
| virtual void | setSegmentStipplePattern (unsigned int segmentIndex, unsigned int stipplePattern, int repeatFactor=1)=0 |
| virtual void | setSegmentWidth (unsigned int segmentIndex, double width)=0 |
| virtual void | setSegmentStartColor (unsigned int segmentIndex, float r, float g, float b, float a)=0 |
| virtual void | setSegmentEndColor (unsigned int segmentIndex, float r, float g, float b, float a)=0 |
| virtual void | setArrowSize (double)=0 |
| virtual void | setArrowStyle (int)=0 |
Public Member Functions inherited from makVrv::DtLineModel | |
| DtLineModel (DtDe &de, DtUniqueID id) | |
| virtual | ~DtLineModel () |
| virtual void | setColor (float r, float g, float b, float a)=0 |
| virtual void | setWidth (float width)=0 |
| virtual void | setStipplePattern (unsigned int pattern, int repeatFactor=1)=0 |
| virtual const std::vector < DtVector > & | points () const =0 |
Public Member Functions inherited from makVrv::DtModel | |
| DtModel (DtDe &de, DtUniqueID id) | |
| virtual | ~DtModel () |
| DtModelInstance * | createModelInstance (const std::string &modelDefName, bool realize=true) |
| virtual void | setModelDefinition (const std::string &str) |
| virtual const std::string & | modelDefinitionName () |
| virtual void | saveModelToFile (const std::string &filename) |
| virtual const std::string & | className () const |
| virtual DtUniqueID | uniqueId () const |
| unsigned int | transformSize () const |
| virtual void | setPosition (int vtx, const DtVector &position) |
| virtual const DtVector & | position (int vtx=0) const |
| virtual void | removePosition (int vtx) |
| virtual void | setPositionOffset (const DtVector &positionOffset) |
| virtual const DtVector & | positionOffset () const |
| virtual void | setOrientation (int vtx, const DtTaitBryan &orientation) |
| virtual void | setPositionAndOrientation (int vtx, const DtVector &positionOffset, const DtTaitBryan &orientation) |
| virtual const DtTaitBryan & | orientation (int vtx=0) const |
| virtual void | setOrientationOffset (const DtTaitBryan &orientationOffset) |
| virtual const DtTaitBryan & | orientationOffset () const |
| virtual void | enableColorBlending (bool b) |
| virtual void | setBlendColor (float r, float g, float b, float a) |
| virtual void | getBlendColor (float &r, float &g, float &b, float &a) |
| virtual bool | colorBlendingEnabled () const |
| virtual void | enableLighting (bool l) |
| virtual DtModelSetId | modelSet () const |
| const DtVector & | boundingBoxExtents () const |
| void | getBoundingBoxExtents (double &x, double &y, double &z) const |
| const DtVector & | boundingBoxCenter () const |
| virtual void | getBoundingBoxCenter (double &x, double &y, double &z) const |
| virtual void | getBoundingBoxComponents (DtVector &minimum, DtVector &maximum) |
| void | setContributesToBound (bool trueOrFalse) |
| bool | contributesToBound () const |
| DtDe & | de () |
| virtual void | setModelInstance (DtModelInstance *modelInstance) |
| virtual void | promoteBackgroundModelInstance (const DtModelDefinition &defintion) |
| virtual void | setVisible (bool isVisible) |
| virtual bool | visible () const |
| DtUniqueID | sceneObjectId () const |
| virtual void | addedToSceneObjectAsProp (const DtUniqueID &sceneObj) |
| virtual void | addedToSceneObject (const DtUniqueID &sceneObj, DtModelSetId modelSet, int visualizerType) |
| virtual void | setElementId (DtElementID id) |
| virtual void | removedFromSceneObject () |
| virtual void | setIsSupportModel (bool isSupport)=0 |
| virtual void | setSolid (bool isSolid) |
| virtual bool | isProp () |
| virtual void | updateMinLastFrameDistance (float distance) |
| virtual void | resetLastFrameDistance () |
| virtual float | minLastFrameDistance () const |
| virtual DtModelInstance * | modelInstance () |
| virtual const DtModelInstance * | modelInstance () const |
| int | visualizerType () const |
| virtual bool | supportsMultithreadedLoad () |
| virtual void | backgroundLoad () |
| virtual void | foregroundLoad () |
| virtual bool | isActivelyBackgroundLoading () |
| virtual DtLoaderHandle * | getLoadQueueHandle () |
| makVrv::DtOverlaySegmentedLineModel::DtOverlaySegmentedLineModel | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
Constructor.
|
virtual |
Destructor.
|
pure virtual |
Enable or disable widget events, such as picking and mouse-over.
Implemented in makVrv::DtOsgOverlaySegmentedLineModel, and makVrv::DtOsgOverlayGreatCircleArcModel.
|
pure virtual |
Set the line width for handling events.
Implemented in makVrv::DtOsgOverlaySegmentedLineModel, and makVrv::DtOsgOverlayGreatCircleArcModel.
|
pure virtual |
Sets the style of line to use. See DtLineFacadeBase.h for styles.
Implemented in makVrv::DtOsgOverlayGreatCircleArcModel, and makVrv::DtOsgOverlaySegmentedLineModel.
|
pure virtual |
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.
Implemented in makVrv::DtOsgOverlayGreatCircleArcModel, and makVrv::DtOsgOverlaySegmentedLineModel.
|
pure virtual |
The higher the z order the "closer" to the eyepoint this element will be drawn. Use this variable to stack overlay objects in the particular order you want them displayed.
Implemented in makVrv::DtOsgOverlayGreatCircleArcModel, and makVrv::DtOsgOverlaySegmentedLineModel.
|
pure virtual |
Set/Get whether or not this segmented line will render measurement text. When measurement text rendering is enabled, informative labels appear between each vertex indicating the distance to the next vertex and the angle between vertices.
Implemented in makVrv::DtOsgOverlaySegmentedLineModel, and makVrv::DtOsgOverlayGreatCircleArcModel.
|
pure virtual |
Set/Get whether or not this segmented line will render measurement text. When measurement text rendering is enabled, informative labels appear between each vertex indicating the distance to the next vertex and the angle between vertices.
Implemented in makVrv::DtOsgOverlaySegmentedLineModel, and makVrv::DtOsgOverlayGreatCircleArcModel.
|
pure virtual |
For text rendering along the line.
Sets the collection of strings that will be rendered and wrapped around the perimeter of the polygon. The order they will be rendered in will depend on their order in the passed DtScreenIntervaledTextCollection.
Implemented in makVrv::DtOsgOverlaySegmentedLineModel, and makVrv::DtOsgOverlayGreatCircleArcModel.
|
pure virtual |
Whether or not to render perimeter wrapped text.
Implemented in makVrv::DtOsgOverlaySegmentedLineModel, and makVrv::DtOsgOverlayGreatCircleArcModel.
|
pure virtual |
Set the prefix string that will be applied to all screen intervaled text, if rendered.
Implemented in makVrv::DtOsgOverlaySegmentedLineModel, and makVrv::DtOsgOverlayGreatCircleArcModel.
|
pure virtual |
Set the postfix string that will be applied to all screen intervaled text, if rendered.
Implemented in makVrv::DtOsgOverlaySegmentedLineModel, and makVrv::DtOsgOverlayGreatCircleArcModel.
|
pure virtual |
Set the interval, in centimeters of screen space, at which the perimeter wrapped text will appear at. If the perimeter of the polygon does not exceed: minimumScreenSpacePerimeterRequired = # of perimeter wrapped text strings * interval in CM) then, the perimeter wrapped text is not rendered at all.
Implemented in makVrv::DtOsgOverlaySegmentedLineModel, and makVrv::DtOsgOverlayGreatCircleArcModel.
|
pure virtual |
Set the font that the perimeter wrapped text will use.
Implemented in makVrv::DtOsgOverlaySegmentedLineModel, and makVrv::DtOsgOverlayGreatCircleArcModel.
|
pure virtual |
Set the color that the perimeter wrapped text will use.
Implemented in makVrv::DtOsgOverlaySegmentedLineModel, and makVrv::DtOsgOverlayGreatCircleArcModel.
|
pure virtual |
Set the background color that the perimeter wrapped text will use.
Implemented in makVrv::DtOsgOverlaySegmentedLineModel, and makVrv::DtOsgOverlayGreatCircleArcModel.