![]() |
VR-Forces 5.0.2 Developer's Guide
|
Interface class for an Overlay Spider Web Model. An overlay model is positioned in 3D space and drawn onto a model set specific overlay.
A spider web is defined by: 1) An origin vertex, 2) a radius, 3) the number of spokes, and 4) the number of rings OR ring interval distance
A spider web has the following geometric parameters:
A spider web has the following style properties:
Special Considerations:

Public Member Functions | |
| DtOverlaySpiderWebModel (DtDe &de, DtUniqueID id) | |
| virtual | ~DtOverlaySpiderWebModel () |
Model setters/getters (abstract) | |
| virtual void | setPosition (const DtVector &position)=0 |
| virtual DtVector | position () const =0 |
| virtual void | setOrientation (const DtTaitBryan &orientation)=0 |
| virtual DtTaitBryan | orientation () const =0 |
| virtual void | setHeading (float heading)=0 |
| virtual float | heading () const =0 |
| virtual void | setMaxAngleSegment (double angleSegmentMax)=0 |
| virtual double | maxAngleSegment () const =0 |
| virtual void | setRadius (double x)=0 |
| virtual double | radius () const =0 |
| virtual void | setScale (float scale)=0 |
| virtual float | scale () const =0 |
| virtual void | setVisible (bool isVisible)=0 |
| virtual bool | isVisible () const =0 |
| virtual void | setNumberOfSpokes (unsigned int numSpokes)=0 |
| virtual unsigned int | numberOfSpokes () const =0 |
| virtual void | setNumberOfRings (unsigned int numRings)=0 |
| virtual unsigned int | numberOfRings () const =0 |
| virtual void | setIsInnerRingFilled (bool filled)=0 |
| virtual bool | isInnerRingFilled () const =0 |
| virtual void | setRingIntervalDistance (double interval)=0 |
| virtual double | ringIntervalDistance () const =0 |
| virtual void | setLineStipplePattern (unsigned int stipplePattern)=0 |
| virtual unsigned int | lineStipplePattern () const =0 |
| virtual void | setLineWidth (float width)=0 |
| virtual float | lineWidth () const =0 |
| virtual void | setColor (float r, float g, float b, float a)=0 |
| virtual bool | getColor (float &r, float &g, float &b, float &a) const =0 |
| virtual void | setOpacity (float opacity)=0 |
| virtual float | opacity () const =0 |
| virtual void | setEventsEnabled (bool enabled)=0 |
| virtual bool | eventsEnabled () const =0 |
| virtual void | setListenToDisplayUnitSettings (bool listen)=0 |
| virtual bool | listenToDisplayUnitSettings () const =0 |
| virtual void | setGroup (int groupNum)=0 |
| virtual int | group () const =0 |
| virtual void | setIsDecorated (bool isDecorated)=0 |
| virtual bool | isDecorated () const =0 |
| virtual void | setFontFile (std::string fontFile)=0 |
| virtual std::string | fontFile () const =0 |
| virtual void | setFontPointSize (float pointSize)=0 |
| virtual float | fontPointSize () const =0 |
| virtual void | setFontColor (float r, float g, float b, float a)=0 |
| virtual bool | getFontColor (float &r, float &g, float &b, float &a) const =0 |
| virtual void | setDistanceUnit (DtSharedDisplayUnitsSettings::DistanceUnits unit)=0 |
| virtual DtSharedDisplayUnitsSettings::DistanceUnits | distanceUnit () const =0 |
| virtual void | setDistanceDecimals (unsigned int decimals)=0 |
| virtual unsigned int | distanceDecimals () const =0 |
| virtual void | setOrientationUnit (DtSharedDisplayUnitsSettings::OrientationUnits unit)=0 |
| virtual DtSharedDisplayUnitsSettings::OrientationUnits | orientationUnit () const =0 |
| virtual void | setOrientationDecimals (unsigned int decimals)=0 |
| virtual unsigned int | orientationDecimals () const =0 |
| virtual void | setNorthUnit (DtSharedDisplayUnitsSettings::NorthUnits unit)=0 |
| virtual DtSharedDisplayUnitsSettings::NorthUnits | northUnit () const =0 |
Public Member Functions inherited from makVrv::DtModel | |
| DtModel (DtDe &de, DtUniqueID id) | |
| virtual | ~DtModel () |
| DtModelInstance * | createModelInstance (const std::string &modelDefName, bool realize=true) |
| virtual void | setModelDefinition (const std::string &str) |
| virtual const std::string & | modelDefinitionName () |
| virtual void | saveModelToFile (const std::string &filename) |
| virtual const std::string & | className () const |
| unsigned int | transformSize () const |
| virtual void | setPosition (int vtx, const DtVector &position) |
| 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 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 | setIsSupportModel (bool isSupport)=0 |
| 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 () |
Private Member Functions | |
| DtOverlaySpiderWebModel () | |
| DtOverlaySpiderWebModel (const DtOverlaySpiderWebModel &) | |
| DtOverlaySpiderWebModel & | operator= (const DtOverlaySpiderWebModel &) |
| makVrv::DtOverlaySpiderWebModel::DtOverlaySpiderWebModel | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
private |
Default Constructor not implemented.
|
private |
Copy Constructor not implemented – Copy not allowed.
|
pure virtual |
Set/Get the global position of the spider web.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the global position of the spider web.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set the global orientation of the spider web Calls to this function will override prior calls to setHeading.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set the global orientation of the spider web Calls to this function will override prior calls to setHeading.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set the heading of the spider web, in radians from True North Calls to this function will override prior calls to setOrientation.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set the heading of the spider web, in radians from True North Calls to this function will override prior calls to setOrientation.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the max angle segment used when building the spider web.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the max angle segment used when building the spider web.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the radius (in meters) of the spider web.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the radius (in meters) of the spider web.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the spider web's scale factor.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the spider web's scale factor.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get whether the spider web is visible.
Reimplemented from makVrv::DtModel.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get whether the spider web is visible.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the number of spokes the spider web has.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
Set/Get the number of spokes the spider web has.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the number of rings the spider web has Any prior call to setRingIntervalDistance(...) is ignored, the ring interval distance will be (radius / number_of_rings).
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
Set/Get the number of rings the spider web has Any prior call to setRingIntervalDistance(...) is ignored, the ring interval distance will be (radius / number_of_rings).
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get whether the inner most ring of the spider web is filled.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get whether the inner most ring of the spider web is filled.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the ring interval distance for the spider web (in meters) Any prior call to setNumberOfRings(...) is ignored, the number of rings drawn will be (radius / ring_interval_distance).
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the ring interval distance for the spider web (in meters) Any prior call to setNumberOfRings(...) is ignored, the number of rings drawn will be (radius / ring_interval_distance).
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the line stipple pattern of the spider web.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
Set/Get the line stipple pattern of the spider web.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the line width of the spider web.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the line width of the spider web.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the color of the spider web Valid range for argument values are 0.0 - 1.0.
Reimplemented from makVrv::DtModel.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the color of the spider web Valid range for argument values are 0.0 - 1.0.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the opacity of the spider web Valid range for argument values are 0.0 - 1.0.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the opacity of the spider web Valid range for argument values are 0.0 - 1.0.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get to handle or not handle mouse events.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get to handle or not handle mouse events.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get whether or not to listen to display unit settings.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get whether or not to listen to display unit settings.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the group this overlay will be drawn in. The higher the group number, the "closer" to the eyepoint this overlay will be drawn. Use this function to stack overlay objects in the particular order you want them displayed.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the group this overlay will be drawn in. The higher the group number, the "closer" to the eyepoint this overlay will be drawn. Use this function to stack overlay objects in the particular order you want them displayed.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get whether or not this spider web is decorated. When a spider web is decorated, informative labels appear at each ring and spoke indicating the distance of the ring from the center and the angle of each spoke from North (True/Magnetic are supported).
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get whether or not this spider web is decorated. When a spider web is decorated, informative labels appear at each ring and spoke indicating the distance of the ring from the center and the angle of each spoke from North (True/Magnetic are supported).
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the font file to use for the spider web.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the font file to use for the spider web.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the font point size for the spider web.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the font point size for the spider web.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the font color for the spider web.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the font color for the spider web.
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the distance unit to use for the spider web. This function does nothing if setListenToDisplayUnitSettings(true).
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the distance unit to use for the spider web. This function does nothing if setListenToDisplayUnitSettings(true).
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the number of decimals to use for distance for the spider web. This function does nothing if setListenToDisplayUnitSettings(true).
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
Set/Get the number of decimals to use for distance for the spider web. This function does nothing if setListenToDisplayUnitSettings(true).
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the orientation unit to use for the spider web. This function does nothing if setListenToDisplayUnitSettings(true).
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the orientation unit to use for the spider web. This function does nothing if setListenToDisplayUnitSettings(true).
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the number of decimals to use for orientation values. This function does nothing if setListenToDisplayUnitSettings(true).
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
Set/Get the number of decimals to use for orientation values. This function does nothing if setListenToDisplayUnitSettings(true).
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the north unit to use for the spider web. This function does nothing if setListenToDisplayUnitSettings(true).
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
pure virtual |
Set/Get the north unit to use for the spider web. This function does nothing if setListenToDisplayUnitSettings(true).
Implemented in makVrv::DtOsgOverlaySpiderWebModel.
|
private |
Assignment Operator not implemented – Copy not allowed.