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

Interface for a DtWindowTriangleFanInstance. DtWindowTriangleFan calls the methods in this class which an OSG instance implements. An object that draws a 2D Polygon in triangle Fan fashion.

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

Public Member Functions

virtual ~DtWindowTriangleFanInstance ()
 
virtual void setVertex (int i, double x, double y)=0
 
virtual void setFillPattern (unsigned int fillPattern)=0
 
virtual void setNumVertices (unsigned int numVertices)=0
 
virtual void setColor (float r, float g, float b, float a)=0
 
virtual void setTransform (DtMatrix3< double > transform)=0
 
virtual void update ()=0
 
virtual void setClipBox (DtVector2< double > bottomLeftLocation, DtVector2< double > topRightLocation)=0
 
virtual void setGroup (int groupId)=0
 
virtual void setChannelOverlay (const std::string &displayName, const std::string &windowName, const std::string &channelName)=0
 
- Public Member Functions inherited from makVrv::DtSetVisibilityInterface
virtual ~DtSetVisibilityInterface ()
 
virtual void setVisible (bool visible)=0
 

Constructor & Destructor Documentation

virtual makVrv::DtWindowTriangleFanInstance::~DtWindowTriangleFanInstance ( )
virtual

DTOR.

Member Function Documentation

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

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

Implemented in makVrv::DtOsgWindowTriangleFanInstance.

virtual void makVrv::DtWindowTriangleFanInstance::setFillPattern ( unsigned int  fillPattern)
pure virtual

Set the polygon's fill pattern.

Implemented in makVrv::DtOsgWindowTriangleFanInstance.

virtual void makVrv::DtWindowTriangleFanInstance::setNumVertices ( unsigned int  numVertices)
pure virtual

Set the number of vertices in the TriangleFan.

Implemented in makVrv::DtOsgWindowTriangleFanInstance.

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

Set the TriangleFan's color.

Implemented in makVrv::DtOsgWindowTriangleFanInstance.

virtual void makVrv::DtWindowTriangleFanInstance::setTransform ( DtMatrix3< double transform)
pure virtual

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

Implemented in makVrv::DtOsgWindowTriangleFanInstance.

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

Called on signal_postUpdate; time to update render data.

Implemented in makVrv::DtOsgWindowTriangleFanInstance.

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

Set this objects clip box bounds.

Implemented in makVrv::DtOsgWindowTriangleFanInstance.

virtual void makVrv::DtWindowTriangleFanInstance::setGroup ( int  groupId)
pure virtual

Set this object's group ID for z order. The higher the Z order the "closer" the element will be drawn to the eye point.

Implemented in makVrv::DtOsgWindowTriangleFanInstance.

virtual void makVrv::DtWindowTriangleFanInstance::setChannelOverlay ( const std::string &  displayName,
const std::string &  windowName,
const std::string &  channelName 
)
pure virtual

By default window objects are placed on the RemoteDisplayWorldOverlay, which is rendered on all channels that have the "showRemoteGraphics" channel keyword. If a user wishes to draw a specific window object on a specific channel, use this method. This does not work for remote displays.

Implemented in makVrv::DtOsgWindowTriangleFanInstance.


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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)