VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::DtWindowPolygon Class Reference

A model-like object that draws a 2D polygon. More...

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

Public Member Functions

 DtWindowPolygon (DtDe &de, DtUniqueID id)
 CTOR.
virtual ~DtWindowPolygon ()
 DTOR.
virtual void setVertex (int i, double x, double y)
 Set the ith vertex of the polygon.
virtual void setNumVertices (int numVertices)
 Set the number of vertices in the polygon.
virtual void setScale (double scale)
 Set the polygon's scale.
virtual void setRotation (double rotation)
 Set the polygon's clockwise rotation in radians.
virtual void setVisible (bool isVisible)
 Set the polygon visible or invisible.
virtual void setStipplePattern (unsigned int stipplePattern)
 Set the stipple pattern.
virtual void setColor (float r, float g, float b, float a)
 Set the polygon's color.
virtual void setInstance (DtWindowPolygonInstance *instance)
 Set or replace the line instance for the line Transfers ownership.
virtual void setFill (bool fill)
 Set the polygon to filled or outlined.
virtual DtWindowPolygonInstanceinstance ()
 Get the line instance for the line.
- Public Member Functions inherited from makVrv::DtWindowObject
 DtWindowObject (DtDe &de, DtUniqueID id)
 CTOR.
virtual ~DtWindowObject ()
 DTOR.

Protected Attributes

DtWindowPolygonInstancemyInstance
- Protected Attributes inherited from makVrv::DtWindowObject
DtDemyDe
DtUniqueID myUniqueId

Detailed Description

A model-like object that draws a 2D polygon.

Constructor & Destructor Documentation

makVrv::DtWindowPolygon::DtWindowPolygon ( DtDe de,
DtUniqueID  id 
)

CTOR.

virtual makVrv::DtWindowPolygon::~DtWindowPolygon ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtWindowPolygon::setVertex ( int  i,
double  x,
double  y 
)
virtual

Set the ith vertex of the polygon.

virtual void makVrv::DtWindowPolygon::setNumVertices ( int  numVertices)
virtual

Set the number of vertices in the polygon.

virtual void makVrv::DtWindowPolygon::setScale ( double  scale)
virtual

Set the polygon's scale.

virtual void makVrv::DtWindowPolygon::setRotation ( double  rotation)
virtual

Set the polygon's clockwise rotation in radians.

virtual void makVrv::DtWindowPolygon::setVisible ( bool  isVisible)
virtual

Set the polygon visible or invisible.

Implements makVrv::DtWindowObject.

virtual void makVrv::DtWindowPolygon::setStipplePattern ( unsigned int  stipplePattern)
virtual

Set the stipple pattern.

virtual void makVrv::DtWindowPolygon::setColor ( float  r,
float  g,
float  b,
float  a 
)
virtual

Set the polygon's color.

virtual void makVrv::DtWindowPolygon::setInstance ( DtWindowPolygonInstance instance)
virtual

Set or replace the line instance for the line Transfers ownership.

virtual void makVrv::DtWindowPolygon::setFill ( bool  fill)
virtual

Set the polygon to filled or outlined.

virtual DtWindowPolygonInstance* makVrv::DtWindowPolygon::instance ( )
virtual

Get the line instance for the line.

Member Data Documentation

DtWindowPolygonInstance* makVrv::DtWindowPolygon::myInstance
protected

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

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)