VR-Forces 4.0.4 Class Documentation
Public Member Functions
makVrv::DtWindowEllipseInstance Class Reference

Interface for a DtWindowEllipseInstance An object that draws a 2D ellipse. More...

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

List of all members.

Public Member Functions

virtual ~DtWindowEllipseInstance ()
 DTOR.
virtual void setCenter (double x, double y)=0
 Set the center of the ellipse in normalized screen coordinates.
virtual void setDimensions (double xLength, double yLength)=0
 Set the dimensions of the ellipse (the lengths of its axes) in normalizes screen coordinates.
virtual void setFillPattern (unsigned int fillPattern)=0
 Set the ellipse's fill pattern.
virtual void setScale (double scale)=0
 Set the ellipse's scale.
virtual void setRotation (double rotation)=0
 Set the ellipse's rotation in radians clockwise.
virtual void setNumVertices (unsigned int numVertices)=0
 Set the number of vertices to use approximating the ellipse.
virtual void setColor (float r, float g, float b, float a)=0
 Set the ellipse's color.
virtual void setFill (bool fill)=0
 Set the ellipse filled or outlined.

Detailed Description

Interface for a DtWindowEllipseInstance An object that draws a 2D ellipse.


Constructor & Destructor Documentation

DTOR.


Member Function Documentation

virtual void makVrv::DtWindowEllipseInstance::setCenter ( double  x,
double  y 
) [pure virtual]

Set the center of the ellipse in normalized screen coordinates.

For example, setCenter(0.1, 0.5) sets the center to 10% horizontally from the left of the creen and 50% vertically from the bottom

Implemented in makVrv::DtOsgWindowEllipseInstance.

virtual void makVrv::DtWindowEllipseInstance::setDimensions ( double  xLength,
double  yLength 
) [pure virtual]

Set the dimensions of the ellipse (the lengths of its axes) in normalizes screen coordinates.

For example, setDimensions(0.3, 0.5) sets the ellipse to 30% of the screen size horizontally and 50% vertically.

Implemented in makVrv::DtOsgWindowEllipseInstance.

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

Set the ellipse's fill pattern.

Implemented in makVrv::DtOsgWindowEllipseInstance.

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

Set the ellipse's scale.

Implemented in makVrv::DtOsgWindowEllipseInstance.

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

Set the ellipse's rotation in radians clockwise.

Implemented in makVrv::DtOsgWindowEllipseInstance.

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

Set the number of vertices to use approximating the ellipse.

Implemented in makVrv::DtOsgWindowEllipseInstance.

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

Set the ellipse's color.

Implemented in makVrv::DtOsgWindowEllipseInstance.

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

Set the ellipse filled or outlined.

Implemented in makVrv::DtOsgWindowEllipseInstance.


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)