|
| | DtTexturedLine (DtOverlayRenderer &renderer, DtWidgetPicker &picker) |
| | CTOR. More...
|
| |
| virtual | ~DtTexturedLine () |
| | DTOR. More...
|
| |
| virtual DtLineSegmentInterface * | createAndInitNewSegment () |
| | Creates and initializes a new segment. More...
|
| |
| virtual void | setTexture (DtOverlayResourceProvider::NativeResourceHandle texture, float textureWidth) |
| | Sets the texture to use with the line. More...
|
| |
| virtual void | setZoomFactor (float z) |
| | Sets the factor by which to adjust distance. More...
|
| |
| virtual void | setRotationOffset (float) |
| | Sets the offset to the rotation to apply to the segmented line. Use for observer rotation. More...
|
| |
| virtual void | setGroup (int) |
| | The higher the z order the "closer" to the eyepoint this element will be drawn. More...
|
| |
| | DtSegmentedLine (DtOverlayRenderer &renderer, DtWidgetPicker &picker) |
| | CTOR. More...
|
| |
| virtual | ~DtSegmentedLine () |
| | Constructor removed in favor of more generic constructor to take Overlay Renderer 09/04/2012. More...
|
| |
| virtual void | setEventsEnabled (bool enabled, unsigned long long userData=0) |
| | Set whether the sprite has widget events. More...
|
| |
| virtual bool | eventsEnabled () const |
| | Get whether events are already enabled. More...
|
| |
| virtual void | setVertexCount (unsigned int vertexCount) |
| | Set the number of vertices, set the number of vertices before setting their parameters (position, color etc). More...
|
| |
| virtual unsigned int | vertexCount () const |
| | Get the vertex count. More...
|
| |
| virtual unsigned int | segmentCount () const |
| | Number of segments available. More...
|
| |
| virtual void | set2DPosition (unsigned int vertexIndex, float x1, float y1) |
| | Set the vertex positions. More...
|
| |
| virtual void | get2DPosition (unsigned int vertexIndex, float &x, float &y) const |
| | Get the vertex position. More...
|
| |
| virtual void | set3DPosition (unsigned int vertexIndex, float x, float y, float z, float w) |
| | Set one vertex position. More...
|
| |
| virtual void | get3DPosition (unsigned int vertexIndex, float &x, float &y, float &z, float &w) const |
| | Get the vertex position. More...
|
| |
| virtual void | set3DDirection (unsigned int vertexIndex, float x, float y, float z) |
| | Set the normalized direction of the line in world space. More...
|
| |
| virtual void | get3DDirection (unsigned int vertexIndex, float &x, float &y, float &z) const |
| | Get the normalized direction of the vertex. More...
|
| |
| virtual void | setDirection2DLength (unsigned int vertexIndex, float length) |
| | Set the length of the line in 2D space. More...
|
| |
| virtual float | direction2DLength (unsigned int vertexIndex) const |
| | Get the length of the line in 2D space. More...
|
| |
| virtual void | setSegmentColor (unsigned int segment, float r, float g, float b, float a) |
| | Set the color of the segment (non-blending) More...
|
| |
| virtual void | setPointColor (unsigned int point, float r, float g, float b, float a) |
| | Set the color of the point (bleding) More...
|
| |
| virtual void | setStipplePattern (unsigned int segment, unsigned int pattern) |
| | Set the stipple pattern. More...
|
| |
| virtual void | setStipplePattern (unsigned int segment, unsigned int scale, unsigned int pattern) |
| |
| virtual void | setWidth (unsigned int segment, float w) |
| | Set the line width. More...
|
| |
| virtual void | setEventWidth (float) |
| | Sets the width of the event outline segments. More...
|
| |
Draw a line with a texture.