|
| virtual | ~DtArcFacadeBase () |
| | Destructor. More...
|
| |
| virtual void | setDynamicOrigin (bool) |
| | Sets whether or not the origin's position is changing or not If the origin is changing (hence dynamic), we use the DtArcUpdaterAgent to update the arc's origin instead of using the arc's scene object directly. 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...
|
| |
| DtArcUpdaterAgent * | findUpdater () const |
| | Returns the updater agent for this class, can return null. More...
|
| |
| DtSceneObjectAgent * | sceneObjectAgent () const |
| | Returns the scene object agent for this class. More...
|
| |
| virtual void | setPosition (int index, const DtVector &position) |
| | Set the position of a vertex in the arc. More...
|
| |
| virtual void | setModelDefinition (const std::string &) |
| | Sets the model definition for the model. More...
|
| |
| virtual void | setPickable (bool) |
| | Sets whether or not items are pickable. More...
|
| |
| virtual void | setGroup (int) |
| | Sets the group this overlay will be drawn in The higher the group number, the "closer" to the eyepoint this overlay will be drawn. More...
|
| |
| DtOverlayArcModelAgent * | findArcAgent () |
| | Returns the arc model agent used for this class This function can return null. More...
|
| |
|
| virtual void | setSelected (bool) |
| | Set/Get whether or not the arc is selected Default value is false (not selected) More...
|
| |
| virtual bool | isSelected () const |
| |
|
| virtual void | setDimensions (double x, double y) |
| | Set/Get the axis lengths of the ellipse used to draw the arc Default value is 0, 0. More...
|
| |
| virtual bool | getDimensions (double &x, double &y) const |
| |
|
| virtual void | setScale (float scale) |
| | Set/Get the scale factor of the arc Default value is 1. More...
|
| |
| virtual float | scale () const |
| |
|
| virtual void | setVisible (bool isVisible) |
| | Set/Get whether the arc is visible Default value is true (visible) More...
|
| |
| virtual bool | isVisible () const |
| |
|
| virtual void | setMaxAngleSegment (double angleSegmentMax) |
| | Set/Get the max angle segment used when building the geometry Default value is PI / 18. More...
|
| |
| virtual double | maxAngleSegment () const |
| |
|
| virtual void | setStartAngle (double startAngle) |
| | Set/Get the start angle of the arc, in radians Default value is 0. More...
|
| |
| virtual double | startAngle () const |
| |
|
| virtual void | setEndAngle (double endAngle) |
| | Set/Get the end angle of the arc, in radians Default value is PI. More...
|
| |
| virtual double | endAngle () const |
| |
|
| virtual void | setStipplePattern (unsigned int stipplePattern) |
| | Set/Get the stipple line pattern of the arc Default value is 0xFFFF. More...
|
| |
| virtual unsigned int | stipplePattern () const |
| |
|
| virtual void | setLineWidth (float width) |
| | Set/Get the line width of the arc Uses DtLineSegmentInterface::setWidth Default value is 1. More...
|
| |
| virtual float | lineWidth () const |
| |
|
| virtual void | setColor (float r, float g, float b, float a) |
| | Set/Get the color of the arc - default is (0, 0, 0, 1). More...
|
| |
| virtual bool | getColor (float &r, float &g, float &b, float &a) const |
| |
|
| virtual void | setSelectedColor (float r, float g, float b, float a) |
| | Set/Get the selected color of the arc - default is (1, 1, 1, 1). More...
|
| |
| virtual bool | getSelectedColor (float &r, float &g, float &b, float &a) const |
| |
Interface class for an Arc Facade.
An arc with the following geometric parameters:
- Start Angle: Change which part of the ellipse is used to draw the arc
- End Angle: Change which part of the ellipse is used to draw the arc
- Position: Change the position of the arc's origin
- Dimensions: Change the dimensions of the ellipse used to draw the arc
- Max Angle Segment: Affects the number of vertices used by changing the angular difference between vertices along the arc. If you want to use X vertices to draw the arc, then set Max Angle Segment equal to PI / X
An arc with the following geometric parameters:
- Line Width: Change the width of all of the arc's line segments
- Line Color: Change the color of all of the arc's line segments
- Line Stipple Pattern: Change the stipple pattern of all of the arc's line segments
Special Considerations:
- In a 2D plane, the positive Y-Axis is 0 radians with clockwise being the positive direction
- If the start and end angle are 0 and 2 * PI respectively, an ellipse is drawn
- If the height of the arc is 0, a line is drawn