VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
makVrv::DtOsgWindowLine Class Reference

OSG implementation of 2D line. More...

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

Public Member Functions

 DtOsgWindowLine (DtDe &de, DtUniqueID &id)
virtual ~DtOsgWindowLine ()
- Public Member Functions inherited from makVrv::DtWindowLine
 DtWindowLine (DtDe &de, DtUniqueID id)
 CTOR.
virtual ~DtWindowLine ()
 DTOR.
virtual void setVertex (unsigned int vertex, double x, double y)
 Set (or add) the specified vertex at <x,y>
virtual void removeVertex (unsigned int vertex)
 Remove the specified vertex.
virtual void setStartVertex (double x, double y)
 Set the start vertex of the line in screen coordinates from 0...1 Here for backward compatibility.
virtual void setEndVertex (double x, double y)
 Set the end vertex of the line in screen coordinates from 0...1 Here for backward compatibility.
virtual void setVisible (bool isVisible)
 Set the line visible or invisible.
virtual void setWidth (unsigned int width)
 Set the entire line width.
virtual void setColor (float r, float g, float b, float a)
 Set the color of the line.
virtual void setStipplePattern (unsigned int pattern)
 Set a stipple pattern for the line.
virtual void setStyleSegments (const std::vector< double > &segmentPercentages)
 Set the percentage lengths of the segments; creates and removes segments as necessary.
virtual void setSegmentColor (unsigned int index, float r, float g, float b, float a)
 Set the color of a segment.
virtual void setSegmentLightningStyle (unsigned int index, bool enableLightningStyle)
 Set a segment's lightning style (whether or not it looks like a lighting bolt)
virtual void setSegmentStartArrow (unsigned int index, bool enableStartArrow)
 Turn on or off a segment's start arrow.
virtual void setSegmentEndArrow (unsigned int index, bool enableEndArrow)
 Turn on or off a segment's end arrow.
virtual void setSegmentStipplePattern (unsigned int index, unsigned int stipplePattern)
 Set the stipple pattern for a segment according to the OpenGL line stipple feature.
virtual void setSegmentWidth (unsigned int index, unsigned int width)
 Set the width of a segment in pixels.
virtual void setSegmentStartColor (unsigned int segmentIndex, float r, float g, float b, float a)
 Set the color of the firt vertex in a segment.
virtual void setSegmentEndColor (unsigned int segmentIndex, float r, float g, float b, float a)
 Set the color of the end vertex in a segment.
virtual void setInstance (DtWindowLineInstance *instance)
 Set or replace the line instance for the line Transfers ownership.
virtual DtWindowLineInstanceinstance ()
 Get the line instance for the line.
- Public Member Functions inherited from makVrv::DtWindowObject
 DtWindowObject (DtDe &de, DtUniqueID id)
 CTOR.
virtual ~DtWindowObject ()
 DTOR.

Additional Inherited Members

- Protected Member Functions inherited from makVrv::DtWindowLine
virtual void update ()
 Called on signal_postUpdate; time to update render data.
virtual void needsUpdate ()
 Called by all mutators to set up a postUpdate signal if not already connected.
- Protected Attributes inherited from makVrv::DtWindowLine
DtWindowLineInstancemyInstance
bool myConnectedToPostUpdate

Detailed Description

OSG implementation of 2D line.

Constructor & Destructor Documentation

makVrv::DtOsgWindowLine::DtOsgWindowLine ( DtDe de,
DtUniqueID id 
)
virtual makVrv::DtOsgWindowLine::~DtOsgWindowLine ( )
virtual

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

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)