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