![]() |
VR-Forces 5.0.1 Developer's Guide
|
OSG implementation of 2D ellipsoid arc.

Public Member Functions | |
| DtOsgOverlayEllipseArcModel (DtDe &de, DtUniqueID id) | |
| virtual | ~DtOsgOverlayEllipseArcModel () |
| virtual void | update () |
| virtual void | setModelDefinition (const std::string &str) |
| virtual void | setMaxAngleSegment (double angleSegmentMax) |
| virtual void | setGeometry (double angle, double sweep) |
| virtual void | setDimensions (double x, double y) |
| virtual void | setColor (float r, float g, float b, float a) |
| virtual void | setInsideColor (float r, float g, float b, float a) |
| virtual void | setOutsideColor (float r, float g, float b, float a) |
| virtual void | setCentralVertexColor (float r, float g, float b, float a) |
| virtual void | setRelativePosition (double x, double y, double z) |
| virtual void | setScale (float scale) |
| virtual void | setVisible (bool visibility) |
| virtual void | setFill (bool) |
| virtual void | setOutlineWidth (float) |
| virtual void | setEventsEnabled (bool) |
| virtual void | setStipplePattern (unsigned int stipplePattern) |
| virtual void | setFillPattern (const std::vector< unsigned int > &) |
| virtual void | setOutline (bool) |
| virtual void | setSolidFillCenter (bool) |
| virtual void | setGroup (int) |
| virtual void | setPosition (int vtx, const DtVector &position) |
| virtual void | setOrientation (int vtx, const DtTaitBryan &orientation) |
Public Member Functions inherited from makVrv::DtOverlayEllipseArcModel | |
| DtOverlayEllipseArcModel (DtDe &de, DtUniqueID id) | |
| virtual | ~DtOverlayEllipseArcModel () |
Public Member Functions inherited from makVrv::DtModel | |
| 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 |
| 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 | 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 int | 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 (DtModelDefinition &defintion) |
| virtual bool | visible () const |
| DtUniqueID | parentSceneObjectID () const |
| virtual void | addedToSceneObjectAsProp (const DtUniqueID &sceneObj) |
| virtual void | addedToSceneObject (const DtUniqueID &sceneObj, int modelSet, int visualizerType) |
| virtual void | setElementId (DtUniqueID 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 () |
Protected Member Functions | |
| virtual void | needsUpdate () |
| virtual void | addToScene (const DtUniqueID &sceneObjectId, int modelSet, int visualizerType) |
| virtual void | removeFromScene () |
| virtual void | setIsSupportModel (bool isSupport) |
Protected Member Functions inherited from makVrv::DtModel | |
| virtual void | addToSceneAsProp (const DtUniqueID &sceneObjectId) |
| virtual void | initializeModelInstance () |
| void | slot_modelInstanceChanged (DtModelInstance *instance) |
| virtual void | waitAndClearLoadHandle () |
| virtual void | removedFromLoadQueue () |
| virtual void | setDoneBackgroundLoading () |
| virtual void | setActivelyBackgroundLoading () |
Protected Attributes | |
| std::vector< DtVector > | myDefinedVertices |
| DtUniqueID | myParentId |
| bool | myNeedsUpdate |
Protected Attributes inherited from makVrv::DtModel | |
| DtLoaderHandle * | myInLoadQueueHandle |
| DtDe & | myDe |
| const DtUniqueID | myUniqueId |
| bool | myColorBlendingEnabled |
| DtModelInstance * | myBackgroundModelInstance |
| float | myMinLastFrameDistance |
| TransformList | myTransforms |
| DtModelInstance * | myModelInstance |
| int | myModelSet |
| int | myVisualizerType |
| bool | myContributesToBound |
| DtUniqueID | myParentSceneObjectID |
| bool | myIsPropFlag |
| float | myBlendColor [4] |
| bool | myVisibleFlag |
| DtVector | myPositionOffset |
| DtTaitBryan | myOrientationOffset |
| std::string | myModelDefinitionName |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtModel | |
| boost::signalslib::signal < void(DtModel *)> | signal_modelToBeDestroyed |
| boost::signalslib::signal < void(DtModel *)> | signal_modelChanged |
| boost::signalslib::signal < bool(DtModel *, bool), SlotReturnOR > | signal_visibilityChangeRequested |
| boost::signalslib::signal < void(DtModelInstance *, DtModel *)> | signal_modelInstanceCreated |
| boost::signalslib::signal < void(DtModelInstance *, DtModel *)> | signal_modelInstanceToBeDestroyed |
Protected Types inherited from makVrv::DtModel | |
| typedef std::vector < ObjectTransform > | TransformList |
Static Protected Attributes inherited from makVrv::DtModel | |
| static bool | theInittedState |
| makVrv::DtOsgOverlayEllipseArcModel::DtOsgOverlayEllipseArcModel | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Set the max angle segment used when building the geometry.
Implements makVrv::DtOverlayEllipseArcModel.
|
virtual |
Sets the direction and sweep angles on the geometry.
Implements makVrv::DtOverlayEllipseArcModel.
Set the axis lengths of the ellipsoid.
Implements makVrv::DtOverlayEllipseArcModel.
|
virtual |
Set the color of the ellipsoid.
Implements makVrv::DtOverlayEllipseArcModel.
Reimplemented in makVrf::DtVrfOverlayEllipseArcModel.
|
virtual |
Set the color at the center of the sphere.
Implements makVrv::DtOverlayEllipseArcModel.
Reimplemented in makVrf::DtVrfOverlayEllipseArcModel.
|
virtual |
Set the color on the surface of the sphere.
Implements makVrv::DtOverlayEllipseArcModel.
Reimplemented in makVrf::DtVrfOverlayEllipseArcModel.
|
virtual |
Set the color of the arc's central vertex (if any)
There is no central vertex if the sweep is >= PI
Implements makVrv::DtOverlayEllipseArcModel.
|
virtual |
Set the local translation of the ellipsoid.
Implements makVrv::DtOverlayEllipseArcModel.
|
virtual |
Set the scale factor applied to the ellipse.
Implements makVrv::DtOverlayEllipseArcModel.
Reimplemented in makVrf::DtVrfOverlayEllipseArcModel.
|
virtual |
Updates setVisible visibility of the ellipsoid.
Reimplemented from makVrv::DtModel.
Reimplemented in makVrf::DtVrfOverlayEllipseArcModel.
|
virtual |
Sets whether or not to fill the ellipse.
Implements makVrv::DtOverlayEllipseArcModel.
Reimplemented in makVrf::DtVrfOverlayEllipseArcModel.
|
virtual |
If not filled, sets the width of the outer circle.
Implements makVrv::DtOverlayEllipseArcModel.
Reimplemented in makVrf::DtVrfOverlayEllipseArcModel.
|
virtual |
Sets to handle or not handle mouse events.
Implements makVrv::DtOverlayEllipseArcModel.
Reimplemented in makVrf::DtVrfOverlayEllipseArcModel.
|
virtual |
Sets stipple pattern for the polygon.
Implements makVrv::DtOverlayEllipseArcModel.
Reimplemented in makVrf::DtVrfOverlayEllipseArcModel.
|
virtual |
Sets the full fill pattern of the polygon. Must also call setFill to enable fill mode.
Implements makVrv::DtOverlayEllipseArcModel.
|
virtual |
Sets whether or not to outline the polygon with a scribe as if unfilled, even when filled. Only valid if fill is also true.
Implements makVrv::DtOverlayEllipseArcModel.
|
virtual |
Sets to fill the center solid (if filled) not gradiant. Default is false.
Implements makVrv::DtOverlayEllipseArcModel.
|
virtual |
The higher the Z order the "closer" to the eyepoint this element will be drawn. Use this variable to stack overlay objects in the particular order you want them displayed.
Implements makVrv::DtOverlayEllipseArcModel.
|
virtual |
Called when the model's position changes.
Reimplemented from makVrv::DtModel.
Reimplemented in makVrf::DtVrfOverlayEllipseArcModel.
|
virtual |
Called when the model's orientation changes.
Reimplemented from makVrv::DtModel.
Reimplemented in makVrf::DtVrfOverlayEllipseArcModel.
|
virtual |
Called on tick when updated, calls updateGeometry() of model instance.
Reimplemented in makVrf::DtVrfOverlayEllipseArcModel.
|
virtual |
Sets the model definition on the model instance.
Reimplemented from makVrv::DtModel.
|
protectedvirtual |
Attaches the model to the scene.
Implements makVrv::DtModel.
Reimplemented in makVrf::DtVrfOverlayEllipseArcModel.
|
protectedvirtual |
Detaches the model from the scene.
Implements makVrv::DtModel.
|
protectedvirtual |
Set whether the model is part of the support group (whether or not other scene objects can ground clamp to this model)
Implements makVrv::DtModel.
|
protectedvirtual |
Sets needs update flag such that on next update pass the object is updated.
|
protected |
|
protected |
|
protected |