![]() |
VR-Forces 4.1 Class Documentation
|
vrvGraphics implementation of a 2D ellipsoid arc More...

Public Member Functions | |
| DtOsgOverlayEllipseArcModelInstance (DtDe &de) | |
| CTOR. | |
| virtual | ~DtOsgOverlayEllipseArcModelInstance () |
| DTOR. | |
| virtual void | setModelSet (int modelSet) |
| Sets the model set for the overlay. | |
| virtual void | setMaxAngleSegment (double angleSegmentMax) |
| Set the max angle segment used when building the geometry. | |
| virtual void | setGeometry (double angle, double sweep) |
| Sets the direction and sweep angles on the geometry. | |
| virtual void | setDimensions (float x, float y) |
| Set the axis lengths of the ellipsoid. | |
| virtual void | dimensions (float &x, float &y) |
| virtual void | setRelativePosition (double x, double y, double z) |
| Set the local translation of the ellipsoid. | |
| virtual void | setPosition (const DtVector &position) |
| Set the global position of the ellipsoid. | |
| DtVector | position () const |
| virtual void | setOrientation (const DtTaitBryan &orientation) |
| Set the global orientation of the ellipsoid. | |
| virtual void | setScale (float scale) |
| Set the ellipse's scale. | |
| virtual void | setInsideColor (float r, float g, float b, float a) |
| Set the color at the center of the ellipse. | |
| virtual void | setOutsideColor (float r, float g, float b, float a) |
| Set the color on the outside of the ellipse. | |
| virtual void | setLockUpdates (bool lock) |
| Signals whether dirty flags should be used so updates are only applied on unlock. | |
| virtual void | setVisible (bool isVisible) |
| Set whether the model is visible. | |
| virtual void | setSolidFillCenter (bool) |
| Sets to fill the center solid (if filled) not gradiant. Default is false. | |
| virtual void | setFill (bool) |
| Sets whether or not to fill the ellipse. | |
| virtual void | setOutlineWidth (float) |
| If not filled, sets the width of the outer circle. | |
| virtual void | setEventsEnabled (bool, unsigned long long userData) |
| Sets to handle or not handle mouse events. | |
| virtual void | setFillPattern (const std::vector< unsigned int > pattern) |
| Sets fill pattern (32x32) | |
| virtual void | setOutline (bool) |
| Sets the fact that, if the object is filled, also provide an outline scribe. Basically create a filled and outline polygon. | |
| virtual void | setColor (float r, float g, float b, float a) |
| Sets inside and outside color. | |
| virtual void | setTexturePath (const std::string &texturePath) |
| Set the texture file path for the polygon. | |
| virtual void | setOutlineTexture (const std::string &texturePath) |
| Sets the texture to use for the outline of the polygon. | |
| virtual void | setOutlineTexture (osg::Texture *texture) |
| Sets the texture to use for the outline of the polygon. | |
| virtual void | setStipplePattern (unsigned int stipplePattern) |
| Sets stipple pattern for the polygon. | |
| virtual bool | realize (DtModelDefinition &definition) |
| Attempt to realize a definition. | |
Public Member Functions inherited from makVrv::DtOsgModelInstance | |
| virtual | ~DtOsgModelInstance () |
| DTOR. | |
| virtual void | addToConnector (DtOsgSceneConnector *connector) |
| Brief Tell the model instance to add itself to the provided node. | |
| virtual bool | removeFromConnector (DtOsgSceneConnector *connector) |
| Brief Tell the model instance to remove itself from the provided node. | |
| virtual bool | saveModelToFile (const std::string &filename) const |
| Attempt to save the model to a file. | |
| virtual void | enableColorBlending (bool b) |
| Enable / disable coloring on all models in the scene object. | |
| virtual void | setBlendColor (float r, float g, float b, float a) |
| set the model's color | |
| virtual void | enableTexture (bool onOff) |
| virtual osg::Node * | rootNode () |
| Get the model instance's root node. | |
| virtual const osg::Node * | rootNode () const |
| Get the model instance's root node. | |
Public Member Functions inherited from makVrv::DtModelInstance | |
| DtModelInstance (DtDe &de) | |
| CTOR. | |
| virtual | ~DtModelInstance () |
| DTOR. | |
| const std::string & | realizedDefinitionName () const |
| Get the name of the definition that this model instance was realized with. | |
| const DtVector & | boundingBoxExtents () const |
| Get the bounding box extents of the model instance. | |
| void | getBoundingBoxExtents (double &x, double &y, double &z) const |
| Get the bounding box extents of the model instance. | |
| const DtVector & | boundingBoxCenter () const |
| Get the bounding box center of the model instance. | |
| void | getBoundingBoxCenter (double &x, double &y, double &z) const |
| Get the bounding box center of the model instance. | |
| void | getBoundingBoxComponents (DtVector &minimum, DtVector &maximum) |
| virtual void | setContributesToBound (bool trueOrFalse) |
| Set whether this model instance contributes to an object's overall bounding volume. | |
| bool | contributesToBound () const |
| Get whether this model instance contributes to an object's overall bounding volume. | |
Protected Member Functions | |
| virtual void | createPolygonIfNecessary () |
| Create myPolygon according to current state. | |
| virtual void | updateVertices () |
| Update the polygon vertex locations. | |
| virtual void | channelUpdated (DtTacticalGraphicModelUpdaterManager::ChannelUpdateData) |
| Update data with change to zoom or orientation. | |
| virtual void | updateColors () |
| Update the vertex colors. | |
| virtual void | set3DVertexPosition (unsigned int index, double x, double y, double z) |
| Sets a polygon vertex's position. | |
| virtual void | set3DCentroidPosition (double x, double y, double z) |
| Sets the polygon centroid's position. | |
| virtual void | set3DPositionAux (double x, double y, double z, float tempPackedCoords[4]) |
| Utility function for transforming a vertex and setting it on the polygon. | |
Protected Member Functions inherited from makVrv::DtOsgModelInstance | |
| virtual void | updateColorBlending () |
| calls update color blending with the model root. | |
| virtual void | updateColorBlending (osg::Node *node) |
| virtual void | enableTexture (osg::Node *root, bool onOff) |
| virtual void | updateBoundingBoxViaContents () |
| DtOsgModelInstance (DtDe &de) | |
| CTOR. | |
| virtual void | setRootNode (osg::Node *node) |
| Set the model instance's root node. | |
Additional Inherited Members | |
Static Public Member Functions inherited from makVrv::DtOsgModelInstance | |
| static osg::Vec4 | readVec4 (const std::string ¶mName, const DtModelDefinition &definition) |
| static osg::Vec3 | readVec3 (const std::string ¶mName, const DtModelDefinition &definition) |
Public Attributes inherited from makVrv::DtModelInstance | |
| boost::signal< void(DtModelInstance *)> | signal_modelInstanceChanged |
vrvGraphics implementation of a 2D ellipsoid arc
| makVrv::DtOsgOverlayEllipseArcModelInstance::DtOsgOverlayEllipseArcModelInstance | ( | DtDe & | de | ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Sets the model set for the overlay.
|
virtual |
Set the max angle segment used when building the geometry.
|
virtual |
Sets the direction and sweep angles on the geometry.
|
virtual |
Set the axis lengths of the ellipsoid.
|
virtual |
|
virtual |
Set the local translation of the ellipsoid.
|
virtual |
Set the global position of the ellipsoid.
| DtVector makVrv::DtOsgOverlayEllipseArcModelInstance::position | ( | ) | const |
|
virtual |
Set the global orientation of the ellipsoid.
|
virtual |
Set the ellipse's scale.
|
virtual |
Set the color at the center of the ellipse.
|
virtual |
Set the color on the outside of the ellipse.
|
virtual |
Signals whether dirty flags should be used so updates are only applied on unlock.
|
virtual |
Set whether the model is visible.
Implements makVrv::DtModelInstance.
|
virtual |
Sets to fill the center solid (if filled) not gradiant. Default is false.
|
virtual |
Sets whether or not to fill the ellipse.
|
virtual |
If not filled, sets the width of the outer circle.
|
virtual |
Sets to handle or not handle mouse events.
|
virtual |
Sets fill pattern (32x32)
|
virtual |
Sets the fact that, if the object is filled, also provide an outline scribe. Basically create a filled and outline polygon.
|
virtual |
Sets inside and outside color.
|
virtual |
Set the texture file path for the polygon.
The texture will be projected using the x-y coordinates of a topographic frame with the origin at some arbitrary point of the polygon.
|
virtual |
Sets the texture to use for the outline of the polygon.
|
virtual |
Sets the texture to use for the outline of the polygon.
|
virtual |
Sets stipple pattern for the polygon.
|
virtual |
Attempt to realize a definition.
If the model instance can't realize the definition it should return false.
Reimplemented from makVrv::DtModelInstance.
|
protectedvirtual |
Create myPolygon according to current state.
|
protectedvirtual |
Update the polygon vertex locations.
|
protectedvirtual |
Update data with change to zoom or orientation.
|
protectedvirtual |
Update the vertex colors.
|
protectedvirtual |
Sets a polygon vertex's position.
|
protectedvirtual |
Sets the polygon centroid's position.
|
protectedvirtual |
Utility function for transforming a vertex and setting it on the polygon.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |