VR-Forces 4.0.4 Class Documentation
Public Member Functions
makVrv::DtSegmentedLineModel Class Reference

This class is a virtual class that all segmented line models must implement. More...

Inheritance diagram for makVrv::DtSegmentedLineModel:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DtSegmentedLineModel (DtDe &de, DtUniqueID id)
 Constructor.
 ~DtSegmentedLineModel ()
 Destructor.
virtual void setStyleSegments (const std::vector< double > &segmentPercentages)=0
 Set the style segments to percentages of the total line length The values in segmentPercentages must add up to 1.0.
virtual void setSegmentColor (unsigned int segmentIndex, float r, float g, float b, float a)=0
 Set the color of a particular segment.
virtual void setSegmentLightningStyle (unsigned int segmentIndex, bool enableLightningStyle)=0
 Turn on or off lightning bolt style for a particular segment.
virtual void setSegmentStartArrow (unsigned int segmentIndex, bool enableArrow)=0
 Turn on or off the arrow at a segment's start point Start Arrow is not currently supported for overlay forms of segmented lines or great circle arc forms.
virtual void setSegmentEndArrow (unsigned int segmentIndex, bool enableArrow)=0
 Turn on or off the arrow at a segment's end point End Arrow is not currently supported for overlay forms of segmented lines or great circle arc forms.
virtual void setSegmentStipplePattern (unsigned int segmentIndex, unsigned int stipplePattern, int repeatFactor=1)=0
 Set the line stipple pattern for a segment, according to the OpenGL line stippling specification.
virtual void setSegmentWidth (unsigned int segmentIndex, double width)=0
 Set the width of a line segment.
virtual void setSegmentStartColor (unsigned int segmentIndex, float r, float g, float b, float a)=0
 Set the color of the firt vertex in a segment.
virtual void setSegmentEndColor (unsigned int segmentIndex, float r, float g, float b, float a)=0
 Set the color of the end vertex in a segment.

Detailed Description

This class is a virtual class that all segmented line models must implement.


Constructor & Destructor Documentation

Constructor.

Destructor.


Member Function Documentation

virtual void makVrv::DtSegmentedLineModel::setStyleSegments ( const std::vector< double > &  segmentPercentages) [pure virtual]

Set the style segments to percentages of the total line length The values in segmentPercentages must add up to 1.0.

Implemented in makVrv::DtOsg3DSegmentedLineModel, makVrv::DtOsg3DGreatCircleArcModel, makVrv::DtOsgOverlayGreatCircleArcModel, and makVrv::DtOsgOverlaySegmentedLineModel.

virtual void makVrv::DtSegmentedLineModel::setSegmentColor ( unsigned int  segmentIndex,
float  r,
float  g,
float  b,
float  a 
) [pure virtual]
virtual void makVrv::DtSegmentedLineModel::setSegmentLightningStyle ( unsigned int  segmentIndex,
bool  enableLightningStyle 
) [pure virtual]

Turn on or off lightning bolt style for a particular segment.

Lightning style is not currently supported for overlay forms of segmented lines or great circle arc forms

Implemented in makVrv::DtOsgOverlayGreatCircleArcModel, makVrv::DtOsg3DSegmentedLineModel, makVrv::DtOsg3DGreatCircleArcModel, and makVrv::DtOsgOverlaySegmentedLineModel.

virtual void makVrv::DtSegmentedLineModel::setSegmentStartArrow ( unsigned int  segmentIndex,
bool  enableArrow 
) [pure virtual]

Turn on or off the arrow at a segment's start point Start Arrow is not currently supported for overlay forms of segmented lines or great circle arc forms.

Implemented in makVrv::DtOsgOverlayGreatCircleArcModel, makVrv::DtOsg3DSegmentedLineModel, makVrv::DtOsg3DGreatCircleArcModel, and makVrv::DtOsgOverlaySegmentedLineModel.

virtual void makVrv::DtSegmentedLineModel::setSegmentEndArrow ( unsigned int  segmentIndex,
bool  enableArrow 
) [pure virtual]

Turn on or off the arrow at a segment's end point End Arrow is not currently supported for overlay forms of segmented lines or great circle arc forms.

Implemented in makVrv::DtOsgOverlayGreatCircleArcModel, makVrv::DtOsg3DSegmentedLineModel, makVrv::DtOsg3DGreatCircleArcModel, and makVrv::DtOsgOverlaySegmentedLineModel.

virtual void makVrv::DtSegmentedLineModel::setSegmentStipplePattern ( unsigned int  segmentIndex,
unsigned int  stipplePattern,
int  repeatFactor = 1 
) [pure virtual]

Set the line stipple pattern for a segment, according to the OpenGL line stippling specification.

Repeat factor is not supported for overlay forms of segmented lines.

Implemented in makVrv::DtOsg3DSegmentedLineModel, makVrv::DtOsg3DGreatCircleArcModel, makVrv::DtOsgOverlaySegmentedLineModel, and makVrv::DtOsgOverlayGreatCircleArcModel.

virtual void makVrv::DtSegmentedLineModel::setSegmentWidth ( unsigned int  segmentIndex,
double  width 
) [pure virtual]
virtual void makVrv::DtSegmentedLineModel::setSegmentStartColor ( unsigned int  segmentIndex,
float  r,
float  g,
float  b,
float  a 
) [pure virtual]

Set the color of the firt vertex in a segment.

This can be used for color blending between vertices.

Implemented in makVrv::DtOsg3DSegmentedLineModel, makVrv::DtOsg3DGreatCircleArcModel, makVrv::DtOsgOverlaySegmentedLineModel, and makVrv::DtOsgOverlayGreatCircleArcModel.

virtual void makVrv::DtSegmentedLineModel::setSegmentEndColor ( unsigned int  segmentIndex,
float  r,
float  g,
float  b,
float  a 
) [pure virtual]

Set the color of the end vertex in a segment.

This can be used for color blending between vertices.

Implemented in makVrv::DtOsg3DSegmentedLineModel, makVrv::DtOsg3DGreatCircleArcModel, makVrv::DtOsgOverlaySegmentedLineModel, and makVrv::DtOsgOverlayGreatCircleArcModel.


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)