![]() |
VR-Forces 4.3 Class Documentation
|
Contains Dt2DEllipseFacade class. More...

Public Member Functions | |
| Dt2DEllipseFacade (DtAgentManagerInterface &, DtSceneObjectAgent *agent, DtElementID id, int modelSet) | |
| Constructor that will take an existing scene object agent. | |
| Dt2DEllipseFacade (DtAgentManagerInterface &, int modelSet, DtElementID id, bool distribute=true) | |
| Will create a new scene object agent for the given model set and element id. | |
| virtual | ~Dt2DEllipseFacade () |
| 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 | setLineWidth (int) |
| Sets the width of the outside line. | |
| virtual void | setFill (bool) |
| Sets whether or not to fill ellipse. | |
| virtual void | setLockUpdates (bool) |
| Sets whether or not to lock updates. | |
| virtual void | setPickable (bool) |
| Sets whether or not items are pickable. | |
| virtual void | setVisible (bool) |
| Sets whether or not item is visible. | |
| virtual void | setStipplePattern (int) |
| Currently unimplemented as ellipses do not currently support stipple patterns. | |
| virtual void | setFillPattern (const std::vector< unsigned int > &) |
| Unimplemented as ellipses do not currently support fille. | |
| 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 | setXRadius (double) |
| Sets the X Radius of the ellipse. | |
| virtual void | setYRadius (double) |
| Sets the Y Radius of the ellipse. | |
| virtual void | setDimensions (double, double) |
| Sets the dimensions of the ellipse. | |
| bool | selected () const |
| Returns whether or not 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 the ellipse agent. Called from the constructor. | |
Protected Attributes | |
| DtOverlayEllipseArcModelAgent * | myEllipseModelAgent |
| bool | myFill |
| bool | mySelected |
Protected Attributes inherited from makVrv::DtEllipseFacadeInterface | |
| DtSceneObjectAgent * | mySceneObjectAgent |
| DtAgentManagerInterface & | myAgentManagerInterface |
| bool | myOwnsSceneObjectAgent |
| DtEllipseUpdaterAgent * | myUpdater |
| float | myInsideColor [4] |
| float | myOutsideColor [4] |
| int | myLineWidth |
| int | myModelSet |
| int | myNumPoints |
| double | myXRadius |
| double | myYRadius |
| makVrv::DtElementID | myElementId |
Contains Dt2DEllipseFacade class.
Facade for a 2D (overlay) ellipse. If X Radius and Y Radius are specified the object will be rendered as an ellipse
| makVrv::Dt2DEllipseFacade::Dt2DEllipseFacade | ( | DtAgentManagerInterface & | , |
| DtSceneObjectAgent * | agent, | ||
| DtElementID | id, | ||
| int | modelSet | ||
| ) |
Constructor that will take an existing scene object agent.
| makVrv::Dt2DEllipseFacade::Dt2DEllipseFacade | ( | DtAgentManagerInterface & | , |
| int | modelSet, | ||
| DtElementID | id, | ||
| bool | distribute = true |
||
| ) |
Will create a new scene object agent for the given model set and element id.
|
virtual |
DTOR.
|
virtual |
Sets the model definition for the model.
Implements makVrv::DtEllipseFacadeInterface.
|
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 |
Sets whether or not the ellipse is selected.
Implements makVrv::DtEllipseFacadeInterface.
|
virtual |
Sets the width of the outside line.
Implements makVrv::DtEllipseFacadeInterface.
|
virtual |
Sets whether or not to fill ellipse.
If fill style of line is specified, will override this flag
Implements makVrv::DtEllipseFacadeInterface.
|
virtual |
Sets whether or not to lock updates.
Implements makVrv::DtEllipseFacadeInterface.
|
virtual |
Sets whether or not items are pickable.
Implements makVrv::DtEllipseFacadeInterface.
|
virtual |
Sets whether or not item is visible.
Implements makVrv::DtEllipseFacadeInterface.
|
virtual |
Currently unimplemented as ellipses do not currently support stipple patterns.
Implements makVrv::DtEllipseFacadeInterface.
|
virtual |
Unimplemented as ellipses do not currently support fille.
Implements makVrv::DtEllipseFacadeInterface.
|
virtual |
Sets the outside color (rim) if available.
Reimplemented from makVrv::DtEllipseFacadeInterface.
|
virtual |
Sets inside color (fill) if available.
Reimplemented from makVrv::DtEllipseFacadeInterface.
|
virtual |
Sets the X Radius of the ellipse.
Reimplemented from makVrv::DtEllipseFacadeInterface.
|
virtual |
Sets the Y Radius of the ellipse.
Reimplemented from makVrv::DtEllipseFacadeInterface.
|
virtual |
Sets the dimensions of the ellipse.
Reimplemented from makVrv::DtEllipseFacadeInterface.
|
inline |
Returns whether or not facade is selected.
|
protected |
Creates the ellipse agent. Called from the constructor.
|
protected |
|
protected |
|
protected |