VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
makVrv::DtOverlaySegmentedLineModel Class Referenceabstract

The model interface for remote graphics segmented lines.

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

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 ()
 
DtModelInstancecreateModelInstance (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
 
DtDede ()
 
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 DtModelInstancemodelInstance ()
 
virtual const DtModelInstancemodelInstance () const
 
int visualizerType () const
 
virtual bool supportsMultithreadedLoad ()
 
virtual void backgroundLoad ()
 
virtual void foregroundLoad ()
 
virtual bool isActivelyBackgroundLoading ()
 
virtual DtLoaderHandlegetLoadQueueHandle ()
 

Additional Inherited Members

- Public Attributes inherited from makVrv::DtModel
boost::signalslib::signal
< void(DtModel *)> 
signal_modelToBeDestroyed
 
boost::signalslib::signal
< void(DtModel *)> 
signal_modelChanged
 
boost::signalslib::signal
< bool(DtModel *, bool),
SlotReturnOR
signal_visibilityChangeRequested
 
boost::signalslib::signal
< void(DtModelInstance
*, DtModel *)> 
signal_modelInstanceCreated
 
boost::signalslib::signal
< void(DtModelInstance
*, DtModel *)> 
signal_modelInstanceToBeDestroyed
 
- Protected Types inherited from makVrv::DtModel
typedef std::vector
< ObjectTransform
TransformList
 
- Protected Member Functions inherited from makVrv::DtModel
virtual void addToScene (const DtUniqueID &sceneObjectId, DtModelSetId modelSet, int visualizerType)=0
 
virtual void addToSceneAsProp (const DtUniqueID &sceneObjectId)
 
virtual void removeFromScene ()=0
 
virtual void initializeModelInstance ()
 
void slot_modelInstanceChanged (DtModelInstance *instance)
 
virtual void waitAndClearLoadHandle ()
 
virtual void removedFromLoadQueue ()
 
virtual void setDoneBackgroundLoading ()
 
virtual void setActivelyBackgroundLoading ()
 
- Protected Attributes inherited from makVrv::DtModel
DtLoaderHandlemyInLoadQueueHandle
 
DtDemyDe
 
const DtUniqueID myUniqueId
 
DtUniqueID myElementId
 
DtUniqueID myParentSceneObjectID
 
bool myColorBlendingEnabled
 
DtModelInstancemyBackgroundModelInstance
 
float myMinLastFrameDistance
 
TransformList myTransforms
 
DtModelInstancemyModelInstance
 
DtModelSetId myModelSet
 
int myVisualizerType
 
bool myContributesToBound
 
bool myIsPropFlag
 
float myBlendColor [4]
 
bool myVisibleFlag
 
DtVector myPositionOffset
 
DtTaitBryan myOrientationOffset
 
std::string myModelDefinitionName
 
bool myRequireModelInstance = true
 
- Static Protected Attributes inherited from makVrv::DtModel
static bool theInittedState
 

Constructor & Destructor Documentation

makVrv::DtOverlaySegmentedLineModel::DtOverlaySegmentedLineModel ( DtDe de,
DtUniqueID  id 
)

Constructor.

virtual makVrv::DtOverlaySegmentedLineModel::~DtOverlaySegmentedLineModel ( )
virtual

Destructor.

Member Function Documentation

virtual void makVrv::DtOverlaySegmentedLineModel::setEventsEnabled ( bool  )
pure virtual

Enable or disable widget events, such as picking and mouse-over.

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

virtual void makVrv::DtOverlaySegmentedLineModel::setEventWidth ( float  width)
pure virtual

Set the line width for handling events.

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

virtual void makVrv::DtOverlaySegmentedLineModel::setLineStyle ( int  )
pure virtual

Sets the style of line to use. See DtLineFacadeBase.h for styles.

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

virtual void makVrv::DtOverlaySegmentedLineModel::setFixedWidthSizing ( bool  )
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.

virtual void makVrv::DtOverlaySegmentedLineModel::setGroup ( int  )
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.

virtual void makVrv::DtOverlaySegmentedLineModel::setIsMeasurementTextRenderingEnabled ( bool  isDecorated)
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.

virtual bool makVrv::DtOverlaySegmentedLineModel::isMeasurementTextRenderingEnabled ( ) const
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.

virtual void makVrv::DtOverlaySegmentedLineModel::setScreenIntervaledTextCollection ( const DtOverlayScreenIntervaledTextInstance::DtScreenIntervaledTextCollection )
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.

virtual void makVrv::DtOverlaySegmentedLineModel::setIsScreenIntervaledTextRenderingEnabled ( bool  )
pure virtual

Whether or not to render perimeter wrapped text.

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

virtual void makVrv::DtOverlaySegmentedLineModel::setScreenIntervaledTextPrefix ( const std::string &  prefixString)
pure virtual

Set the prefix string that will be applied to all screen intervaled text, if rendered.

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

virtual void makVrv::DtOverlaySegmentedLineModel::setScreenIntervaledTextPostfix ( const std::string &  postfixString)
pure virtual

Set the postfix string that will be applied to all screen intervaled text, if rendered.

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

virtual void makVrv::DtOverlaySegmentedLineModel::setScreenIntervaledTextInterval ( int  intervalInScreenSpaceCM)
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.

virtual void makVrv::DtOverlaySegmentedLineModel::setScreenIntervaledTextFont ( const std::string &  fontFile,
float  fontPointSize 
)
pure virtual

Set the font that the perimeter wrapped text will use.

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

virtual void makVrv::DtOverlaySegmentedLineModel::setScreenIntervaledTextColor ( float  r,
float  g,
float  b,
float  a 
)
pure virtual

Set the color that the perimeter wrapped text will use.

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

virtual void makVrv::DtOverlaySegmentedLineModel::setScreenIntervaledTextBackgroundColor ( float  r,
float  g,
float  b,
float  a 
)
pure virtual

Set the background color that the perimeter wrapped text will use.

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


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

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)