24 class DtSegmentedLine;
25 class DtChannelManager;
41 virtual void setVertex(
unsigned int vertex,
double x,
double y );
44 virtual void removeVertex(
unsigned int vertex );
47 virtual void setColor(
float r,
float g,
float b,
float a);
50 virtual void setStipplePattern(
unsigned int stipplePattern);
53 virtual void setWidth(
unsigned int width);
57 virtual void setStyleSegments(
const std::vector<double>& segmentPercentages );
60 virtual void setSegmentColor(
unsigned int index,
float r,
float g,
float b,
float a);
64 virtual void setSegmentStartColor(
unsigned int index,
float r,
float g,
69 virtual void setSegmentEndColor(
unsigned int index,
float r,
float g,
73 virtual void setSegmentLightningStyle(
unsigned int index,
bool enableLightningStyle);
76 virtual void setSegmentStartArrow(
unsigned int index,
bool enableStartArrow);
79 virtual void setSegmentEndArrow(
unsigned int index,
bool enableEndArrow);
82 virtual void setSegmentStipplePattern(
unsigned int index,
unsigned int stippleScale,
unsigned int stipplePattern);
85 virtual void setSegmentWidth(
unsigned int index,
unsigned int width);
88 virtual void setVisible(
bool isVisible);
91 virtual void update();
98 virtual void createLine();
105 virtual void setGroup(
int groupId );
109 virtual void resizeSegmentAttributes(
int size );
112 virtual void updateSegments();
115 virtual void updateGeometry();
118 virtual void generateSegment(
int segmentIndex,
const osg::Vec2& startPoint,
119 const osg::Vec2& endPoint,
const osg::Vec2& segmentAxis,
120 const osg::Vec2& segmentPerpendicular );
134 int startColorRange[2];
135 int blendColorRange[2];
136 int endColorRange[2];
146 virtual void setLineSegmentColors(
unsigned int vtx,
153 virtual void setChannelOverlay( std::string displayName,
154 std::string windowName, std::string channelName );
Contains makVrv::DtWindowLineInstance class.
bool lightning
Definition: DtOsgWindowLineInstance.h:128
bool myGeometryDirty
Definition: DtOsgWindowLineInstance.h:181
Contains makVrv::DtRgbColorInterpolator class declaration.
osg::Vec2 myClipBoxTopRight
Definition: DtOsgWindowLineInstance.h:187
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
DtSegmentedLine * myLine
Definition: DtOsgWindowLineInstance.h:174
OSG Implementation of a DtWindowLineInstance.
Definition: DtOsgWindowLineInstance.h:31
bool colorRangesSetup
Definition: DtOsgWindowLineInstance.h:138
voidpf void uLong size
Definition: ioapi.h:39
unsigned int myStipplePattern
Definition: DtOsgWindowLineInstance.h:178
std::vector< osg::Vec2 > Points
Definition: DtOsgWindowLineInstance.h:164
unsigned int myGroup
Definition: DtOsgWindowLineInstance.h:179
bool myVisible
Definition: DtOsgWindowLineInstance.h:184
bool myUseChannelOverlay
Definition: DtOsgWindowLineInstance.h:183
Creator for DtOsgWindowLineInstance.
Definition: DtOsgWindowLineInstance.h:194
Points myVertices
Definition: DtOsgWindowLineInstance.h:170
Creator for DtWindowLineInstance, will throw if you create on it.
Definition: DtWindowLineInstance.h:114
osg::Vec2 myClipBoxBottomLeft
Definition: DtOsgWindowLineInstance.h:186
The abstract Channel Class.
Definition: DtChannel.h:30
osg::Vec4 myColor
Definition: DtOsgWindowLineInstance.h:176
int segmentStartVertex
Definition: DtOsgWindowLineInstance.h:132
SegmentAttributesVector mySegmentAttributes
Definition: DtOsgWindowLineInstance.h:172
unsigned int width
Definition: DtOsgWindowLineInstance.h:125
bool startArrow
Definition: DtOsgWindowLineInstance.h:126
unsigned int stipplePatternScale
Definition: DtOsgWindowLineInstance.h:130
float myWidth
Definition: DtOsgWindowLineInstance.h:177
DtRgbColorInterpolator interpolator
Definition: DtOsgWindowLineInstance.h:137
bool endArrow
Definition: DtOsgWindowLineInstance.h:127
Points myPoints
Definition: DtOsgWindowLineInstance.h:167
osg::Matrix myTransform
Definition: DtOsgWindowLineInstance.h:185
unsigned int stipplePattern
Definition: DtOsgWindowLineInstance.h:129
Base class for handling DtChannels.
Definition: DtChannelManager.h:32
Definition: DtRgbColorInterpolator.h:21
int segmentEndVertex
Definition: DtOsgWindowLineInstance.h:133
Interface for a DtWindowLineInstance - an attachable model instance that draws a 2D line...
Definition: DtWindowLineInstance.h:28
DtDe & myDe
Definition: DtOsgWindowLineInstance.h:161
Contains DLL export macros.
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
bool mySegmentsDirty
Definition: DtOsgWindowLineInstance.h:182
A convex polygon drawn using lines.
Definition: DtSegmentedLine.h:24
std::string myDisplayName
Definition: DtOsgWindowLineInstance.h:188
std::string myChannelName
Definition: DtOsgWindowLineInstance.h:190
std::vector< double > mySegmentPercentages
Definition: DtOsgWindowLineInstance.h:180
std::string myWindowName
Definition: DtOsgWindowLineInstance.h:189
std::vector< SegmentAttributes > SegmentAttributesVector
Definition: DtOsgWindowLineInstance.h:163
Attributes describing one segment in a segmented line.
Definition: DtOsgWindowLineInstance.h:123