VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
makVrv::DtWindowPolygonInstance Class Referenceabstract

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

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

Public Member Functions

virtual ~DtWindowPolygonInstance ()
 DTOR. More...
 
virtual void setVertex (int i, double x, double y)=0
 Set the ith vertex of the polygon in screen coordinates from 0...1. More...
 
virtual void setFillPattern (unsigned int fillPattern)=0
 Set the polygon's fill pattern. More...
 
virtual void setFill (bool fill)=0
 Set the polygon filled or outlined. More...
 
virtual void setNumVertices (unsigned int numVertices)=0
 Set the number of vertices in the polygon. More...
 
virtual void setColor (float r, float g, float b, float a)=0
 Set the polygon's color. More...
 
virtual void setTransform (DtMatrix3< double > transform)=0
 Sets the polygons's transform matrix, used to update the position and clockwise rotation of the vertices. More...
 
virtual void setScale (double x, double y)=0
 Set / Get the scale of the polygon's x y components. More...
 
virtual void getCenterOfVertices (DtVector2< double > &center)=0
 Get the center of the vertices in a non osg variable. More...
 
virtual void update ()=0
 Called on signal_postUpdate; time to update render data. More...
 
virtual void setClipBox (DtVector2< double > bottomLeftLocation, DtVector2< double > topRightLocation)=0
 Set this objects clip box bounds. More...
 
- Public Member Functions inherited from makVrv::DtSetVisibilityInterface
virtual ~DtSetVisibilityInterface ()
 
virtual void setVisible (bool visible)=0
 Set the visibility. More...
 

Detailed Description

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

Constructor & Destructor Documentation

virtual makVrv::DtWindowPolygonInstance::~DtWindowPolygonInstance ( )
virtual

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::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 void makVrv::DtWindowPolygonInstance::setTransform ( DtMatrix3< double transform)
pure virtual

Sets the polygons's transform matrix, used to update the position and clockwise rotation of the vertices.

Implemented in makVrv::DtOsgWindowPolygonInstance.

virtual void makVrv::DtWindowPolygonInstance::setScale ( double  x,
double  y 
)
pure virtual

Set / Get the scale of the polygon's x y components.

Implemented in makVrv::DtOsgWindowPolygonInstance.

virtual void makVrv::DtWindowPolygonInstance::getCenterOfVertices ( DtVector2< double > &  center)
pure virtual

Get the center of the vertices in a non osg variable.

Implemented in makVrv::DtOsgWindowPolygonInstance.

virtual void makVrv::DtWindowPolygonInstance::update ( )
pure virtual

Called on signal_postUpdate; time to update render data.

Implemented in makVrv::DtOsgWindowPolygonInstance.

virtual void makVrv::DtWindowPolygonInstance::setClipBox ( DtVector2< double bottomLeftLocation,
DtVector2< double topRightLocation 
)
pure virtual

Set this objects clip box bounds.

Implemented in makVrv::DtOsgWindowPolygonInstance.


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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)