Interface class for an Overlay Arc Model. An overlay model is positioned in 3D space and drawn onto a model set specific overlay.
An arc has 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 has the following style 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
|
| | DtOverlayArcModel (DtDe &de, DtUniqueID id) |
| |
| | DtOverlayArcModel ()=delete |
| |
| | DtOverlayArcModel (const DtOverlayArcModel &)=delete |
| |
| DtOverlayArcModel & | operator= (const DtOverlayArcModel &)=delete |
| |
| virtual | ~DtOverlayArcModel () |
| |
| virtual void | setTopographicHeading (double topoHeading) |
| |
| virtual void | update () |
| |
| virtual void | setPosition (int vtx, const DtVector &position) override |
| |
| virtual void | setModelDefinition (const std::string &str) override |
| |
| virtual void | setIsSupportModel (bool isSupport) override |
| |
|
| virtual void | setOrientation (const DtTaitBryan &orientation) |
| |
| virtual DtTaitBryan | orientation () const |
| |
|
| virtual void | setDimensions (double x, double y) |
| |
| virtual bool | getDimensions (double &x, double &y) const |
| |
|
| virtual void | setScale (float scale) |
| |
| virtual float | scale () const |
| |
|
| virtual void | setVisible (bool isVisible) |
| |
| virtual bool | isVisible () const |
| |
|
| virtual void | setMaxAngleSegment (double angleSegmentMax) |
| |
| virtual double | maxAngleSegment () const |
| |
|
| virtual void | setStartAngle (double startAngle) |
| |
| virtual double | startAngle () const |
| |
|
| virtual void | setEndAngle (double endAngle) |
| |
| virtual double | endAngle () const |
| |
|
| virtual void | setStipplePattern (unsigned int stipplePattern) |
| |
| virtual unsigned int | stipplePattern () const |
| |
|
| virtual void | setLineWidth (float width) |
| |
| virtual float | lineWidth () const |
| |
|
| virtual void | setColor (float r, float g, float b, float a) |
| |
| virtual bool | getColor (float &r, float &g, float &b, float &a) const |
| |
|
| virtual void | setEventsEnabled (bool enabled) |
| |
| virtual bool | eventsEnabled () const |
| |
|
| virtual void | setGroup (int groupNum) |
| |
| virtual int | group () const |
| |
| | DtModel (DtDe &de, DtUniqueID id) |
| |
| virtual | ~DtModel () |
| |
| DtModelInstance * | createModelInstance (const std::string &modelDefName, bool realize=true) |
| |
| virtual const std::string & | modelDefinitionName () |
| |
| virtual void | saveModelToFile (const std::string &filename) |
| |
| virtual const std::string & | className () const |
| |
| virtual DtUniqueID | uniqueId () const |
| |
| unsigned int | transformSize () const |
| |
| virtual const DtVector & | position (int vtx=0) const |
| |
| virtual void | removePosition (int vtx) |
| |
| virtual void | setPositionOffset (const DtVector &positionOffset) |
| |
| virtual const DtVector & | positionOffset () const |
| |
| virtual void | setOrientation (int vtx, const DtTaitBryan &orientation) |
| |
| virtual void | setPositionAndOrientation (int vtx, const DtVector &positionOffset, const DtTaitBryan &orientation) |
| |
| virtual const DtTaitBryan & | orientation (int vtx=0) const |
| |
| virtual void | setOrientationOffset (const DtTaitBryan &orientationOffset) |
| |
| virtual const DtTaitBryan & | orientationOffset () const |
| |
| virtual void | enableColorBlending (bool b) |
| |
| virtual void | setBlendColor (float r, float g, float b, float a) |
| |
| virtual void | getBlendColor (float &r, float &g, float &b, float &a) |
| |
| virtual bool | colorBlendingEnabled () const |
| |
| virtual void | enableLighting (bool l) |
| |
| virtual DtModelSetId | modelSet () const |
| |
| const DtVector & | boundingBoxExtents () const |
| |
| void | getBoundingBoxExtents (double &x, double &y, double &z) const |
| |
| const DtVector & | boundingBoxCenter () const |
| |
| virtual void | getBoundingBoxCenter (double &x, double &y, double &z) const |
| |
| virtual void | getBoundingBoxComponents (DtVector &minimum, DtVector &maximum) |
| |
| void | setContributesToBound (bool trueOrFalse) |
| |
| bool | contributesToBound () const |
| |
| DtDe & | de () |
| |
| virtual void | setModelInstance (DtModelInstance *modelInstance) |
| |
| virtual void | promoteBackgroundModelInstance (const DtModelDefinition &defintion) |
| |
| virtual bool | visible () const |
| |
| DtUniqueID | sceneObjectId () const |
| |
| virtual void | addedToSceneObjectAsProp (const DtUniqueID &sceneObj) |
| |
| virtual void | addedToSceneObject (const DtUniqueID &sceneObj, DtModelSetId modelSet, int visualizerType) |
| |
| virtual void | setElementId (DtElementID id) |
| |
| virtual void | removedFromSceneObject () |
| |
| virtual void | setSolid (bool isSolid) |
| |
| virtual bool | isProp () |
| |
| virtual void | updateMinLastFrameDistance (float distance) |
| |
| virtual void | resetLastFrameDistance () |
| |
| virtual float | minLastFrameDistance () const |
| |
| virtual DtModelInstance * | modelInstance () |
| |
| virtual const DtModelInstance * | modelInstance () const |
| |
| int | visualizerType () const |
| |
| virtual bool | supportsMultithreadedLoad () |
| |
| virtual void | backgroundLoad () |
| |
| virtual void | foregroundLoad () |
| |
| virtual bool | isActivelyBackgroundLoading () |
| |
| virtual DtLoaderHandle * | getLoadQueueHandle () |
| |