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

This class is a virtual class that all Extruded polygon models must implement. More...

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

List of all members.

Public Types

enum  PolygonMode { TopAndBottom = 0, Top = 1, Bottom = 2 }

Public Member Functions

 DtExtrudedPolygonModel (DtDe &de, DtUniqueID id)
 Constructor.
 ~DtExtrudedPolygonModel ()
 Destructor.
virtual void setPolygonMode (int)=0
 Sets the display mode of the polygon.
virtual void setUpExtent (float)=0
 Sets the height of the polygon ("above" the origin point)
virtual void setDownExtent (float)=0
 Sets the height of the polygon ("below" the origin point)
virtual void setHeight (float)=0
 Sets the height of the polygon ("up/down" the origin point).
virtual void setDimensions (float w, float h)=0
 Sets the dimensions of the outline of the circle to have width and height.
virtual void setLineWidth (float width)=0
 Sets the width of the line in pixel space, not world.
virtual void setScribed (bool b)=0
 Sets the line to be scribed (default true)
virtual void setScribeColor (float r, float g, float b, float a)=0
 Sets the color of the scribe line.
virtual void setScribeOccluded (bool b)=0
 Sets the scribed line to be occluded by the terrain (default true)
virtual void setWidth (float)
 Override to no-op.

Detailed Description

This class is a virtual class that all Extruded polygon models must implement.


Member Enumeration Documentation

Enumerator:
TopAndBottom 
Top 
Bottom 

Constructor & Destructor Documentation

Constructor.

Destructor.


Member Function Documentation

virtual void makVrv::DtExtrudedPolygonModel::setPolygonMode ( int  ) [pure virtual]

Sets the display mode of the polygon.

Implemented in makVrv::DtOsgExtrudedCircleModel, and makVrv::DtOsgExtrudedPolygonModel.

virtual void makVrv::DtExtrudedPolygonModel::setUpExtent ( float  ) [pure virtual]

Sets the height of the polygon ("above" the origin point)

Implemented in makVrv::DtOsgExtrudedCircleModel, and makVrv::DtOsgExtrudedPolygonModel.

virtual void makVrv::DtExtrudedPolygonModel::setDownExtent ( float  ) [pure virtual]

Sets the height of the polygon ("below" the origin point)

Implemented in makVrv::DtOsgExtrudedCircleModel, and makVrv::DtOsgExtrudedPolygonModel.

virtual void makVrv::DtExtrudedPolygonModel::setHeight ( float  ) [pure virtual]

Sets the height of the polygon ("up/down" the origin point).

If width is set, will zero out width and only contain height or for the entire polygon

Implemented in makVrv::DtOsgExtrudedCircleModel, and makVrv::DtOsgExtrudedPolygonModel.

virtual void makVrv::DtExtrudedPolygonModel::setDimensions ( float  w,
float  h 
) [pure virtual]

Sets the dimensions of the outline of the circle to have width and height.

Implemented in makVrv::DtOsgExtrudedCircleModel, and makVrv::DtOsgExtrudedPolygonModel.

virtual void makVrv::DtExtrudedPolygonModel::setLineWidth ( float  width) [pure virtual]

Sets the width of the line in pixel space, not world.

Clears out any existing dimensional size

Implemented in makVrv::DtOsgExtrudedCircleModel, and makVrv::DtOsgExtrudedPolygonModel.

virtual void makVrv::DtExtrudedPolygonModel::setScribed ( bool  b) [pure virtual]

Sets the line to be scribed (default true)

Implemented in makVrv::DtOsgExtrudedCircleModel, and makVrv::DtOsgExtrudedPolygonModel.

virtual void makVrv::DtExtrudedPolygonModel::setScribeColor ( float  r,
float  g,
float  b,
float  a 
) [pure virtual]

Sets the color of the scribe line.

Once set it will always be different than the color of the main polygon

Implemented in makVrv::DtOsgExtrudedCircleModel, and makVrv::DtOsgExtrudedPolygonModel.

virtual void makVrv::DtExtrudedPolygonModel::setScribeOccluded ( bool  b) [pure virtual]

Sets the scribed line to be occluded by the terrain (default true)

Implemented in makVrv::DtOsgExtrudedCircleModel, and makVrv::DtOsgExtrudedPolygonModel.

virtual void makVrv::DtExtrudedPolygonModel::setWidth ( float  ) [virtual]

Override to no-op.

Implements makVrv::DtPolygonModel.


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)