![]() |
VR-Forces 4.8 Class Documentation
|
Contains Dt3DEllipseFacadeclass. More...

Public Member Functions | |
| Dt3DEllipseFacade (DtAgentManagerInterface &, DtSceneObjectAgent *agent, DtElementID id, int modelSet) | |
| Constructor that will take an existing scene object agent. More... | |
| Dt3DEllipseFacade (DtAgentManagerInterface &, int modelSet, DtElementID id, bool distribute=true) | |
| Will create a new scene object agent for the given model set and element id. More... | |
| virtual | ~Dt3DEllipseFacade () |
| DTOR. More... | |
| virtual void | setModelDefinition (const std::string &) |
| Sets the model definition for the model. More... | |
| virtual void | setPosition (int index, const DtVector &v) |
| Sets database position in updater (if created) or model agent. More... | |
| virtual void | setFillPattern (const std::vector< unsigned int > &) |
| Unimplemented as ellipses to not currently support fill patterns. More... | |
| virtual void | setStipplePattern (int) |
| Unimplemented as ellipses do not currently support stipple patterns. More... | |
| virtual void | setLineWidth (int) |
| Sets the width of the outside line. More... | |
| virtual void | setXRadius (double) |
| Sets the X Radius of the llipse. More... | |
| virtual void | setYRadius (double) |
| Sets the Y Radius of the ellipse. More... | |
| virtual void | setDimensions (double, double) |
| Sets the dimensions of the ellipse. More... | |
| virtual void | updateColors () |
| Send the current colors down to the model. More... | |
| virtual void | setFill (bool) |
| Sets whether or not to fill ellipse. If fill style of line is specified, will override this flag. More... | |
| virtual void | setOutsideColor (float r, float g, float b, float a) |
| Sets the outside color for the model. More... | |
| virtual void | setSelectedOutsideColor (float r, float g, float b, float a) |
| Sets the selected outside color for the model. More... | |
| virtual void | setPickable (bool) |
| Sets whether or not items are pickable. More... | |
| virtual void | setVisible (bool) |
| Sets whether or not item is visible. More... | |
| virtual void | setScribeWidth (float width) |
| Sets the width of the scribe line in pixel space. More... | |
| int | scribeWidth () const |
| Returns current scribe width. More... | |
| virtual void | setScribed (bool) |
| Sets whether or not line is scribed. More... | |
| virtual void | setScribeColor (float r, float g, float b, float a) |
| Sets the color of the scribe. By default it is based on outside color. More... | |
| virtual void | setSelectedScribeColor (float r, float g, float b, float a) |
| Sets the color to used for the scribe when the mode is selected. More... | |
| virtual void | setLineHeight (float) |
| Sets the height of all lines in the area (up extent). Setting this will turn off line width. More... | |
| virtual void | setSolid (bool b) |
| Sets whether or not this item is solid (filled) More... | |
| virtual void | setScribeAllPolygons (bool) |
| Sets whether or not to only scribe the outline (and not the line edges). More... | |
| virtual void | startClamping () |
| Create an updater to update the orientation of this object, not the position. More... | |
| DtExtrudedEllipseModelAgent * | ellipseModelAgent () const |
| Returns the ellipse model agent for this class. More... | |
| 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 makVrv::DtEllipseFacadeBase | |
| DtEllipseFacadeBase (DtAgentManagerInterface &, DtSceneObjectAgent *agent, DtElementID id, int modelSet) | |
| Constructor that will take an existing scene object agent. More... | |
| DtEllipseFacadeBase (DtAgentManagerInterface &, int modelSet, DtElementID id, bool distribute=true) | |
| Will create a new scene object agent for the given model set and element id. More... | |
| virtual | ~DtEllipseFacadeBase () |
| DTOR. More... | |
| virtual void | setColor (float r, float g, float b, float a) |
| Sets the color for the ellipse. More... | |
| virtual void | setInsideColor (float r, float g, float b, float a) |
| Sets inside color (fill) if available. More... | |
| virtual void | setSelectedInsideColor (float r, float g, float b, float a) |
| Sets the selected inside color. More... | |
| virtual void | setPoints (const std::vector< DtVector > &) |
| Sets the origin, and, possible radii of the ellipse. More... | |
| virtual void | setOrigin (const DtVector &) |
| Sets the origin of the ellipse. More... | |
| virtual void | setSelected (bool) |
| Sets whether or not the ellipse is selected. More... | |
| virtual bool | selected () |
| Get the current selected state. More... | |
| virtual makVrv::DtUniqueID | uniqueId () const |
| Returns the unique id of the scene object agent. More... | |
| virtual makVrv::DtElementID | elementId () const |
| Returns the element id of the scene object agent. More... | |
| virtual int | modelSet () const |
| Returns the model set. More... | |
| virtual void | setDynamicOrigin (bool) |
| Sets whether or origin is set in the updater or retrieved from the scene object. More... | |
| virtual void | stopClamping () |
| Stops clamping the ellipse. More... | |
| DtEllipseUpdaterAgent * | updater () const |
| Returns the updater agent for this class. More... | |
| DtSceneObjectAgent * | sceneObjectAgent () const |
| Returns the scene object agent for this class. More... | |
Protected Member Functions | |
| void | createEllipseAgent () |
| Creates ellipse agent. Called from constructor. More... | |
Protected Attributes | |
| 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 makVrv::DtEllipseFacadeBase | |
| DtSceneObjectAgent * | mySceneObjectAgent |
| DtAgentManagerInterface & | myAgentManagerInterface |
| bool | myOwnsSceneObjectAgent |
| DtEllipseUpdaterAgent * | myUpdater |
| 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 |
Contains Dt3DEllipseFacadeclass.
Facade for a 3D (overlay). This class will not clamp by default ellipse.
| 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 |
DTOR.
|
virtual |
Sets the model definition for the model.
Implements makVrv::DtEllipseFacadeBase.
Sets database position in updater (if created) or model agent.
Reimplemented from makVrv::DtEllipseFacadeBase.
|
virtual |
Unimplemented as ellipses to not currently support fill patterns.
Implements makVrv::DtEllipseFacadeBase.
|
virtual |
Unimplemented as ellipses do not currently support stipple patterns.
Implements makVrv::DtEllipseFacadeBase.
|
virtual |
Sets the width of the outside line.
Implements makVrv::DtEllipseFacadeBase.
|
virtual |
Sets the X Radius of the llipse.
Reimplemented from makVrv::DtEllipseFacadeBase.
|
virtual |
Sets the Y Radius of the ellipse.
Reimplemented from makVrv::DtEllipseFacadeBase.
Sets the dimensions of the ellipse.
Reimplemented from makVrv::DtEllipseFacadeBase.
|
virtual |
Send the current colors down to the model.
Implements makVrv::DtEllipseFacadeBase.
|
virtual |
Sets whether or not to fill ellipse. If fill style of line is specified, will override this flag.
Implements makVrv::DtEllipseFacadeBase.
|
virtual |
Sets the outside color for the model.
Reimplemented from makVrv::DtEllipseFacadeBase.
|
virtual |
Sets the selected outside color for the model.
Reimplemented from makVrv::DtEllipseFacadeBase.
|
virtual |
Sets whether or not items are pickable.
Implements makVrv::DtEllipseFacadeBase.
|
virtual |
Sets whether or not item is visible.
Implements makVrv::DtEllipseFacadeBase.
|
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 makVrv::Dt3DEllipseFacade::scribeWidth | ( | ) | const |
Returns current scribe width.
|
virtual |
Sets whether or not line is scribed.
|
virtual |
Sets the color of the scribe. By default it is based on outside color.
|
virtual |
Sets the color to used for the scribe when the mode is selected.
|
virtual |
Sets the height of all lines in the area (up extent). Setting this will turn off line width.
|
virtual |
Sets whether or not this item is solid (filled)
|
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 |
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 |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Create an updater to update the orientation of this object, not the position.
Reimplemented from makVrv::DtEllipseFacadeBase.
| DtExtrudedEllipseModelAgent* makVrv::Dt3DEllipseFacade::ellipseModelAgent | ( | ) | const |
Returns the ellipse model agent for this class.
|
protected |
Creates ellipse agent. Called from constructor.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |