VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::DtTexturedOutlinedPolygon Class Reference

Draw a polygonal line with a texture.

Inheritance diagram for makVrv::DtTexturedOutlinedPolygon:
Inheritance graph
[legend]

Public Member Functions

 DtTexturedOutlinedPolygon (DtOverlayRenderer &renderer, DtWidgetPicker &picker)
 
virtual ~DtTexturedOutlinedPolygon ()
 
virtual DtLineSegmentInterfacecreateAndInitNewSegment ()
 
virtual void setTexture (DtOverlayResourceProvider::NativeResourceHandle texture, float textureWidth)
 
virtual void setZoomFactor (float z)
 
virtual void setRotationOffset (float)
 
- Public Member Functions inherited from makVrv::DtOutlinedPolygon
 DtOutlinedPolygon (DtOverlayRenderer &renderer, DtWidgetPicker &picker)
 
virtual ~DtOutlinedPolygon ()
 
virtual void setEventsEnabled (bool enabled, unsigned long long userData=0)
 
bool eventsEnabled () const
 
virtual void setVertexCount (unsigned int vertexCount)
 
virtual unsigned int vertexCount () const
 
virtual void set2DPositions (const std::vector< float > &vertices)
 
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 set3DDirectionAndLength (unsigned int index, float x, float y, float z, float l)
 
virtual void setVertexColor (unsigned int index, float r, float g, float b, float a)
 
virtual void getVertexColor (unsigned int index, float &r, float &g, float &b, float &a)
 
virtual void setColor (float r, float g, float b, float a)
 
virtual void getColor (float &r, float &g, float &b, float &a) const
 
void setStippleParameters (unsigned int scale, unsigned short pattern)
 
virtual void setStipple (unsigned int stipplePattern)
 
virtual void setOutlineWidth (float)
 
virtual void setEventOutlineWidth (float)
 
virtual int group () const
 
virtual void setGroup (int)
 
- Public Member Functions inherited from makVrv::DtPolygon
virtual ~DtPolygon ()
 

Protected Attributes

DtOverlayResourceProvider::NativeResourceHandle myTexture
 
float myTextureWidth
 
float myZoomFactor
 
float myRotationOffset
 
- Protected Attributes inherited from makVrv::DtOutlinedPolygon
DtOverlayRenderermyRenderer
 
DtWidgetPickermyPicker
 
LineSegmentList myLineSegments
 
PickableSegmentList myPickableSegments
 
bool myEventsEnabled
 
unsigned long long myUserData
 
unsigned short myStipplePattern
 
float myWidth
 
float myEventWidth
 
int myGroup
 
bool myPickerDestroyed
 
bool myPickerConnected
 

Additional Inherited Members

- Protected Types inherited from makVrv::DtOutlinedPolygon
typedef std::vector
< DtLineSegmentInterface * > 
LineSegmentList
 
typedef std::vector
< DtPickableLine * > 
PickableSegmentList
 
- Protected Member Functions inherited from makVrv::DtOutlinedPolygon
virtual void slot_pickerDestroyed ()
 

Constructor & Destructor Documentation

makVrv::DtTexturedOutlinedPolygon::DtTexturedOutlinedPolygon ( DtOverlayRenderer renderer,
DtWidgetPicker picker 
)

CTOR.

virtual makVrv::DtTexturedOutlinedPolygon::~DtTexturedOutlinedPolygon ( )
virtual

DTOR.

Member Function Documentation

virtual DtLineSegmentInterface* makVrv::DtTexturedOutlinedPolygon::createAndInitNewSegment ( )
virtual

Creates and initializes a new segment.

Reimplemented from makVrv::DtOutlinedPolygon.

virtual void makVrv::DtTexturedOutlinedPolygon::setTexture ( DtOverlayResourceProvider::NativeResourceHandle  texture,
float  textureWidth 
)
virtual

Sets the texture to use with the line.

virtual void makVrv::DtTexturedOutlinedPolygon::setZoomFactor ( float  z)
virtual

Sets the factor by which to adjust distance.

virtual void makVrv::DtTexturedOutlinedPolygon::setRotationOffset ( float  )
virtual

Sets the offset to the rotation to apply to the segmented line. Use for observer rotation.

Member Data Documentation

DtOverlayResourceProvider::NativeResourceHandle makVrv::DtTexturedOutlinedPolygon::myTexture
protected
float makVrv::DtTexturedOutlinedPolygon::myTextureWidth
protected
float makVrv::DtTexturedOutlinedPolygon::myZoomFactor
protected
float makVrv::DtTexturedOutlinedPolygon::myRotationOffset
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)