VR-Forces 4.1.1 Class Documentation
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::Dt3DAreaFacade Class Reference

Contains Dt3DAreaFacade class. More...

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

Public Member Functions

 Dt3DAreaFacade (DtAgentManagerInterface &, DtSceneObjectAgent *agent, DtElementID id, int modelSet)
 Constructor that will take an existing scene object agent.
 Dt3DAreaFacade (DtAgentManagerInterface &, int modelSet, DtElementID id, bool distribute=true)
 Will create a new scene object agent for the given model set and element id.
virtual ~Dt3DAreaFacade ()
 DTOR.
virtual void setLineWidth (int)
 Sets the up extent of the 3D line to represent width.
virtual void setSolid (bool b)
 Sets whether or not this item is solid (filled)
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 setScribed (bool)
 Sets whether or not line is scribed.
- Public Member Functions inherited from makVrv::DtAreaFacadeInterface
 DtAreaFacadeInterface (DtAgentManagerInterface &, DtSceneObjectAgent *agent, DtElementID id, int modelSet)
 Constructor that will take an existing scene object agent.
 DtAreaFacadeInterface (DtAgentManagerInterface &, int modelSet, DtElementID id, bool distribute=true)
 Will create a new scene object agent for the given model set and element id.
virtual ~DtAreaFacadeInterface ()
 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 area.
virtual void setFill (bool)
 Sets whether or not to fill area. If fill style of line is specified, will override this flag.
virtual void setFillPattern (vrvTacticalGraphicUtilities::FillStyle)
 Sets the fill pattern for the area.
virtual void setPoints (const std::vector< DtVector > &, const DtVector &withOffset=DtVector::zero())
 Sets the points for the area.
virtual void addPoint (int index, const DtVector &)
 Adds a point to the area. Returns the index of the newly added point. Index of -1 will append.
virtual void setSelected (bool)
 Sets the area to be selected.
virtual void removePoint (int)
 Removes a point from the area.
virtual void setStipplePattern (int)
 Sets the pattern for the line portion of the area.
virtual void setOrigin (const DtVector &)
 Sets the origin of the area.
virtual const DtVectororigin () const
 Returns origin.
virtual void setPoint (int iIndex, const DtVector &)
 Sets position in the area.
virtual void setUseDynamicOrigin (bool)
 Sets whether or not to use dynamic origins.
virtual void setLockUpdates (bool)
 Sets whether or not to lock updates.
virtual bool updatesLocked () const
 Returns whether or not updates are locked.
virtual void setVisible (bool)
 Sets the object visible.
virtual void setPickable (bool)
 Sets pickable or not.
virtual const std::vector
< DtVector > & 
points () const
 Returns the points in this area.
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 createAreaAgent ()
 Creates area agent used for facade. Called from constructor.

Protected Attributes

DtExtrudedPolygonModelAgent * myExtrudedArea
- Protected Attributes inherited from makVrv::DtAreaFacadeInterface
DtPolygonModelAgent * myArea
DtAgentManagerInterfacemyAgentManagerInterface
DtSceneObjectAgent * mySceneObjectAgent
bool myOwnsSceneObjectAgent
float myOutsideColor [4]
float myInsideColor [4]
int myLineWidth
int myModelSet
bool myFill
std::vector< DtVectormyControlPoints
bool myOriginSet
DtVector myOrigin
bool myUpdatesLocked
bool mySelected
makVrv::DtElementID myElementId

Detailed Description

Contains Dt3DAreaFacade class.

Facade interface for constructing 3D area objects

Constructor & Destructor Documentation

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

Constructor that will take an existing scene object agent.

makVrv::Dt3DAreaFacade::Dt3DAreaFacade ( 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::Dt3DAreaFacade::~Dt3DAreaFacade ( )
virtual

DTOR.

Member Function Documentation

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

Sets the up extent of the 3D line to represent width.

Reimplemented from makVrv::DtAreaFacadeInterface.

virtual void makVrv::Dt3DAreaFacade::setSolid ( bool  b)
virtual

Sets whether or not this item is solid (filled)

Reimplemented from makVrv::DtAreaFacadeInterface.

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

Sets the outside color (rim) if available.

Reimplemented from makVrv::DtAreaFacadeInterface.

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

Sets inside color (fill) if available.

Reimplemented from makVrv::DtAreaFacadeInterface.

virtual void makVrv::Dt3DAreaFacade::setScribed ( bool  )
virtual

Sets whether or not line is scribed.

Reimplemented from makVrv::DtAreaFacadeInterface.

void makVrv::Dt3DAreaFacade::createAreaAgent ( )
protected

Creates area agent used for facade. Called from constructor.

Member Data Documentation

DtExtrudedPolygonModelAgent* makVrv::Dt3DAreaFacade::myExtrudedArea
protected

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

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)