VR-Forces 4.0.4 Class Documentation
Classes | Public Types | Public Member Functions
makVrv::DtWindowPolygonInstance Class Reference

Interface for a DtWindowPolygonInstance An object that draws a 2D Polygon. More...

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

List of all members.

Classes

struct  Vertex
 A 2D Vertex for the polygon. More...

Public Types

typedef std::vector< VertexVertexList

Public Member Functions

virtual ~DtWindowPolygonInstance ()
 DTOR.
virtual void setVertex (int i, double x, double y)=0
 Set the ith vertex of the polygon in screen coordinates from 0...1.
virtual void setFillPattern (unsigned int fillPattern)=0
 Set the polygon's fill pattern.
virtual void setFill (bool fill)=0
 Set the polygon filled or outlined.
virtual void setScale (double scale)=0
 Set the polygon's scale.
virtual void setRotation (double rotation)=0
 Set the polygon's rotation in radians clockwise.
virtual void setNumVertices (unsigned int numVertices)=0
 Set the number of vertices in the polygon.
virtual void setColor (float r, float g, float b, float a)=0
 Set the polygon's color.
virtual const VertexListvertices () const =0
 Get the polygon's vertices.

Detailed Description

Interface for a DtWindowPolygonInstance An object that draws a 2D Polygon.


Member Typedef Documentation


Constructor & Destructor Documentation

DTOR.


Member Function Documentation

virtual void makVrv::DtWindowPolygonInstance::setVertex ( int  i,
double  x,
double  y 
) [pure virtual]

Set the ith vertex of the polygon in screen coordinates from 0...1.

Implemented in makVrv::DtOsgWindowPolygonInstance.

virtual void makVrv::DtWindowPolygonInstance::setFillPattern ( unsigned int  fillPattern) [pure virtual]

Set the polygon's fill pattern.

Implemented in makVrv::DtOsgWindowPolygonInstance.

virtual void makVrv::DtWindowPolygonInstance::setFill ( bool  fill) [pure virtual]

Set the polygon filled or outlined.

Implemented in makVrv::DtOsgWindowPolygonInstance.

virtual void makVrv::DtWindowPolygonInstance::setScale ( double  scale) [pure virtual]

Set the polygon's scale.

Implemented in makVrv::DtOsgWindowPolygonInstance.

virtual void makVrv::DtWindowPolygonInstance::setRotation ( double  rotation) [pure virtual]

Set the polygon's rotation in radians clockwise.

Implemented in makVrv::DtOsgWindowPolygonInstance.

virtual void makVrv::DtWindowPolygonInstance::setNumVertices ( unsigned int  numVertices) [pure virtual]

Set the number of vertices in the polygon.

Implemented in makVrv::DtOsgWindowPolygonInstance.

virtual void makVrv::DtWindowPolygonInstance::setColor ( float  r,
float  g,
float  b,
float  a 
) [pure virtual]

Set the polygon's color.

Implemented in makVrv::DtOsgWindowPolygonInstance.

virtual const VertexList& makVrv::DtWindowPolygonInstance::vertices ( ) const [pure virtual]

Get the polygon's vertices.

Implemented in makVrv::DtOsgWindowPolygonInstance.


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)