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

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

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

Public Member Functions

virtual ~DtWindowEllipseInstance ()
 DTOR. More...
 
virtual void setCenter (double x, double y)=0
 Set the center of the ellipse in normalized screen coordinates. More...
 
virtual void setDimensions (double xLength, double yLength)=0
 Set the dimensions of the ellipse (the lengths of its axes) in normalizes screen coordinates. More...
 
virtual void setFillPattern (unsigned int fillPattern)=0
 Set the ellipse's fill pattern. More...
 
virtual void setNumVertices (unsigned int numVertices)=0
 Set the number of vertices to use approximating the ellipse. More...
 
virtual void setColor (float r, float g, float b, float a)=0
 Set the ellipse's color. More...
 
virtual void setFill (bool fill)=0
 Set the ellipse filled or outlined. More...
 
virtual void setTransform (DtMatrix3< double > transform)=0
 Sets the ellipse's transform matrix, used to update the position, clockwise rotation, and scale of the vertices. 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...
 
virtual void setGroup (int groupId)=0
 Set this object's group ID for z order. More...
 
virtual void setChannelOverlay (std::string displayName, std::string windowName, std::string channelName)=0
 By default window objects are placed on the RemoteDisplayWorldOverlay, which is rendered on all channels that have the "showRemoteGraphics" channel keyword. More...
 
virtual void setInnerDimensions (double xLength, double yLength)=0
 Set the inner dimensions of this ellipse, if this is set the ellipse shall be rendered hollow. More...
 
virtual void setStartEndAngles (double startAngle, double endAngle)=0
 Allows for drawing of subsections of an ellipse. More...
 
virtual void setLineWidth (float lineWidth)=0
 Set line width if this ellipse is outlined. 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 DtWindowEllipseInstance An object that draws a 2D ellipse.

Constructor & Destructor Documentation

virtual makVrv::DtWindowEllipseInstance::~DtWindowEllipseInstance ( )
virtual

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::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.

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

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

Implemented in makVrv::DtOsgWindowEllipseInstance.

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

Called on signal_postUpdate; time to update render data.

Implemented in makVrv::DtOsgWindowEllipseInstance.

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

Set this objects clip box bounds.

Implemented in makVrv::DtOsgWindowEllipseInstance.

virtual void makVrv::DtWindowEllipseInstance::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::DtOsgWindowEllipseInstance.

virtual void makVrv::DtWindowEllipseInstance::setChannelOverlay ( std::string  displayName,
std::string  windowName,
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::DtOsgWindowEllipseGroupInstance, and makVrv::DtOsgWindowEllipseInstance.

virtual void makVrv::DtWindowEllipseInstance::setInnerDimensions ( double  xLength,
double  yLength 
)
pure virtual

Set the inner dimensions of this ellipse, if this is set the ellipse shall be rendered hollow.

Implemented in makVrv::DtOsgWindowEllipseInstance.

virtual void makVrv::DtWindowEllipseInstance::setStartEndAngles ( double  startAngle,
double  endAngle 
)
pure virtual

Allows for drawing of subsections of an ellipse.

Implemented in makVrv::DtOsgWindowEllipseInstance.

virtual void makVrv::DtWindowEllipseInstance::setLineWidth ( float  lineWidth)
pure virtual

Set line width if this ellipse is outlined.

Implemented in makVrv::DtOsgWindowEllipseInstance.


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

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)