|
| | DtOsgWindowLineGroupInstance (DtDe &de) |
| | CTOR. More...
|
| |
| virtual | ~DtOsgWindowLineGroupInstance () |
| | DTOR. More...
|
| |
| virtual void | setLineCount (unsigned int count) |
| | Set the number of Lines that this group will have Should be set before addLine is called. More...
|
| |
| virtual void | addLine (float lineWidth, unsigned int stipplePattern, float xVertex0, float yVertex0, float xVertex1, float yVertex1) |
| | Add an Line to the specified in params Calls createLineStruct. More...
|
| |
| virtual void | updateLine (unsigned int index, float lineWidth, unsigned int stipplePattern, float xVertex0, float yVertex0, float xVertex1, float yVertex1) |
| | Update the Line at in param index with in parma specs. More...
|
| |
| virtual void | setVisible (bool isVisible) |
| | Set all of the Lines to visible or invisible. More...
|
| |
| virtual void | setChannelOverlay (std::string displayName, std::string windowName, std::string channelName) |
| | By default window objects are placed on the RemoteDisplayWorldOverlay, which is rendered on all channels that have the "showRemoteGraphics" channel keyword. More...
|
| |
| | DtOsgWindowLineInstance (DtDe &de) |
| | CTOR. More...
|
| |
| virtual | ~DtOsgWindowLineInstance () |
| | DTOR. More...
|
| |
| virtual void | setVertex (unsigned int vertex, double x, double y) |
| | Set (or add) the specified vertex at <x,y> More...
|
| |
| virtual void | removeVertex (unsigned int vertex) |
| | Remove the specified vertex. More...
|
| |
| virtual void | setColor (float r, float g, float b, float a) |
| | Set the entire line color. More...
|
| |
| virtual void | setStipplePattern (unsigned int stipplePattern) |
| | Set the entire line stipple pattern. More...
|
| |
| virtual void | setWidth (unsigned int width) |
| | Set the entire line width. More...
|
| |
| virtual void | setStyleSegments (const std::vector< double > &segmentPercentages) |
| | Set the percentage lengths of the segments; creates and removes segments as necessary. More...
|
| |
| virtual void | setSegmentColor (unsigned int index, float r, float g, float b, float a) |
| | Set the color of a segment. More...
|
| |
| virtual void | setSegmentStartColor (unsigned int index, float r, float g, float b, float a) |
| | Set the color of the firt vertex in a segment. More...
|
| |
| virtual void | setSegmentEndColor (unsigned int index, float r, float g, float b, float a) |
| | Set the color of the second vertex in a segment. More...
|
| |
| virtual void | setSegmentLightningStyle (unsigned int index, bool enableLightningStyle) |
| | Set a segment's lightning style (whether or not it looks like a lighting bolt) More...
|
| |
| virtual void | setSegmentStartArrow (unsigned int index, bool enableStartArrow) |
| | Turn on or off a segment's start arrow. More...
|
| |
| virtual void | setSegmentEndArrow (unsigned int index, bool enableEndArrow) |
| | Turn on or off a segment's end arrow. More...
|
| |
| virtual void | setSegmentStipplePattern (unsigned int index, unsigned int stippleScale, unsigned int stipplePattern) |
| | Set the stipple pattern for a segment according to the OpenGL line stipple feature. More...
|
| |
| virtual void | setSegmentWidth (unsigned int index, unsigned int width) |
| | Set the width of a segment in pixels. More...
|
| |
| virtual void | update () |
| | Called on signal_postUpdate; time to update render data. More...
|
| |
| virtual void | setTransform (DtMatrix3< double > transform) |
| | Sets the line's transform matrix, used to update the position and clockwise rotation of the vertices. More...
|
| |
| virtual void | createLine () |
| | Creates the line model. More...
|
| |
| virtual void | setClipBox (DtVector2< double > bottomLeftLocation, DtVector2< double > topRightLocation) |
| | Set this objects clip box bounds. More...
|
| |
| virtual void | setGroup (int groupId) |
| | Set this object's group ID for z order. More...
|
| |
| virtual | ~DtWindowLineInstance () |
| | DTOR. More...
|
| |
| virtual | ~DtSetVisibilityInterface () |
| |
This class updates vertices for each line added via addLine.
They are stored in a vector of LineStructs which contain the verts and stipple pattern. You can update the lines after they have been added without deleting them using updateLine. This means that they do not flash on screen. Please call setLineCount before adding lines. updateLine will adjust the number of DtSegmentedLines this class has to match myLineCount.