![]() |
VR-Forces 5.0.3 Developer's Guide
|
This class is a virtual class that all Extruded line models must implement.

Public Member Functions | |
| DtExtrudedLineModel (DtDe &de, DtUniqueID id) | |
| virtual | ~DtExtrudedLineModel () |
| virtual void | setUpExtent (float)=0 |
| virtual void | setDownExtent (float)=0 |
| virtual void | setLeftExtent (float)=0 |
| virtual void | setRightExtent (float)=0 |
| virtual void | setHeight (float)=0 |
| virtual void | setDimensions (float width, float height)=0 |
| virtual void | setScribeWidth (float)=0 |
| virtual void | setStipplePattern (unsigned int, int repeatFactor)=0 |
| virtual void | setSegmentStipplePattern (int seg, unsigned int pattern, int repeatFactor)=0 |
| virtual void | setLineWidth (float width)=0 |
| virtual void | setScribed (bool b)=0 |
| virtual void | setScribeColor (float r, float g, float b, float a)=0 |
| virtual void | setSegmentStartArrow (int, bool)=0 |
| virtual void | setSegmentEndArrow (int, bool)=0 |
| virtual void | setArrowSize (double)=0 |
| virtual void | setArrowStyle (int)=0 |
| virtual void | setSegmentColor (int, float r, float g, float b, float a)=0 |
| virtual void | setLineStyle (int)=0 |
| virtual void | setFixedWidthSizing (bool)=0 |
Public Member Functions inherited from makVrv::Dt3DLineModel | |
| Dt3DLineModel (DtDe &de, DtUniqueID id) | |
| virtual | ~Dt3DLineModel () |
| virtual void | setStopOnTerrainIntersection (bool enabled)=0 |
| virtual void | setOcclusionEnabled (bool enabled)=0 |
| virtual void | setPickable (bool pickable)=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 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 |
| 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 int | 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 (DtModelDefinition &defintion) |
| virtual void | setVisible (bool isVisible) |
| virtual bool | visible () const |
| DtUniqueID | parentSceneObjectID () const |
| virtual void | addedToSceneObjectAsProp (const DtUniqueID &sceneObj) |
| virtual void | addedToSceneObject (const DtUniqueID &sceneObj, int modelSet, int visualizerType) |
| virtual void | setElementId (DtUniqueID 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::DtExtrudedLineModel::DtExtrudedLineModel | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
Constructor.
|
virtual |
Destructor.
|
pure virtual |
@ Sets the values of the extents of the line. Extents of the line are different than the width or height in that in setting the width or height those are centered around the points. The extents work from the point and move in the direction of the extent in topographic space. For example, if you imagine a straight line, the up extent moves straight up from that line, the down extent straight down, left to the left and right to the right. As the line rotates and orients the extents orient and rotate with that line
Sets the height of the line ("above" the origin point)
Implemented in makVrv::DtOsgExtrudedLineModel.
|
pure virtual |
Sets the height of the line ("below" the origin point)
Implemented in makVrv::DtOsgExtrudedLineModel.
|
pure virtual |
Sets the width of the line ("left" the origin point). If width is set, this will be set to - half width.
Implemented in makVrv::DtOsgExtrudedLineModel.
|
pure virtual |
Sets the width of the line ("right" the origin point). If width is set, this will be set to + half width.
Implemented in makVrv::DtOsgExtrudedLineModel.
|
pure virtual |
Sets the height of the line ("up/down" the origin point). If width is set, will zero out width and only contain height or for the entire line.
Implemented in makVrv::DtOsgExtrudedLineModel.
|
pure virtual |
Sets the dimensions of the line.
Implemented in makVrv::DtOsgExtrudedLineModel.
|
pure virtual |
Sets the width of the scribe line.
Implemented in makVrv::DtOsgExtrudedLineModel.
|
pure virtual |
Sets the stipple pattern of the line.
Implements makVrv::DtLineModel.
Implemented in makVrv::DtOsgExtrudedLineModel.
|
pure virtual |
Set the line stipple pattern and repeat for a segment, according to the OpenGL line stippling specification.
Implemented in makVrv::DtOsgExtrudedLineModel.
|
pure virtual |
Sets the width of the line in pixel space, not world. Clears out any existing dimensional size.
Implemented in makVrv::DtOsgExtrudedLineModel.
|
pure virtual |
Sets the line to be scribed (default true)
Implemented in makVrv::DtOsgExtrudedLineModel.
|
pure virtual |
Sets the color of the scribe line. Once set it will always be different than the color of the main line.
Implemented in makVrv::DtOsgExtrudedLineModel.
Sets the arrow to be on/off at the start of the segment.
Implemented in makVrv::DtOsgExtrudedLineModel.
Sets the arrow to be on/off at the end of the segment. Start and end arrow set are equivalent.
Implemented in makVrv::DtOsgExtrudedLineModel.
|
pure virtual |
Sets the size of the arrow (in pixels)
Implemented in makVrv::DtOsgExtrudedLineModel.
|
pure virtual |
Sets the style of the arrow. Applies to all segments.
Implemented in makVrv::DtOsgExtrudedLineModel.
|
pure virtual |
Sets the color for the segment.
Implemented in makVrv::DtOsgExtrudedLineModel.
|
pure virtual |
Sets the style of line to use. See DtLineFacadeBase.h for styles.
Implemented in makVrv::DtOsgExtrudedLineModel.
|
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::DtOsgExtrudedLineModel.