![]() |
VR-Forces 4.8 Class Documentation
|

Public Member Functions | |
| DtOsgEarthDynamicTerrainFeature (osgEarth::MapNode *mapNode, DtDe &de) | |
| constructor More... | |
| virtual | ~DtOsgEarthDynamicTerrainFeature () |
| destructor More... | |
| virtual DtString | description () const |
| Feature description functions Allows feature to describe itself (for a gui mostly). More... | |
| virtual const DtDynamicTerrainGeometry * | geometry () const |
| geometry for this feature. Currently always null since osgEarth cares about all of them More... | |
| virtual bool | matches (const DtDynamicTerrainChange &command, bool useOriginalGeometry) const |
| check to see if this feature cares about this command (checks state to see if it is in the command) More... | |
| virtual bool | matches (const DtDynamicTerrainGeometry &, bool useOriginalGeometry) const |
| always true since this feature cares about More... | |
| virtual void | changeState (const DtDynamicTerrainChanges &changes) |
| apply a change state More... | |
| virtual void | setState (const DtDynamicTerrainChange *command) |
| set the state for this change on the dynamic terrain More... | |
| virtual bool | isInDefaultState () const |
| for now it is never in the default state More... | |
| virtual bool | lastStateWasDefaultState () const |
| for now there is never a last default state of true either More... | |
| virtual void | iterateCommands (const boost::function< void(const DtDynamicTerrainChange &)> &callback) const |
| This is currently called by the dynamic terrain page logic. More... | |
Public Member Functions inherited from makVrv::DtDynamicTerrainFeature | |
| DtDynamicTerrainFeature () | |
| Default Constructor. More... | |
| virtual | ~DtDynamicTerrainFeature () |
| Virtual destructor. More... | |
| virtual const DtDynamicTerrainGeometry * | originalGeometry () const |
| Unprocessed geometry. More... | |
| virtual boost::optional< DtString > | featureAttribute (const DtString &key) const |
| Access attribute values encoded into features. More... | |
| virtual void | iterateCommands (const boost::function< void(const DtDynamicTerrainChange &)> &callback, const DtString &key) const |
| void | changed () |
| Calls changeState and all attached query callbacks. More... | |
| bool | pageOut () |
| Remove all change requests links and remove feature from dynamic terrain world. More... | |
| void | changes (const boost::function< void(const DtDynamicTerrainChanges &)> &callback) const |
| Calls supplied callback on this features DtDynamicTerrainChanges interface. More... | |
| RequestHandle | addChangeRequest (DtDynamicTerrainChange *change) |
| Add a change request directly to this feature. More... | |
| RequestHandle | addChangeRequest (double time, DtDynamicTerrainChange *change) |
| virtual | ~Link () |
| RequestInfo & | request () |
| DtDynamicTerrainFeature & | feature () |
| RequestInfo (DtDynamicTerrainChange *command) | |
| virtual | ~RequestInfo () |
| const DtDynamicTerrainChange & | command () const |
| void | pageOut () |
| virtual const DtDynamicTerrainFeature * | parentFeature () const |
| virtual boost::signals2::connection | connectToChangeSignal (const ChangeCallback &callback) const |
| Call callback when feature state is changed. More... | |
| virtual boost::signals2::connection | connectToPageOutSignal (const Callback &callback) const |
| Call callback when feature is removed. More... | |
Public Member Functions inherited from makVrv::DtDisconnectable | |
| DtDisconnectable () | |
| Default constructor. More... | |
| virtual | ~DtDisconnectable () |
| Destructor. More... | |
| virtual boost::signals2::connection | addDisconnectFunction (const boost::function< void()> &callback) |
| Add a function to be called when callDisconnectFunctions is called. More... | |
| virtual bool | callDisconnectFunctions () |
| Atomically call all the disconnect functions and mark this object as disconnected. More... | |
Protected Types | |
| typedef osg::ref_ptr< osg::Image > | ImageRef |
Protected Types inherited from makVrv::DtDisconnectable | |
| enum | State { NotUsed, InUse, Disconnected } |
| typedef tbb::spin_mutex | Mutex |
Protected Member Functions | |
| virtual void | removeAllTerrainChanges () |
| Remove all the existing dynamic features (craters for now) for this feature. More... | |
| virtual void | removeTerrainChange (const DtDynamicTerrainChange &change) |
| Remove a terrain change (currently only craters) More... | |
Protected Member Functions inherited from makVrv::DtDynamicTerrainFeature | |
| void | indexDoubleAscending (const DtString &key) |
| Key/value attribute indexing. More... | |
| void | indexDoubleDescending (const DtString &key) |
| void | indexIntAscending (const DtString &key) |
| void | indexIntDescending (const DtString &key) |
| void | indexStringAscending (const DtString &key) |
| void | indexStringDescending (const DtString &key) |
| void | setupIndex (const DtString &key, DtDynamicTerrainIndex *index) |
Protected Attributes | |
| const DtString | myStateName |
| osg::ref_ptr< osgEarth::MapNode > | myMapNode |
| int | myChangeCount |
| osg::ref_ptr < osgEarth::Contrib::DecalImageLayer > | myDecalImageLayer |
| osg::ref_ptr < osgEarth::Contrib::DecalElevationLayer > | myDecalElevLayer |
| osg::ref_ptr < osgEarth::Contrib::DecalLandCoverLayer > | myDecalLandCoverLayer |
| DtDe & | myDe |
| DtDynamicTerrainRasterLibrary * | myRasterLibrary |
| osgEarth::LandCoverDictionary * | myLandCoverDictionary |
Protected Attributes inherited from makVrv::DtDisconnectable | |
| Mutex | myMutex |
| State | myDisconnectedState |
| boost::signals2::signal< void()> | myDisconnectSignal |
Private Member Functions | |
| DtOsgEarthDynamicTerrainFeature () | |
| default constructor not implemented More... | |
| DtOsgEarthDynamicTerrainFeature (const DtOsgEarthDynamicTerrainFeature &other) | |
| Copy Constructor not implemented – Copy Not Allowed. More... | |
| DtOsgEarthDynamicTerrainFeature & | operator= (const DtOsgEarthDynamicTerrainFeature &other) |
| Assignment Operator Not implemented – Assignment Not Allowed. More... | |
Additional Inherited Members | |
Public Types inherited from makVrv::DtDynamicTerrainFeature | |
| typedef boost::function< void(const DtDynamicTerrainFeature &)> | Callback |
| Signal notification. More... | |
| typedef boost::function< void(const DtDynamicTerrainFeature &, const DtDynamicTerrainChanges &)> | ChangeCallback |
Static Public Member Functions inherited from makVrv::DtDynamicTerrainFeature | |
| static unsigned long long | GetObjectCount () |
| static unsigned long long | GetObjectCount () |
| static bool | Create (const boost::shared_ptr< DtDynamicTerrainFeature > &featureInfo, const boost::shared_ptr< RequestInfo > &reqInfo) |
| static unsigned long long | GetObjectCount () |
|
protected |
|
explicit |
constructor
|
virtual |
destructor
|
private |
default constructor not implemented
|
private |
Copy Constructor not implemented – Copy Not Allowed.
|
private |
Assignment Operator Not implemented – Assignment Not Allowed.
|
virtual |
Feature description functions Allows feature to describe itself (for a gui mostly).
These can all be called from query callbacks. None of the values returned by these functions have any meaning besides informational. A description of what is in the feature, how it is setup, configuration, etc.
Implements makVrv::DtDynamicTerrainFeature.
|
virtual |
geometry for this feature. Currently always null since osgEarth cares about all of them
Implements makVrv::DtDynamicTerrainFeature.
|
virtual |
check to see if this feature cares about this command (checks state to see if it is in the command)
Implements makVrv::DtDynamicTerrainFeature.
|
virtual |
always true since this feature cares about
Implements makVrv::DtDynamicTerrainFeature.
|
virtual |
apply a change state
Implements makVrv::DtDynamicTerrainFeature.
|
virtual |
set the state for this change on the dynamic terrain
|
virtual |
for now it is never in the default state
Implements makVrv::DtDynamicTerrainFeature.
|
virtual |
for now there is never a last default state of true either
Implements makVrv::DtDynamicTerrainFeature.
|
virtual |
This is currently called by the dynamic terrain page logic.
We haven't decided what (if any) behavior we might want here, but we don't want the default, so we override this for now and do nothing
Reimplemented from makVrv::DtDynamicTerrainFeature.
|
protectedvirtual |
Remove all the existing dynamic features (craters for now) for this feature.
Called from changeState() when DtDynamicTerrainChanges.indexFor("terrain_time") becomes empty, indicating that the dynamic terrain object these changes apply to is being removed
|
protectedvirtual |
Remove a terrain change (currently only craters)
Reimplemented from makVrv::DtDynamicTerrainFeature.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |