![]() |
VR-Forces Developer's Guide
|
Base Overlay Model.

Public Member Functions | |
| DtOverlayModel (DtDe &de, DtUniqueID id) | |
| virtual | ~DtOverlayModel () |
| DtOverlayModel ()=delete | |
| DtOverlayModel (const DtOverlayModel &)=delete | |
| DtOverlayModel & | operator= (const DtOverlayModel &)=delete |
| DtOverlayModel (const DtOverlayModel &&)=delete | |
| DtOverlayModel & | operator= (const DtOverlayModel &&other)=delete |
| virtual void | setOrientation (const DtTaitBryan &orientation) |
| virtual void | setColor (float r, float g, float b, float a) |
| virtual bool | getColor (float &r, float &g, float &b, float &a) const |
Model setters/getters (abstract) | |
| virtual void | setOrigin (const DtVector &position) |
| virtual DtVector | origin () const |
| virtual void | setScale (float scale) |
| virtual float | scale () const |
| virtual void | setVisible (bool isVisible) |
| virtual bool | isVisible () const |
| virtual void | setStipplePattern (unsigned int stipplePattern) |
| virtual unsigned int | stipplePattern () const |
| virtual void | setLineWidth (float) |
| virtual float | lineWidth () const |
| virtual void | setEventsEnabled (bool enabled) |
| virtual bool | eventsEnabled () const |
| virtual void | setGroup (int groupNum) |
| virtual int | group () const |
| virtual void | setFontFile (std::string fontFile) |
| virtual std::string | fontFile () const |
| virtual void | setFontPointSize (float pointSize) |
| virtual float | fontPointSize () const |
| virtual void | setFontColor (float r, float g, float b, float a) |
| virtual bool | getFontColor (float &r, float &g, float &b, float &a) const |
| virtual void | setPosition (int vtx, const DtVector &position) override |
| virtual void | setOrientation (int vtx, const DtTaitBryan &orientation) override |
| virtual void | setModelDefinition (const std::string &str) override |
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 |
| 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 | 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 () |
Protected Member Functions | |
| virtual void | needsUpdate () |
| virtual void | update () |
| virtual void | createGeometryIfNecessary ()=0 |
| virtual void | clearGeometry ()=0 |
| virtual void | updateVertices ()=0 |
| virtual void | updateColors ()=0 |
| virtual void | updateStipplePattern ()=0 |
| virtual void | updateLineWidth ()=0 |
| virtual void | updateEventsEnabled ()=0 |
| virtual void | updateGroup ()=0 |
| virtual void | updateLabels ()=0 |
| virtual void | slot_coordinateSystemChanged () |
| virtual void | addToScene (const DtUniqueID &sceneObjectId, DtModelSetId modelSet, int visualizerType) override |
| virtual void | removeFromScene () override |
| virtual void | setIsSupportModel (bool isSupport) override |
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 () |
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::DtOverlayModel::DtOverlayModel | ( | DtDe & | de, |
| DtUniqueID | id | ||
| ) |
CTOR.
|
virtual |
DTOR.
|
delete |
Default Constructor - not allowed.
|
delete |
Copy Constructor - not allowed.
|
delete |
Move Constructor not allowed.
|
delete |
Assignment Operator - not allowed.
|
delete |
Move assignment Operator - not allowed.
|
virtual |
Set/Get the global position of the security model.
|
virtual |
Set/Get the global position of the security model.
|
virtual |
Set the global orientation of the security model.
|
virtual |
Set/Get the numeric factor the security model is scaled by.
|
virtual |
Set/Get the numeric factor the security model is scaled by.
|
virtual |
Set/Get whether the security model is visible.
Reimplemented from makVrv::DtModel.
|
virtual |
Set/Get whether the security model is visible.
Set/Get the stipple pattern for the security model.
Set/Get the stipple pattern for the security model.
|
virtual |
Set/Get the line width of the security model.
|
virtual |
Set/Get the line width of the security model.
|
virtual |
Sets the line color of the security model.
Reimplemented from makVrv::DtModel.
|
virtual |
|
virtual |
Set/Get whether to handle mouse events or not.
|
virtual |
Set/Get whether to handle mouse events or not.
|
virtual |
Sets 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.
|
virtual |
Sets 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.
|
virtual |
Set/Get the font file to use for the spider web.
|
virtual |
Set/Get the font file to use for the spider web.
|
virtual |
Set/Get the font point size for the spider web.
|
virtual |
Set/Get the font point size for the spider web.
|
virtual |
Set/Get the font color for the spider web.
|
virtual |
Set/Get the font color for the spider web.
|
overridevirtual |
Set the position of a vertex in the security model.
Reimplemented from makVrv::DtModel.
|
overridevirtual |
Set the orientation of the security model This function only does something if vtx equals 0.
Reimplemented from makVrv::DtModel.
|
overridevirtual |
Sets the model definition on the model instance.
Reimplemented from makVrv::DtModel.
|
overrideprotectedvirtual |
Attaches the model to the scene.
Implements makVrv::DtModel.
|
overrideprotectedvirtual |
Detaches the model from the scene.
Implements makVrv::DtModel.
|
overrideprotectedvirtual |
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 flag so the object is updated in the next update pass.
|
protectedvirtual |
Called on tick.
|
protectedpure virtual |
Create according to current state.
Implemented in makVrv::DtOverlayLinearModel.
|
protectedpure virtual |
Delete the DtSegmentedLines.
Implemented in makVrv::DtOverlayLinearModel.
|
protectedpure virtual |
Update the vertex locations.
Implemented in makVrv::DtOverlayLinearModel.
|
protectedpure virtual |
Update methods, derived classes instantiate.
Implemented in makVrv::DtOverlayLinearModel.
|
protectedpure virtual |
Implemented in makVrv::DtOverlayLinearModel.
|
protectedpure virtual |
Implemented in makVrv::DtOverlayLinearModel.
|
protectedpure virtual |
Implemented in makVrv::DtOverlayLinearModel.
|
protectedpure virtual |
Updates the interface and label groups.
Implemented in makVrv::DtOverlayLinearModel.
|
protectedpure virtual |
Updates the font, font color and altitude specific font for labels These should not change regularly.
Implemented in makVrv::DtOverlayLinearModel.
|
protectedvirtual |
Slot for when the coordinate system changes.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |