Public Member Functions |
| | DtTexturedOutlinedPolygon (DtOverlayRenderer &renderer, DtWidgetPicker &picker) |
| | CTOR.
|
| virtual | ~DtTexturedOutlinedPolygon () |
| | 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.
|
| | DtOutlinedPolygon (DtOverlayRenderer &renderer, DtWidgetPicker &picker) |
| | CTOR.
|
| virtual | ~DtOutlinedPolygon () |
| | DTOR.
|
| virtual void | setEventsEnabled (bool enabled, unsigned long long userData=0) |
| | Set whether the sprite has widget events.
|
| 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 void | set2DPositions (const std::vector< float > &vertices) |
| | Set the number of vertices and their positions.
|
| 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 | set3DDirectionAndLength (unsigned int index, float x, float y, float z, float l) |
| | Sets an optional 3D direction with a 2D length value for a vertex.
|
| virtual void | setVertexColor (unsigned int index, float r, float g, float b, float a) |
| | Set the color of a specific vertex.
|
| virtual void | getVertexColor (unsigned int index, float &r, float &g, float &b, float &a) |
| | Get the color of a specific vertex.
|
| virtual void | setColor (float r, float g, float b, float a) |
| | Set entire poly-line color.
|
| virtual void | getColor (float &r, float &g, float &b, float &a) const |
| | Get the poly-line color.
|
| void | setStippleParameters (unsigned int scale, unsigned short pattern) |
| | Set the entire poly-line stipple.
|
| virtual void | setStipple (unsigned int stipplePattern) |
| | Set the stipple pattern.
|
| virtual void | setOutlineWidth (float) |
| | Sets the width of the line segments that comprise the polygon.
|
| virtual void | setEventOutlineWidth (float) |
| | Sets the width of the event outline segments.
|
| virtual int | group () const |
| | Returns the group that the polygon is on (for Z-Ordering)
|
| virtual void | setGroup (int) |
| | Sets the group for Z-ordering.
|
| virtual | ~DtPolygon () |
Draw a polygonal line with a texture.