OSG-specific instance of an attachable, projected text model (as used for HAT lines)
|
| | DtProjectedTextModelInstance (DtDe &de, const std::string &uniqueName) |
| |
| | ~DtProjectedTextModelInstance () |
| |
| virtual void | addToConnector (DtOsgSceneConnector *connector) |
| |
| virtual bool | removeFromConnector (DtOsgSceneConnector *connector) |
| |
| virtual void | setColor (const osg::Vec4 &color) |
| |
| virtual void | setFontName (const std::string &fontName) |
| |
| virtual void | setFontSize (double size) |
| |
| virtual void | setText (const std::string &text) |
| |
| virtual void | setPosition (int vtx, const DtVector &position) |
| |
| virtual void | setVisible (bool visible) |
| |
| virtual | ~DtOsgModelInstance () |
| |
| virtual bool | realize (DtModelDefinition &definition) |
| |
| virtual bool | cloneInstance (DtModelDefinition &definition) |
| |
| virtual bool | saveModelToFile (const std::string &filename) const |
| |
| virtual void | enableColorBlending (bool b) |
| |
| virtual void | setBlendColor (float r, float g, float b, float a) |
| |
| virtual void | enableTexture (bool onOff) |
| |
| virtual osg::Node * | rootNode () |
| |
| virtual const osg::Node * | rootNode () const |
| |
| virtual osg::Node * | sensorNode () |
| |
| virtual const osg::Node * | sensorNode () const |
| |
| virtual void | setDynamicSensorRegion (const std::string ®ion, bool state) |
| |
| virtual bool | dynamicSensorRegion (const std::string ®ion) |
| |
virtual const
SensorRegionStateMap & | dynamicSensorRegionMap () const |
| |
| virtual void | slot_atcGlobalModelEnableChanged () |
| |
| virtual bool | alphaToCoverageEnabled () |
| |
| virtual void | registerLightPoints (const std::string &groupName, bool daylightControlledLights) |
| |
| | DtModelInstance (DtDe &de) |
| |
| virtual | ~DtModelInstance () |
| |
| const std::string & | realizedDefinitionName () const |
| |
| const DtVector & | boundingBoxExtents () const |
| |
| void | getBoundingBoxExtents (double &x, double &y, double &z) const |
| |
| const DtVector & | boundingBoxCenter () const |
| |
| void | getBoundingBoxCenter (double &x, double &y, double &z) const |
| |
| void | getBoundingBoxComponents (DtVector &minimum, DtVector &maximum) |
| |
| const DtVector & | allGeometryboundingBoxExtents () const |
| |
| void | getAllGeometryBoundingBoxExtents (double &x, double &y, double &z) const |
| |
| const DtVector & | allGeometryboundingBoxCenter () const |
| |
| void | getAllGeometryBoundingBoxCenter (double &x, double &y, double &z) const |
| |
| void | getAllGeometryBoundingBoxComponents (DtVector &minimum, DtVector &maximum) |
| |
| virtual void | setContributesToBound (bool trueOrFalse) |
| |
| bool | contributesToBound () const |
| |
|
| enum | AlphaToCoverageState { USE_GLOBAL,
FORCE_OFF,
FORCE_ON
} |
| |
typedef std::unordered_map
< std::string, bool > | SensorRegionStateMap |
| |
| static osg::Vec4 | readVec4 (const std::string ¶mName, const DtModelDefinition &definition, const osg::Vec4 &initValue=osg::Vec4(1, 1, 1, 1)) |
| |
| static osg::Vec3 | readVec3 (const std::string ¶mName, const DtModelDefinition &definition, const osg::Vec3 &initValue=osg::Vec3(1, 1, 1)) |
| |
| static float | readFloat (const std::string ¶mName, const DtModelDefinition &definition) |
| |
| static DtVector | readVector (const std::string ¶mName, const DtModelDefinition &definition) |
| |
boost::signalslib::signal
< void(const std::string &) > | signal_dynamicSensorRegionAdded |
| |
boost::signalslib::signal
< void(const std::string
&, bool) > | signal_dynamicSensorRegionChanged |
| |
boost::signalslib::signal
< void(bool)> | signal_atcModeEnableChanged |
| |
boost::signalslib::signal
< void(DtModelInstance *)> | signal_modelInstanceChanged |
| |