VR-Forces 4.3.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::Dt3DEllipseFacade Class Reference

Contains Dt3DEllipseFacadeclass. More...

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

Public Member Functions

 Dt3DEllipseFacade (DtAgentManagerInterface &, DtSceneObjectAgent *agent, DtElementID id, int modelSet)
 Constructor that will take an existing scene object agent.
 Dt3DEllipseFacade (DtAgentManagerInterface &, int modelSet, DtElementID id, bool distribute=true)
 Will create a new scene object agent for the given model set and element id.
virtual ~Dt3DEllipseFacade ()
 DTOR.
virtual void setModelDefinition (const std::string &)
 Sets the model definition for the model.
virtual void setColor (float r, float g, float b, float a)
 Sets the color for the ellipse.
virtual void setSelected (bool)
 Sets whether or not the ellipse is selected.
virtual void setFillPattern (const std::vector< unsigned int > &)
 Unimplemented as ellipses to not currently support fill patterns.
virtual void setStipplePattern (int)
 Unimplemented as ellipses do not currently support stipple patterns.
virtual void setLineWidth (int)
 Sets the width of the outside line.
virtual void setXRadius (double)
 Sets the X Radius of the llipse.
virtual void setYRadius (double)
 Sets the Y Radius of the ellipse.
virtual void setDimensions (double, double)
 Sets the dimensions of the ellipse.
virtual void setOutsideColor (float r, float g, float b, float a)
 Sets the outside color (rim) if available.
virtual void setInsideColor (float r, float g, float b, float a)
 Sets inside color (fill) if available.
virtual void setFill (bool)
 Sets whether or not to fill ellipse. If fill style of line is specified, will override this flag.
virtual void setPickable (bool)
 Sets whether or not items are pickable.
virtual void setLockUpdates (bool)
 Sets whether or not to lock updates.
virtual void setVisible (bool)
 Sets whether or not item is visible.
bool selected () const
 Returns whether or not this facade is selected.
- Public Member Functions inherited from makVrv::DtEllipseFacadeInterface
 DtEllipseFacadeInterface (DtAgentManagerInterface &, DtSceneObjectAgent *agent, DtElementID id, int modelSet)
 Constructor that will take an existing scene object agent.
 DtEllipseFacadeInterface (DtAgentManagerInterface &, int modelSet, DtElementID id, bool distribute=true)
 Will create a new scene object agent for the given model set and element id.
virtual ~DtEllipseFacadeInterface ()
 DTOR.
virtual void setPoints (const std::vector< DtVector > &)
 Sets the origin, and, possible radii of the ellipse.
virtual void setOrigin (const DtVector &)
 Sets the origin of the ellipse.
virtual void setPosition (int iIndex, const DtVector &)
 Sets position in ellipse (origin = 0, X = 1 or Y = 2)
virtual makVrv::DtUniqueID uniqueId () const
 Returns the unique id of the scene object agent.
virtual makVrv::DtElementID elementId () const
 Returns the element id of the scene object agent.
virtual int modelSet () const
 Returns the model set.

Protected Member Functions

void createEllipseAgent ()
 Creates ellipse agent. Called from constructor.

Protected Attributes

DtExtrudedCircleModelAgent * myEllipseModelAgent
bool myFill
bool mySelected
- Protected Attributes inherited from makVrv::DtEllipseFacadeInterface
DtSceneObjectAgent * mySceneObjectAgent
DtAgentManagerInterfacemyAgentManagerInterface
bool myOwnsSceneObjectAgent
DtEllipseUpdaterAgent * myUpdater
float myInsideColor [4]
float myOutsideColor [4]
int myLineWidth
int myModelSet
int myNumPoints
double myXRadius
double myYRadius
makVrv::DtElementID myElementId

Detailed Description

Contains Dt3DEllipseFacadeclass.

Facade for a 3D (overlay) ellipse.

Constructor & Destructor Documentation

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

Constructor that will take an existing scene object agent.

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

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

virtual makVrv::Dt3DEllipseFacade::~Dt3DEllipseFacade ( )
virtual

DTOR.

Member Function Documentation

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

Sets the model definition for the model.

Implements makVrv::DtEllipseFacadeInterface.

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

Sets the color for the ellipse.

This will apply to all segments of the area. If the default (all 0's), uses the default as defined in the visual definition

Reimplemented from makVrv::DtEllipseFacadeInterface.

virtual void makVrv::Dt3DEllipseFacade::setSelected ( bool  )
virtual

Sets whether or not the ellipse is selected.

Implements makVrv::DtEllipseFacadeInterface.

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

Unimplemented as ellipses to not currently support fill patterns.

Implements makVrv::DtEllipseFacadeInterface.

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

Unimplemented as ellipses do not currently support stipple patterns.

Implements makVrv::DtEllipseFacadeInterface.

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

Sets the width of the outside line.

Implements makVrv::DtEllipseFacadeInterface.

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

Sets the X Radius of the llipse.

Reimplemented from makVrv::DtEllipseFacadeInterface.

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

Sets the Y Radius of the ellipse.

Reimplemented from makVrv::DtEllipseFacadeInterface.

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

Sets the dimensions of the ellipse.

Reimplemented from makVrv::DtEllipseFacadeInterface.

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

Sets the outside color (rim) if available.

Reimplemented from makVrv::DtEllipseFacadeInterface.

virtual void makVrv::Dt3DEllipseFacade::setInsideColor ( float  r,
float  g,
float  b,
float  a 
)
virtual

Sets inside color (fill) if available.

Reimplemented from makVrv::DtEllipseFacadeInterface.

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

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

Implements makVrv::DtEllipseFacadeInterface.

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

Sets whether or not items are pickable.

Implements makVrv::DtEllipseFacadeInterface.

virtual void makVrv::Dt3DEllipseFacade::setLockUpdates ( bool  )
virtual

Sets whether or not to lock updates.

Implements makVrv::DtEllipseFacadeInterface.

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

Sets whether or not item is visible.

Implements makVrv::DtEllipseFacadeInterface.

bool makVrv::Dt3DEllipseFacade::selected ( ) const
inline

Returns whether or not this facade is selected.

void makVrv::Dt3DEllipseFacade::createEllipseAgent ( )
protected

Creates ellipse agent. Called from constructor.

Member Data Documentation

DtExtrudedCircleModelAgent* makVrv::Dt3DEllipseFacade::myEllipseModelAgent
protected
bool makVrv::Dt3DEllipseFacade::myFill
protected
bool makVrv::Dt3DEllipseFacade::mySelected
protected

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

Document ID: Generated on Wed Jul 29 00:55:00 EDT 2015 from SVN revision 155257
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)