![]() |
VR-Forces 5.0.1 Developer's Guide
|
Draw a line with a texture.

Public Member Functions | |
| DtTexturedLine (DtOverlayRenderer &renderer, DtWidgetPicker &picker) | |
| virtual | ~DtTexturedLine () |
| virtual DtLineSegmentInterface * | createAndInitNewSegment () |
| virtual void | setTexture (DtOverlayResourceProvider::NativeResourceHandle texture, float textureWidth) |
| virtual void | setZoomFactor (float z) |
| virtual void | setRotationOffset (float) |
| virtual void | setGroup (int) |
Public Member Functions inherited from makVrv::DtSegmentedLine | |
| DtSegmentedLine (DtOverlayRenderer &renderer, DtWidgetPicker &picker) | |
| virtual | ~DtSegmentedLine () |
| virtual void | setEventsEnabled (bool enabled, unsigned long long userData=0) |
| virtual bool | eventsEnabled () const |
| virtual void | setVertexCount (unsigned int vertexCount) |
| virtual unsigned int | vertexCount () const |
| virtual unsigned int | segmentCount () const |
| virtual void | set2DPosition (unsigned int vertexIndex, float x1, float y1) |
| virtual void | get2DPosition (unsigned int vertexIndex, float &x, float &y) const |
| virtual void | set3DPosition (unsigned int vertexIndex, float x, float y, float z, float w) |
| virtual void | get3DPosition (unsigned int vertexIndex, float &x, float &y, float &z, float &w) const |
| virtual void | set3DDirection (unsigned int vertexIndex, float x, float y, float z) |
| virtual void | get3DDirection (unsigned int vertexIndex, float &x, float &y, float &z) const |
| virtual void | setDirection2DLength (unsigned int vertexIndex, float length) |
| virtual float | direction2DLength (unsigned int vertexIndex) const |
| virtual void | setSegmentColor (unsigned int segment, float r, float g, float b, float a) |
| virtual void | setPointColor (unsigned int point, float r, float g, float b, float a) |
| virtual void | setStipplePattern (unsigned int segment, unsigned int pattern) |
| virtual void | setStipplePattern (unsigned int segment, unsigned int scale, unsigned int pattern) |
| virtual void | setWidth (unsigned int segment, float w) |
| virtual void | setEventWidth (float) |
Protected Types | |
| typedef std::vector < DtTexturedLineSegment * > | TexturedLineSegmentList |
Protected Types inherited from makVrv::DtSegmentedLine | |
| typedef std::vector < DtLineSegmentInterface * > | LineSegmentList |
| typedef std::vector < DtPickableLine * > | PickableSegmentList |
Protected Member Functions | |
| virtual void | removeLineSegmentsUntilEndFrom (int segmentCount) |
| virtual void | setLineSegment (int, DtLineSegmentInterface *) |
Protected Member Functions inherited from makVrv::DtSegmentedLine | |
| virtual void | slot_pickerDestroyed () |
Protected Attributes | |
| TexturedLineSegmentList | myTexturedLineSegments |
| DtOverlayResourceProvider::NativeResourceHandle | myTexture |
| float | myTextureWidth |
| float | myZoomFactor |
| float | myRotationOffset |
Protected Attributes inherited from makVrv::DtSegmentedLine | |
| DtOverlayRenderer & | myRenderer |
| DtWidgetPicker & | myPicker |
| LineSegmentList | myLineSegments |
| PickableSegmentList | myPickableSegments |
| bool | myEventsEnabled |
| unsigned int | myVertexCount |
| unsigned long long | myUserData |
| float | myEventWidth |
| bool | myPickerDestroyed |
| bool | myPickerConnected |
| int | myGroup |
|
protected |
| makVrv::DtTexturedLine::DtTexturedLine | ( | DtOverlayRenderer & | renderer, |
| DtWidgetPicker & | picker | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Creates and initializes a new segment.
Reimplemented from makVrv::DtSegmentedLine.
|
virtual |
Sets the texture to use with the line.
|
virtual |
Sets the factor by which to adjust distance. The zoom factor will be used to determine how to repeat the textured pattern on the line.
|
virtual |
Sets the offset to the rotation to apply to the segmented line. Use for observer rotation.
|
virtual |
The higher the z order the "closer" to the eyepoint this element will be drawn. Use this variable to stack overlay objects in the particular order you want them displayed.
Reimplemented from makVrv::DtSegmentedLine.
|
protectedvirtual |
Removed segments from the line starting at segmentCount until the end is reached.
Reimplemented from makVrv::DtSegmentedLine.
|
protectedvirtual |
Sets the segment into the array. If array is smaller, increases size.
Reimplemented from makVrv::DtSegmentedLine.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |