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

DtOsgOverlayLineModel extends the DtLineModel interface to include operations only appropriate for 2D lines.

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

Classes

struct  ChannelInstance
 

Public Member Functions

 DtOsgOverlaySegmentedLineModel (DtDe &de, DtUniqueID id)
 
 ~DtOsgOverlaySegmentedLineModel ()
 
virtual void setPosition (int vtx, const DtVector &position)
 
virtual void removePosition (int vtx)
 
virtual void setOrientation (int vtx, const DtTaitBryan &orientation)
 
virtual void setColor (float r, float g, float b, float a)
 
virtual void setWidth (float width)
 
virtual void setStipplePattern (unsigned int pattern, int repeatFactor)
 
virtual void setStyleSegments (const std::vector< double > &segmentPercentages)
 
virtual void setSegmentColor (unsigned int segmentIndex, float r, float g, float b, float a)
 
virtual void setSegmentLightningStyle (unsigned int segmentIndex, bool enableLightningStyle)
 
virtual void setSegmentStartArrow (unsigned int segmentIndex, bool enableArrow)
 
virtual const std::vector
< DtVector > & 
points () const
 
virtual void setGroup (int)
 
virtual void setSegmentEndArrow (unsigned int segmentIndex, bool enableArrow)
 
virtual void setSegmentStipplePattern (unsigned int segmentIndex, unsigned int stipplePattern, int repeatFactor)
 
virtual void setSegmentWidth (unsigned int segmentIndex, double width)
 
virtual void setArrowSize (double)
 
virtual void setLineStyle (int)
 
virtual void setArrowStyle (int)
 
virtual void setSegmentStartColor (unsigned int segmentIndex, float r, float g, float b, float a)
 
virtual void setSegmentEndColor (unsigned int segmentIndex, float r, float g, float b, float a)
 
virtual void setEventsEnabled (bool)
 
virtual void setEventWidth (float width)
 
virtual void update ()
 
virtual void needsUpdate ()
 
virtual void setFixedWidthSizing (bool)
 
virtual void setNorthUnit (DtSharedDisplayUnitsSettings::NorthUnits unit)
 
virtual
DtSharedDisplayUnitsSettings::NorthUnits 
northUnit () const
 
virtual void setPosition (const DtVector &position)
 
virtual DtVector position () const
 
virtual void addToScene (const DtUniqueID &sceneObjectId, DtModelSetId modelSet, int visualizerType)
 
virtual void removeFromScene ()
 
virtual void setModelDefinition (const std::string &str)
 
virtual void setVisible (bool isVisible)
 
virtual void setIsSupportModel (bool isSupport)
 
virtual void setIsMeasurementTextRenderingEnabled (bool isMeasurementTextRenderingEnabled)
 
virtual bool isMeasurementTextRenderingEnabled () const
 
virtual void setIsScreenIntervaledTextRenderingEnabled (bool)
 
virtual void setScreenIntervaledTextPrefix (const std::string &prefixString)
 
virtual void setScreenIntervaledTextPostfix (const std::string &postfixString)
 
virtual void setScreenIntervaledTextCollection (const DtOverlayScreenIntervaledTextInstance::DtScreenIntervaledTextCollection &)
 
virtual void setScreenIntervaledTextInterval (int intervalInScreenSpaceCM)
 
virtual void setScreenIntervaledTextFont (const std::string &fontFile, float fontPointSize)
 
virtual void setScreenIntervaledTextColor (float r, float g, float b, float a)
 
virtual void setScreenIntervaledTextBackgroundColor (float r, float g, float b, float a)
 
- Public Member Functions inherited from makVrv::DtOverlaySegmentedLineModel
 DtOverlaySegmentedLineModel (DtDe &de, DtUniqueID id)
 
virtual ~DtOverlaySegmentedLineModel ()
 
- Public Member Functions inherited from makVrv::DtSegmentedLineModel
 DtSegmentedLineModel (DtDe &de, DtUniqueID id)
 
virtual ~DtSegmentedLineModel ()
 
- Public Member Functions inherited from makVrv::DtLineModel
 DtLineModel (DtDe &de, DtUniqueID id)
 
virtual ~DtLineModel ()
 
- Public Member Functions inherited from makVrv::DtModel
 DtModel (DtDe &de, DtUniqueID id)
 
virtual ~DtModel ()
 
DtModelInstancecreateModelInstance (const std::string &modelDefName, bool realize=true)
 
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 const DtVectorposition (int vtx=0) const
 
virtual void setPositionOffset (const DtVector &positionOffset)
 
virtual const DtVectorpositionOffset () const
 
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 DtVectorboundingBoxExtents () const
 
void getBoundingBoxExtents (double &x, double &y, double &z) const
 
const DtVectorboundingBoxCenter () 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 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 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 ()
 

Protected Types

typedef std::map< DtChannel
*, ChannelInstance
ChannelInstances
 
- Protected Types inherited from makVrv::DtModel
typedef std::vector
< ObjectTransform
TransformList
 

Protected Member Functions

virtual void moveInstancesFromChannelSpecific ()
 
virtual void moveInstancesToChannelSpecific ()
 
virtual void slot_channelCreated (DtChannel *channel)
 
virtual void slot_channelDestroyed (DtChannelManager *channelManager, DtChannel *channel)
 
virtual void slot_channelConfigurationModified (const std::string &deName, const std::string &winName, const std::string &oldChannelName, const DtChannelConfiguration &config)
 
virtual void slot_displayUnitUnitChanged (const DtUnicode &displayUnitCollectionName, const DtUnicode &displayUnitName, unsigned int newUnit, unsigned int oldUnit)
 
virtual void slot_displayUnitDecimalsChanged (const DtUnicode &displayUnitCollectionName, const DtUnicode &displayUnitName, unsigned int newDecimals, unsigned int oldDecimals)
 
virtual void slot_suppressMagneticNorthNotationEnabledChanged (bool isEnabled)
 
virtual void setupInstanceWithCurrentValues (DtOverlaySegmentedLineModelInstance *, DtOverlayScreenIntervaledTextInstance *)
 
virtual void initializeSettings ()
 
- Protected Member Functions inherited from makVrv::DtModel
virtual void addToSceneAsProp (const DtUniqueID &sceneObjectId)
 
virtual void initializeModelInstance ()
 
void slot_modelInstanceChanged (DtModelInstance *instance)
 
virtual void waitAndClearLoadHandle ()
 
virtual void removedFromLoadQueue ()
 
virtual void setDoneBackgroundLoading ()
 
virtual void setActivelyBackgroundLoading ()
 

Protected Attributes

DtUniqueID mySceneObjectId
 
bool myEventsEnabled
 
float myEventWidth
 
bool myNeedsUpdate
 
bool myChannelSpecificMode
 
ChannelInstances myChannelInstances
 
DtSignalConnectionManager myDisplayUnitConnections
 
DtSharedDisplayUnitsSettings::NorthUnits myNorthToUse
 
DtVector myPosition
 
vrvSignalsLib::connection myModelInstanceChangedConnection
 
vrvSignalsLib::connection myChannelCreatedConnection
 
vrvSignalsLib::connection myChannelToBeDestroyedConnection
 
vrvSignalsLib::connection myChannelConfigurationModifiedConnection
 
vrvSignalsLib::connection myPostUpdateConnection
 
bool myIsScreenIntervaledTextRenderingEnabled
 
DtOverlayScreenIntervaledTextInstance::DtScreenIntervaledTextCollection myScreenIntervaledTextCollection
 
int myScreenIntervaledTextIntervalInScreenSpaceCM
 
std::string myScreenIntervaledTextPrefixString
 
std::string myScreenIntervaledTextPostfixString
 
std::string myScreenIntervaledTextFontFile
 
float myScreenIntervaledTextFontPointSize
 
float myScreenIntervaledTextFontColor [4]
 
float myScreenIntervaledTextBackgroundColor [4]
 
std::vector< DtVectormyPoints
 
double myArrowSize
 
vrvTacticalGraphicUtilities::ArrowStyle myArrowStyle
 
vrvTacticalGraphicUtilities::LineStyle myLineStyle
 
DtOverlaySegmentedLineModelInstance::SegmentAttributesVector mySegmentInformation
 
std::string myModelDefinition
 
float myColor [4]
 
unsigned int myStipplePattern
 
int myRepeatFactor
 
float myWidth
 
bool myFixedWidthSizing
 
int myGroup
 
bool myIsMeasurementTextRenderingEnabled
 
- 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
 

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
 
- Static Protected Attributes inherited from makVrv::DtModel
static bool theInittedState
 

Member Typedef Documentation

Constructor & Destructor Documentation

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

CTOR.

makVrv::DtOsgOverlaySegmentedLineModel::~DtOsgOverlaySegmentedLineModel ( )

DTOR.

Member Function Documentation

virtual void makVrv::DtOsgOverlaySegmentedLineModel::setPosition ( int  vtx,
const DtVector position 
)
virtual

Set the position of (or add) one vertex.

Reimplemented from makVrv::DtModel.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::removePosition ( int  vtx)
virtual

Remove a vertex.

Reimplemented from makVrv::DtModel.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::setOrientation ( int  vtx,
const DtTaitBryan &  orientation 
)
virtual

Sets the orientation of the line.

Reimplemented from makVrv::DtModel.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::setNorthUnit ( DtSharedDisplayUnitsSettings::NorthUnits  unit)
virtual

Set/Get the north unit to use for the line. Default value is True North.

virtual DtSharedDisplayUnitsSettings::NorthUnits makVrv::DtOsgOverlaySegmentedLineModel::northUnit ( ) const
virtual

Set/Get the north unit to use for the line. Default value is True North.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::setPosition ( const DtVector position)
virtual

Set/Get the global position of the line.

virtual DtVector makVrv::DtOsgOverlaySegmentedLineModel::position ( ) const
virtual

Set/Get the global position of the line.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::setColor ( float  r,
float  g,
float  b,
float  a 
)
virtual

Set the line color.

Implements makVrv::DtLineModel.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::setWidth ( float  width)
virtual

Set the line width.

Implements makVrv::DtLineModel.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::setStipplePattern ( unsigned int  pattern,
int  repeatFactor 
)
virtual

Set a stipple pattern for the line.

Implements makVrv::DtLineModel.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::setStyleSegments ( const std::vector< double > &  segmentPercentages)
virtual

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

Implements makVrv::DtSegmentedLineModel.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::setSegmentColor ( unsigned int  segmentIndex,
float  r,
float  g,
float  b,
float  a 
)
virtual

Set the color of a particular segment.

Implements makVrv::DtSegmentedLineModel.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::setSegmentLightningStyle ( unsigned int  segmentIndex,
bool  enableLightningStyle 
)
virtual

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

Implements makVrv::DtSegmentedLineModel.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::setSegmentStartArrow ( unsigned int  segmentIndex,
bool  enableArrow 
)
virtual

Turn on or off the arrow at a segment's start point.

Implements makVrv::DtSegmentedLineModel.

virtual const std::vector<DtVector>& makVrv::DtOsgOverlaySegmentedLineModel::points ( ) const
virtual

Returns the points associated with this line.

Implements makVrv::DtLineModel.

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

Implements makVrv::DtOverlaySegmentedLineModel.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::setSegmentEndArrow ( unsigned int  segmentIndex,
bool  enableArrow 
)
virtual

Turn on or off the arrow at a segment's end point.

Implements makVrv::DtSegmentedLineModel.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::setSegmentStipplePattern ( unsigned int  segmentIndex,
unsigned int  stipplePattern,
int  repeatFactor 
)
virtual

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

Implements makVrv::DtSegmentedLineModel.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::setSegmentWidth ( unsigned int  segmentIndex,
double  width 
)
virtual

Set the width of a line segment.

Implements makVrv::DtSegmentedLineModel.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::setArrowSize ( double  )
virtual

Sets the size of the arrow (in pixels)

Implements makVrv::DtSegmentedLineModel.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::setLineStyle ( int  )
virtual

Sets the line style (see DtTacticalGraphicUtilities.h for types)

Implements makVrv::DtOverlaySegmentedLineModel.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::setArrowStyle ( int  )
virtual

Sets the style of the arrow (see DtTacticalGraphicUtilities.h for types)

Implements makVrv::DtSegmentedLineModel.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::setSegmentStartColor ( unsigned int  segmentIndex,
float  r,
float  g,
float  b,
float  a 
)
virtual

Set the color of the firt vertex in a segment. This can be used for color blending between vertices.

Implements makVrv::DtSegmentedLineModel.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::setSegmentEndColor ( unsigned int  segmentIndex,
float  r,
float  g,
float  b,
float  a 
)
virtual

Set the color of the end vertex in a segment. This can be used for color blending between vertices.

Implements makVrv::DtSegmentedLineModel.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::setEventsEnabled ( bool  )
virtual

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

Implements makVrv::DtOverlaySegmentedLineModel.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::setEventWidth ( float  width)
virtual

Set the line width for handling events.

Implements makVrv::DtOverlaySegmentedLineModel.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::addToScene ( const DtUniqueID sceneObjectId,
DtModelSetId  modelSet,
int  visualizerType 
)
virtual

Attaches the model to the scene.

Implements makVrv::DtModel.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::removeFromScene ( )
virtual

Detaches the model from the scene – no-op.

Implements makVrv::DtModel.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::setModelDefinition ( const std::string &  str)
virtual

Sets the model definition on the model instance.

Reimplemented from makVrv::DtModel.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::setVisible ( bool  isVisible)
virtual

Sets if the line is visible.

Reimplemented from makVrv::DtModel.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::setIsSupportModel ( bool  isSupport)
virtual

Not applicable to overlay objects.

Implements makVrv::DtModel.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::update ( )
virtual

Connected to the renderer's postUpdate signal; tells the model instance to update.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::needsUpdate ( )
virtual

Called by all mutators to set up a postUpdate signal if not already connected.

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

Implements makVrv::DtOverlaySegmentedLineModel.

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

Implements makVrv::DtOverlaySegmentedLineModel.

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

Implements makVrv::DtOverlaySegmentedLineModel.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::setIsScreenIntervaledTextRenderingEnabled ( bool  )
virtual

For text rendering along the line.

Whether or not to render perimeter wrapped text.

Implements makVrv::DtOverlaySegmentedLineModel.

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

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

Implements makVrv::DtOverlaySegmentedLineModel.

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

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

Implements makVrv::DtOverlaySegmentedLineModel.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::setScreenIntervaledTextCollection ( const DtOverlayScreenIntervaledTextInstance::DtScreenIntervaledTextCollection )
virtual

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.

Implements makVrv::DtOverlaySegmentedLineModel.

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

Implements makVrv::DtOverlaySegmentedLineModel.

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

Set the font that the perimeter wrapped text will use.

Implements makVrv::DtOverlaySegmentedLineModel.

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

Set the color that the perimeter wrapped text will use.

Implements makVrv::DtOverlaySegmentedLineModel.

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

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

Implements makVrv::DtOverlaySegmentedLineModel.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::moveInstancesFromChannelSpecific ( )
protectedvirtual

Moves instances from channel specific groups back to model set/visualizer groups. This will mean destroying all channel specific instances and creating a single instance.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::moveInstancesToChannelSpecific ( )
protectedvirtual

Moves the single instance to channel specific instances. Will make connections for channels being added and removed. This code is to allow for fixed sized items on different channels.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::slot_channelCreated ( DtChannel channel)
protectedvirtual

Called when channel is created, if the model set is this model set then add a new model instance.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::slot_channelDestroyed ( DtChannelManager channelManager,
DtChannel channel 
)
protectedvirtual

If the channel destroyed contains an instance of this model, destroy that model instance.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::slot_channelConfigurationModified ( const std::string &  deName,
const std::string &  winName,
const std::string &  oldChannelName,
const DtChannelConfiguration config 
)
protectedvirtual

Check to see if model instances associated with this channel need to be created or destroyed.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::slot_displayUnitUnitChanged ( const DtUnicode displayUnitCollectionName,
const DtUnicode displayUnitName,
unsigned int  newUnit,
unsigned int  oldUnit 
)
protectedvirtual

Detect when the unit of measurement to use for a display unit has changed.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::slot_displayUnitDecimalsChanged ( const DtUnicode displayUnitCollectionName,
const DtUnicode displayUnitName,
unsigned int  newDecimals,
unsigned int  oldDecimals 
)
protectedvirtual

Detect when the number of decimals places to use for a display unit has changed.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::slot_suppressMagneticNorthNotationEnabledChanged ( bool  isEnabled)
protectedvirtual
virtual void makVrv::DtOsgOverlaySegmentedLineModel::setupInstanceWithCurrentValues ( DtOverlaySegmentedLineModelInstance ,
DtOverlayScreenIntervaledTextInstance  
)
protectedvirtual

Sets up the model instance with current values of this model.

virtual void makVrv::DtOsgOverlaySegmentedLineModel::initializeSettings ( )
protectedvirtual

Member Data Documentation

DtUniqueID makVrv::DtOsgOverlaySegmentedLineModel::mySceneObjectId
protected
bool makVrv::DtOsgOverlaySegmentedLineModel::myEventsEnabled
protected
float makVrv::DtOsgOverlaySegmentedLineModel::myEventWidth
protected
bool makVrv::DtOsgOverlaySegmentedLineModel::myNeedsUpdate
protected
bool makVrv::DtOsgOverlaySegmentedLineModel::myChannelSpecificMode
protected

Set to true if displaying model instances on a per channel basis. Default is false.

bool makVrv::DtOsgOverlaySegmentedLineModel::myIsScreenIntervaledTextRenderingEnabled
protected

These are channel specific variables for perimeter text rendering They are not part of the model set instance.

DtOverlayScreenIntervaledTextInstance::DtScreenIntervaledTextCollection makVrv::DtOsgOverlaySegmentedLineModel::myScreenIntervaledTextCollection
protected

These are channel specific variables for perimeter text rendering They are not part of the model set instance.

int makVrv::DtOsgOverlaySegmentedLineModel::myScreenIntervaledTextIntervalInScreenSpaceCM
protected

These are channel specific variables for perimeter text rendering They are not part of the model set instance.

std::string makVrv::DtOsgOverlaySegmentedLineModel::myScreenIntervaledTextPrefixString
protected

These are channel specific variables for perimeter text rendering They are not part of the model set instance.

std::string makVrv::DtOsgOverlaySegmentedLineModel::myScreenIntervaledTextPostfixString
protected

These are channel specific variables for perimeter text rendering They are not part of the model set instance.

std::string makVrv::DtOsgOverlaySegmentedLineModel::myScreenIntervaledTextFontFile
protected

These are channel specific variables for perimeter text rendering They are not part of the model set instance.

float makVrv::DtOsgOverlaySegmentedLineModel::myScreenIntervaledTextFontPointSize
protected

These are channel specific variables for perimeter text rendering They are not part of the model set instance.

float makVrv::DtOsgOverlaySegmentedLineModel::myScreenIntervaledTextFontColor[4]
protected

These are channel specific variables for perimeter text rendering They are not part of the model set instance.

float makVrv::DtOsgOverlaySegmentedLineModel::myScreenIntervaledTextBackgroundColor[4]
protected

These are channel specific variables for perimeter text rendering They are not part of the model set instance.

ChannelInstances makVrv::DtOsgOverlaySegmentedLineModel::myChannelInstances
protected
DtSignalConnectionManager makVrv::DtOsgOverlaySegmentedLineModel::myDisplayUnitConnections
protected
DtSharedDisplayUnitsSettings::NorthUnits makVrv::DtOsgOverlaySegmentedLineModel::myNorthToUse
protected
DtVector makVrv::DtOsgOverlaySegmentedLineModel::myPosition
protected
std::vector<DtVector> makVrv::DtOsgOverlaySegmentedLineModel::myPoints
protected

Variables that are saved in order to switch between channel instance and model set instance.

double makVrv::DtOsgOverlaySegmentedLineModel::myArrowSize
protected

Variables that are saved in order to switch between channel instance and model set instance.

vrvTacticalGraphicUtilities::ArrowStyle makVrv::DtOsgOverlaySegmentedLineModel::myArrowStyle
protected

Variables that are saved in order to switch between channel instance and model set instance.

vrvTacticalGraphicUtilities::LineStyle makVrv::DtOsgOverlaySegmentedLineModel::myLineStyle
protected

Variables that are saved in order to switch between channel instance and model set instance.

DtOverlaySegmentedLineModelInstance::SegmentAttributesVector makVrv::DtOsgOverlaySegmentedLineModel::mySegmentInformation
protected

Variables that are saved in order to switch between channel instance and model set instance.

std::string makVrv::DtOsgOverlaySegmentedLineModel::myModelDefinition
protected

Variables that are saved in order to switch between channel instance and model set instance.

float makVrv::DtOsgOverlaySegmentedLineModel::myColor[4]
protected

Variables that are saved in order to switch between channel instance and model set instance.

unsigned int makVrv::DtOsgOverlaySegmentedLineModel::myStipplePattern
protected

Variables that are saved in order to switch between channel instance and model set instance.

int makVrv::DtOsgOverlaySegmentedLineModel::myRepeatFactor
protected

Variables that are saved in order to switch between channel instance and model set instance.

float makVrv::DtOsgOverlaySegmentedLineModel::myWidth
protected

Variables that are saved in order to switch between channel instance and model set instance.

bool makVrv::DtOsgOverlaySegmentedLineModel::myFixedWidthSizing
protected

Variables that are saved in order to switch between channel instance and model set instance.

int makVrv::DtOsgOverlaySegmentedLineModel::myGroup
protected

Variables that are saved in order to switch between channel instance and model set instance.

bool makVrv::DtOsgOverlaySegmentedLineModel::myIsMeasurementTextRenderingEnabled
protected

Variables that are saved in order to switch between channel instance and model set instance.

vrvSignalsLib::connection makVrv::DtOsgOverlaySegmentedLineModel::myModelInstanceChangedConnection
protected
vrvSignalsLib::connection makVrv::DtOsgOverlaySegmentedLineModel::myChannelCreatedConnection
protected
vrvSignalsLib::connection makVrv::DtOsgOverlaySegmentedLineModel::myChannelToBeDestroyedConnection
protected
vrvSignalsLib::connection makVrv::DtOsgOverlaySegmentedLineModel::myChannelConfigurationModifiedConnection
protected
vrvSignalsLib::connection makVrv::DtOsgOverlaySegmentedLineModel::myPostUpdateConnection
protected

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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)