|
| | DtOsgOverlayPolygonModelInstance (DtDe &de) |
| | CTOR. More...
|
| |
| virtual | ~DtOsgOverlayPolygonModelInstance () |
| | DTOR. More...
|
| |
| virtual void | setModelSet (int) |
| | Sets the model set this overlay item belongs to. More...
|
| |
| virtual void | setPosition (int vtx, const DtVector &position) |
| | Set one of the endpoints of the Polygon. More...
|
| |
| virtual void | setRotation (const osg::Quat &quat) |
| | Set the rotation of the polygon. More...
|
| |
| virtual void | setOrigin (const DtVector &) |
| | Sets the origin. Will update geometry. More...
|
| |
| virtual void | setGroup (int) |
| | The higher the Z order the "closer" to the eyepoint this element will be drawn. More...
|
| |
| virtual DtVector | origin () const |
| | Returns the origin. More...
|
| |
| virtual void | addPoint (const DtVector &point, int index) |
| | Add a new point to the polygon at the specified index, or, at the end if index is -1. More...
|
| |
| virtual void | removePoint (int index) |
| | Removes the point from the specified index. More...
|
| |
| virtual void | set2dOffset (int index, float x, float y) |
| | Sets the 2D offset of a vertex. More...
|
| |
| virtual void | set3dDirection2dLength (int index, float x, float y, float z, float len) |
| | Sets a 3D direction with a 2D length of a vertex. More...
|
| |
| virtual void | setColor (float r, float g, float b, float a) |
| | Set the color of the Polygon. More...
|
| |
| virtual void | setTexturePath (const std::string &texturePath) |
| | Set the texture file path for the polygon. More...
|
| |
| virtual void | setOutlineTexture (const std::string &texturePath) |
| | Sets the texture to use for the outline of the polygon. More...
|
| |
| virtual void | setOutlineTexture (osg::Texture *texture) |
| | Sets the texture to use for the outline of the polygon. More...
|
| |
| virtual void | setSolidFillCenter (bool) |
| | Sets to fill the center solid (if filled) not gradiant. Default is false. More...
|
| |
| virtual void | setNumTextureTiles (double numTiles) |
| | Set the number of times to tile the texture. More...
|
| |
| virtual void | setStipplePattern (unsigned int stipplePattern) |
| | Sets stipple pattern for the polygon. More...
|
| |
| virtual void | setWidth (float width) |
| | Set the polygon outline width. More...
|
| |
| virtual void | setEventWidth (float width) |
| | Set the polygon outline width. More...
|
| |
| virtual void | setVisible (bool isVisible) |
| | Sets whether the model is visible or not. More...
|
| |
| bool | updatesLocked () const |
| | Returns whether or not updates are locked. More...
|
| |
| virtual void | setPickable (bool enabled) |
| | Sets whether or not the polygon is pickable. More...
|
| |
| virtual void | setEventsEnabled (bool, unsigned long long userData) |
| | Sets whether or not mouse events are enabled. More...
|
| |
| bool | eventsEnabled () const |
| | Gets whether or not mouse events are enabled. More...
|
| |
| virtual void | setFill (bool) |
| | Sets whether or not polygon is filled. More...
|
| |
| virtual void | setInsideColor (float r, float g, float b, float a) |
| | Set the color at the center of the ellipse. More...
|
| |
| virtual void | getInsideColor (float &r, float &g, float &b, float &a) |
| | Retrieves the inside color. More...
|
| |
| virtual void | setOutsideColor (float r, float g, float b, float a) |
| | Set the color on the outside of the ellipse. More...
|
| |
| virtual void | getOutsideColor (float &r, float &g, float &b, float &a) |
| | Retrieves the inside color. More...
|
| |
| virtual int | pointCount () const |
| | Retrieves the number of points in the model. More...
|
| |
| virtual DtVector | point (int) const |
| | Retrieves the point. More...
|
| |
| virtual void | setFillPattern (const std::vector< unsigned int > &pattern) |
| | Sets fill pattern (32x32) More...
|
| |
| 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. More...
|
| |
| virtual void | setChannelInstance (DtChannel *, int modelSet) |
| | Set to make this model channel specific. More...
|
| |
| virtual const VertexList & | vertexList () const |
| | Returns the vertex information for this polygon. More...
|
| |
| virtual void | setPoints (const std::vector< DtVector > &points) |
| | Sets all the points for this polygon. More...
|
| |
| virtual void | setVertexList (const VertexList &) |
| | Sets the vertex information for this polygon. More...
|
| |
virtual const std::vector
< DtVector > & | points () const |
| | Returns the list of vertices. More...
|
| |
| virtual void | updateGeometry () |
| | Updates the vertex information into the polygon (if not locked) More...
|
| |
| | DtModelInstance (DtDe &de) |
| | CTOR. More...
|
| |
| virtual | ~DtModelInstance () |
| | DTOR. More...
|
| |
| virtual bool | realize (DtModelDefinition &definition) |
| | Attempt to realize a definition. More...
|
| |
| virtual bool | cloneInstance (DtModelDefinition &definition) |
| | Attempt to clone the basic geometry. More...
|
| |
| const std::string & | realizedDefinitionName () const |
| | Get the name of the definition that this model instance was realized with. More...
|
| |
| virtual bool | saveModelToFile (const std::string &filename) const |
| | Attempt to save the model to a file. More...
|
| |
| const DtVector & | boundingBoxExtents () const |
| | Get the bounding box extents of the model instance. More...
|
| |
| void | getBoundingBoxExtents (double &x, double &y, double &z) const |
| | Get the bounding box extents of the model instance. More...
|
| |
| const DtVector & | boundingBoxCenter () const |
| | Get the bounding box center of the model instance. More...
|
| |
| void | getBoundingBoxCenter (double &x, double &y, double &z) const |
| | Get the bounding box center of the model instance. More...
|
| |
| void | getBoundingBoxComponents (DtVector &minimum, DtVector &maximum) |
| | Get the bounding box min/max of the model instance. More...
|
| |
| const DtVector & | allGeometryboundingBoxExtents () const |
| | functions for getting the allGeometry versions of the extents (they are calculated by traversing as if all switch paths are active) More...
|
| |
| void | getAllGeometryBoundingBoxExtents (double &x, double &y, double &z) const |
| | Get the all geometry version of bounding box extents of the model instance. More...
|
| |
| const DtVector & | allGeometryboundingBoxCenter () const |
| | Get the all geometry version of bounding box center of the model instance. More...
|
| |
| void | getAllGeometryBoundingBoxCenter (double &x, double &y, double &z) const |
| | Get the all geometry version of bounding box center of the model instance. More...
|
| |
| void | getAllGeometryBoundingBoxComponents (DtVector &minimum, DtVector &maximum) |
| | Get the all geometry version of bounding box min/max of the model instance. More...
|
| |
| virtual void | setContributesToBound (bool trueOrFalse) |
| | Set whether this model instance contributes to an object's overall bounding volume. More...
|
| |
| bool | contributesToBound () const |
| | Get whether this model instance contributes to an object's overall bounding volume. More...
|
| |
| virtual void | setBlendColor (float r, float g, float b, float a) |
| | set the model's color More...
|
| |
| virtual void | enableColorBlending (bool b) |
| | Enable / disable coloring on all models in the scene object Note about enableColorBlending: If this particular model has instancing enabled then this flag is set to false and color blending is handled by the instance manager. More...
|
| |
Model instance to draw a polygon on the overlay, either filled or outline.