VR-Forces 4.0.4 Class Documentation
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]

List of all members.

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.

Protected Attributes

DtWindowPolygonInstancemyInstance

Detailed Description

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


Constructor & Destructor Documentation

CTOR.

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.

Get the line instance for the line.


Member Data Documentation


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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)