VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrf::Dt3DEllipseFacade Class Reference

Contains Dt3DEllipseFacadeclass. Facade for a 3D (overlay). This class will not clamp by default ellipse.

Inheritance diagram for makVrf::Dt3DEllipseFacade:
Inheritance graph
[legend]

Public Member Functions

 Dt3DEllipseFacade (makVrv::DtAgentManagerInterface &, makVrv::DtSceneObjectAgent *agent, makVrv::DtElementID id, int modelSet)
 
 Dt3DEllipseFacade (makVrv::DtAgentManagerInterface &, int modelSet, makVrv::DtElementID id, bool distribute=false)
 
virtual ~Dt3DEllipseFacade ()
 
virtual void setModelDefinition (const std::string &)
 
virtual void setPosition (int index, const DtVector &v)
 
virtual void setFillPattern (const std::vector< unsigned int > &)
 
virtual void setStipplePattern (int)
 
virtual void setLineWidth (int)
 
virtual void setXRadius (double)
 
virtual void setYRadius (double)
 
virtual void setDimensions (double, double)
 
virtual void updateColors ()
 
virtual void setFill (bool)
 
virtual void setOutsideColor (float r, float g, float b, float a)
 
virtual void setSelectedOutsideColor (float r, float g, float b, float a)
 
virtual void setPickable (bool)
 
virtual void setVisible (bool)
 
virtual void setScribeWidth (float width)
 
int scribeWidth () const
 
virtual void setScribed (bool)
 
virtual void setScribeColor (float r, float g, float b, float a)
 
virtual void setSelectedScribeColor (float r, float g, float b, float a)
 
virtual void setLineHeight (float)
 
virtual void setSolid (bool b)
 
virtual void setScribeAllPolygons (bool)
 
makVrv::DtExtrudedEllipseModelAgent * ellipseModelAgent () const
 
virtual void setUpExtent (float)
 
virtual float upExtent () const
 
virtual void setDownExtent (float)
 
virtual float downExtent () const
 
virtual void setLeftExtent (float)
 
virtual float leftExtent () const
 
virtual void setRightExtent (float)
 
virtual float rightExtent () const
 
- Public Member Functions inherited from makVrf::DtEllipseFacadeBase
 DtEllipseFacadeBase (makVrv::DtAgentManagerInterface &, makVrv::DtSceneObjectAgent *agent, makVrv::DtElementID id, int modelSet)
 
 DtEllipseFacadeBase (makVrv::DtAgentManagerInterface &, int modelSet, makVrv::DtElementID id, bool distribute=false)
 
virtual ~DtEllipseFacadeBase ()
 
virtual void setColor (float r, float g, float b, float a)
 
virtual void setInsideColor (float r, float g, float b, float a)
 
virtual void setSelectedInsideColor (float r, float g, float b, float a)
 
virtual void setPoints (const std::vector< DtVector > &)
 
virtual void setOrigin (const DtVector &)
 
virtual void setSelected (bool)
 
virtual bool selected ()
 
virtual makVrv::DtUniqueID uniqueId () const
 
virtual makVrv::DtElementID elementId () const
 
virtual int modelSet () const
 
virtual void stopClamping ()
 
makVrv::DtSceneObjectAgent * sceneObjectAgent () const
 

Protected Member Functions

void createEllipseAgent ()
 

Protected Attributes

makVrv::DtExtrudedEllipseModelAgent * myEllipseModelAgent
 
bool myFill
 
float myLineHeight
 
float myUpExtent
 
float myDownExtent
 
float myRightExtent
 
float myLeftExtent
 
bool myScribeColorSet
 
float myScribeWidth
 
bool mySelectedOutsideColorSet
 
float myScribeColor [4]
 
float mySelectedScribeColor [4]
 
- Protected Attributes inherited from makVrf::DtEllipseFacadeBase
makVrv::DtSceneObjectAgent * mySceneObjectAgent
 
makVrv::DtAgentManagerInterfacemyAgentManagerInterface
 
bool myOwnsSceneObjectAgent
 
float myInsideColor [4]
 
float myOutsideColor [4]
 
float mySelectedOutsideColor [4]
 
float mySelectedInsideColor [4]
 
bool mySelectedInsideColorSet
 
int myLineWidth
 
int myModelSet
 
int myNumPoints
 
double myXRadius
 
double myYRadius
 
makVrv::DtElementID myElementId
 
bool myDynamicOrigin
 
bool mySelected
 

Constructor & Destructor Documentation

makVrf::Dt3DEllipseFacade::Dt3DEllipseFacade ( makVrv::DtAgentManagerInterface ,
makVrv::DtSceneObjectAgent *  agent,
makVrv::DtElementID  id,
int  modelSet 
)

Constructor that will take an existing scene object agent.

makVrf::Dt3DEllipseFacade::Dt3DEllipseFacade ( makVrv::DtAgentManagerInterface ,
int  modelSet,
makVrv::DtElementID  id,
bool  distribute = false 
)

Will create a new scene object agent for the given model set and element id.

virtual makVrf::Dt3DEllipseFacade::~Dt3DEllipseFacade ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrf::Dt3DEllipseFacade::setModelDefinition ( const std::string &  )
virtual

Sets the model definition for the model.

Implements makVrf::DtEllipseFacadeBase.

virtual void makVrf::Dt3DEllipseFacade::setPosition ( int  index,
const DtVector v 
)
virtual

Sets database position in updater (if created) or model agent.

Reimplemented from makVrf::DtEllipseFacadeBase.

virtual void makVrf::Dt3DEllipseFacade::setFillPattern ( const std::vector< unsigned int > &  )
virtual

Unimplemented as ellipses to not currently support fill patterns.

Implements makVrf::DtEllipseFacadeBase.

virtual void makVrf::Dt3DEllipseFacade::setStipplePattern ( int  )
virtual

Unimplemented as ellipses do not currently support stipple

patterns

Implements makVrf::DtEllipseFacadeBase.

virtual void makVrf::Dt3DEllipseFacade::setLineWidth ( int  )
virtual

Sets the width of the outside line.

Implements makVrf::DtEllipseFacadeBase.

virtual void makVrf::Dt3DEllipseFacade::setXRadius ( double  )
virtual

Sets the X Radius of the llipse.

Reimplemented from makVrf::DtEllipseFacadeBase.

virtual void makVrf::Dt3DEllipseFacade::setYRadius ( double  )
virtual

Sets the Y Radius of the ellipse.

Reimplemented from makVrf::DtEllipseFacadeBase.

virtual void makVrf::Dt3DEllipseFacade::setDimensions ( double  ,
double   
)
virtual

Sets the dimensions of the ellipse.

Reimplemented from makVrf::DtEllipseFacadeBase.

virtual void makVrf::Dt3DEllipseFacade::updateColors ( )
virtual

Send the current colors down to the model.

Implements makVrf::DtEllipseFacadeBase.

virtual void makVrf::Dt3DEllipseFacade::setFill ( bool  )
virtual

Sets whether or not to fill ellipse. If fill style of line is specified, will override this flag.

Implements makVrf::DtEllipseFacadeBase.

virtual void makVrf::Dt3DEllipseFacade::setOutsideColor ( float  r,
float  g,
float  b,
float  a 
)
virtual

Sets the outside color for the model.

Reimplemented from makVrf::DtEllipseFacadeBase.

virtual void makVrf::Dt3DEllipseFacade::setSelectedOutsideColor ( float  r,
float  g,
float  b,
float  a 
)
virtual

Sets the selected outside color for the model.

Reimplemented from makVrf::DtEllipseFacadeBase.

virtual void makVrf::Dt3DEllipseFacade::setPickable ( bool  )
virtual

Sets whether or not items are pickable.

Implements makVrf::DtEllipseFacadeBase.

virtual void makVrf::Dt3DEllipseFacade::setVisible ( bool  )
virtual

Sets whether or not item is visible.

Implements makVrf::DtEllipseFacadeBase.

virtual void makVrf::Dt3DEllipseFacade::setScribeWidth ( float  width)
virtual

Sets the width of the scribe line in pixel space. This will set a flag such that when the line width is changed this width is not, so, once set, you will need to continue to set to keep pace with line width.

int makVrf::Dt3DEllipseFacade::scribeWidth ( ) const

Returns current scribe width.

virtual void makVrf::Dt3DEllipseFacade::setScribed ( bool  )
virtual

Sets whether or not line is scribed.

virtual void makVrf::Dt3DEllipseFacade::setScribeColor ( float  r,
float  g,
float  b,
float  a 
)
virtual

Sets the color of the scribe. By default it is based on outside color.

virtual void makVrf::Dt3DEllipseFacade::setSelectedScribeColor ( float  r,
float  g,
float  b,
float  a 
)
virtual

Sets the color to used for the scribe when the mode is selected.

virtual void makVrf::Dt3DEllipseFacade::setLineHeight ( float  )
virtual

Sets the height of all lines in the area (up extent). Setting this will turn off line width.

virtual void makVrf::Dt3DEllipseFacade::setSolid ( bool  b)
virtual

Sets whether or not this item is solid (filled)

virtual void makVrf::Dt3DEllipseFacade::setScribeAllPolygons ( bool  )
virtual

Sets whether or not to only scribe the outline (and not the line edges). Only valid if scribed is true. If set to true will scribe all point connections along the polygon. If false will only scribe the top and bottom of the polygon.

virtual void makVrf::Dt3DEllipseFacade::setUpExtent ( float  )
virtual

Sets the values of the extents of the line. Extents of the line are different than the width or height in that in setting the width or height those are centered around the points. The extents work from the point and move in the direction of the extent in topographic space. For example, if you imagine a straight line, the up extent moves straight up from that line, the down extent straight down, left to the left and right to the right. As the line rotates and orients the extents orient and rotate with that line.

virtual float makVrf::Dt3DEllipseFacade::upExtent ( ) const
virtual

Sets the values of the extents of the line. Extents of the line are different than the width or height in that in setting the width or height those are centered around the points. The extents work from the point and move in the direction of the extent in topographic space. For example, if you imagine a straight line, the up extent moves straight up from that line, the down extent straight down, left to the left and right to the right. As the line rotates and orients the extents orient and rotate with that line.

virtual void makVrf::Dt3DEllipseFacade::setDownExtent ( float  )
virtual

Sets the values of the extents of the line. Extents of the line are different than the width or height in that in setting the width or height those are centered around the points. The extents work from the point and move in the direction of the extent in topographic space. For example, if you imagine a straight line, the up extent moves straight up from that line, the down extent straight down, left to the left and right to the right. As the line rotates and orients the extents orient and rotate with that line.

virtual float makVrf::Dt3DEllipseFacade::downExtent ( ) const
virtual

Sets the values of the extents of the line. Extents of the line are different than the width or height in that in setting the width or height those are centered around the points. The extents work from the point and move in the direction of the extent in topographic space. For example, if you imagine a straight line, the up extent moves straight up from that line, the down extent straight down, left to the left and right to the right. As the line rotates and orients the extents orient and rotate with that line.

virtual void makVrf::Dt3DEllipseFacade::setLeftExtent ( float  )
virtual

Sets the values of the extents of the line. Extents of the line are different than the width or height in that in setting the width or height those are centered around the points. The extents work from the point and move in the direction of the extent in topographic space. For example, if you imagine a straight line, the up extent moves straight up from that line, the down extent straight down, left to the left and right to the right. As the line rotates and orients the extents orient and rotate with that line.

virtual float makVrf::Dt3DEllipseFacade::leftExtent ( ) const
virtual

Sets the values of the extents of the line. Extents of the line are different than the width or height in that in setting the width or height those are centered around the points. The extents work from the point and move in the direction of the extent in topographic space. For example, if you imagine a straight line, the up extent moves straight up from that line, the down extent straight down, left to the left and right to the right. As the line rotates and orients the extents orient and rotate with that line.

virtual void makVrf::Dt3DEllipseFacade::setRightExtent ( float  )
virtual

Sets the values of the extents of the line. Extents of the line are different than the width or height in that in setting the width or height those are centered around the points. The extents work from the point and move in the direction of the extent in topographic space. For example, if you imagine a straight line, the up extent moves straight up from that line, the down extent straight down, left to the left and right to the right. As the line rotates and orients the extents orient and rotate with that line.

virtual float makVrf::Dt3DEllipseFacade::rightExtent ( ) const
virtual

Sets the values of the extents of the line. Extents of the line are different than the width or height in that in setting the width or height those are centered around the points. The extents work from the point and move in the direction of the extent in topographic space. For example, if you imagine a straight line, the up extent moves straight up from that line, the down extent straight down, left to the left and right to the right. As the line rotates and orients the extents orient and rotate with that line.

makVrv::DtExtrudedEllipseModelAgent* makVrf::Dt3DEllipseFacade::ellipseModelAgent ( ) const

Returns the ellipse model agent for this class.

void makVrf::Dt3DEllipseFacade::createEllipseAgent ( )
protected

Creates ellipse agent. Called from constructor.

Member Data Documentation

makVrv::DtExtrudedEllipseModelAgent* makVrf::Dt3DEllipseFacade::myEllipseModelAgent
protected
bool makVrf::Dt3DEllipseFacade::myFill
protected
float makVrf::Dt3DEllipseFacade::myLineHeight
protected
float makVrf::Dt3DEllipseFacade::myUpExtent
protected
float makVrf::Dt3DEllipseFacade::myDownExtent
protected
float makVrf::Dt3DEllipseFacade::myRightExtent
protected
float makVrf::Dt3DEllipseFacade::myLeftExtent
protected
bool makVrf::Dt3DEllipseFacade::myScribeColorSet
protected
float makVrf::Dt3DEllipseFacade::myScribeWidth
protected
bool makVrf::Dt3DEllipseFacade::mySelectedOutsideColorSet
protected
float makVrf::Dt3DEllipseFacade::myScribeColor[4]
protected
float makVrf::Dt3DEllipseFacade::mySelectedScribeColor[4]
protected

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

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)