|
| | DtExtrudedPolygonModelInstance (DtDe &de) |
| | CTOR. More...
|
| |
| virtual | ~DtExtrudedPolygonModelInstance () |
| | DTOR. More...
|
| |
| virtual void | setFill (bool) |
| | Sets whether or not polygon is filled or just an outline (default is false) More...
|
| |
| virtual void | setPolygonMode (DtExtrudedPolygonModel::PolygonMode mode) |
| | Sets the mode of the polygon (by default top and bottom) More...
|
| |
| virtual void | updateGeometry () |
| | If polygons need updating, also update them. More...
|
| |
| virtual void | setInsideColor (float r, float g, float b, float a) |
| | Set the inside color of the line. More...
|
| |
| virtual void | getInsideColor (float &r, float &g, float &b, float &a) const |
| | Gets the inside color of the line. More...
|
| |
| virtual void | setOutsideColor (float r, float g, float b, float a) |
| | Set the outside color of the line. More...
|
| |
| virtual void | getOutsideColor (float &r, float &g, float &b, float &a) const |
| | Gets the outside color of the line. More...
|
| |
| virtual void | setColor (float r, float g, float b, float a) |
| | Sets the inside and outside color. More...
|
| |
| | DtExtrudedModelInstance (DtDe &de) |
| | CTOR. More...
|
| |
| virtual | ~DtExtrudedModelInstance () |
| | DTOR. More...
|
| |
| virtual const PointVector & | points () const |
| | Returns the points associated with this model. More...
|
| |
| virtual void | addPoint (const DtVector &, int index=-1) |
| | Add a control point to the end of the control point list if index is -1, or, at the specified index. More...
|
| |
| virtual void | removePoint (int index) |
| | Remove a control point at the specified index. More...
|
| |
| virtual void | setPoints (const std::vector< DtVector > &) |
| | Sets all the points. More...
|
| |
| virtual void | setPosition (int index, const DtVector &) |
| | Move a control point at the specified index to a new position. More...
|
| |
| virtual void | setPositions (const std::vector< DtVector > &) |
| | Sets all the positions int the model. replacing existing. More...
|
| |
| virtual void | clearPoints () |
| | Clears out positions and resets geometry. More...
|
| |
| virtual bool | realize (DtModelDefinition &definition) |
| | Attempt to realize a definition. More...
|
| |
| virtual void | addToConnector (DtOsgSceneConnector *connector) |
| | Tell the model instance to add itself to the provided node. More...
|
| |
| virtual bool | removeFromConnector (DtOsgSceneConnector *connector) |
| | Tell the model instance to remove itself from the provided node. More...
|
| |
| virtual void | setStipplePattern (unsigned int) |
| | Sets the stipple pattern of the line. More...
|
| |
| virtual void | getColor (float &r, float &g, float &b, float &a) const |
| | Gets the color of the line. More...
|
| |
| virtual void | setTextureHeight (double height) |
| | Set the height of the texture in meters. More...
|
| |
| virtual void | setTextureWidth (double width) |
| | Set the width of the texture tiles in meters. More...
|
| |
| virtual void | setTexture (osg::Texture *texture) |
| | Set the shape's texture. More...
|
| |
| virtual void | setWidth (float) |
| | Sets the width of the line. If there is height, will 0 out height. More...
|
| |
| virtual void | setHeight (float) |
| | Sets the height of the line ("up/down" the origin point). More...
|
| |
| virtual void | setDimensions (float width, float height) |
| | Sets the dimensions of the line. More...
|
| |
| virtual void | setLineWidth (float width) |
| | Sets the width of the line in pixel space, not world. More...
|
| |
| virtual void | setScribeWidth (float width) |
| | Sets the width of the scribe line in pixel space. More...
|
| |
| virtual void | setScribeAllPolygons (bool) |
| | Sets whether or not to only scribe the outline (and not the line edges). More...
|
| |
| virtual void | setScribed (bool b) |
| | Sets the line to be scribed (default true) More...
|
| |
| virtual void | setScribeColor (float r, float g, float b, float a) |
| | Sets the color of the scribe line. More...
|
| |
| virtual void | setVisible (bool isVisible) |
| | no-op More...
|
| |
| int | pointCount () const |
| | Returns the number of points. More...
|
| |
| const DtVector & | origin () const |
| | Returns the origin point of the line. More...
|
| |
| const DtVector & | point (int) const |
| | Returns the point at the given index. zero point if index is out of range. More...
|
| |
| virtual void | setPickable (bool) |
| | Sets whether or not line is pickable. More...
|
| |
| bool | pickable () const |
| | Returns whether or not line is pickable. More...
|
| |
| void | setOrigin (const DtVector &origin) |
| |
| virtual void | setSolid (bool) |
| | Sets shape solid or outlined only. If solid is false and scribed is false, line will be effectively invisible. More...
|
| |
| osg::Node * | rootNode () |
| | Returns the root node. More...
|
| |
| virtual void | setUpExtent (float height) |
| | Set the shape's upwards extrusion extent. More...
|
| |
| virtual void | setDownExtent (float height) |
| | Set the shape's downwards extrusion extent. More...
|
| |
| virtual void | setLeftExtent (float height) |
| | Set the shape's left extrusion extent. More...
|
| |
| virtual void | setRightExtent (float heigh) |
| | Set the shape's right extrusion extent. More...
|
| |
| virtual | ~DtOsgModelInstance () |
| | DTOR. More...
|
| |
| virtual bool | cloneInstance (DtModelDefinition &definition) |
| | Attempt to clone the basic geometry. More...
|
| |
| virtual bool | saveModelToFile (const std::string &filename) const |
| | Attempt to save the model to a file. 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...
|
| |
| virtual void | setBlendColor (float r, float g, float b, float a) |
| | set the model's color More...
|
| |
| virtual void | enableTexture (bool onOff) |
| |
| virtual const osg::Node * | rootNode () const |
| |
| virtual osg::Node * | sensorNode () |
| | Get the model instance's sensor node, . More...
|
| |
| virtual const osg::Node * | sensorNode () const |
| |
| virtual void | addDynamicSensorRegion (const std::string ®ion) |
| | Add an active region state. More...
|
| |
| virtual void | setDynamicSensorRegion (const std::string ®ion, bool state) |
| | Set the state of an active region. More...
|
| |
| virtual bool | dynamicSensorRegion (const std::string ®ion) |
| | Get the current state of the specified sensor region. More...
|
| |
| SensorRegionStateMap const | dynamicSensorRegionMap () const |
| | Get the map containing all regions and their current states. More...
|
| |
| virtual void | slot_atcGlobalModelEnableChanged () |
| | Slot to handle the global alpha to coverage signal for entities. More...
|
| |
| virtual bool | alphaToCoverageEnabled () |
| | Get the current setting for alpha to coverage for this model. More...
|
| |
| virtual void | registerLightPoints (const std::string &groupName, bool daylightControlledLights) |
| | loop over all this models light points and register them with the light point manager daylightControlled is only used if the light points do not already have a type specified More...
|
| |
| | DtModelInstance (DtDe &de) |
| | CTOR. More...
|
| |
| virtual | ~DtModelInstance () |
| | DTOR. More...
|
| |
| const std::string & | realizedDefinitionName () const |
| | Get the name of the definition that this model instance was realized with. 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...
|
| |
A prism controlled by control points.