![]() |
VR-Forces 4.6.1 Class Documentation
|
Interface provided to terrain feature's state change functions. More...
Public Types | |
| typedef boost::function< void(const DtDynamicTerrainChange &)> | IterateRequestCallback |
Public Member Functions | |
| virtual | ~DtDynamicTerrainIndex () |
| Virtual destructor. | |
| virtual void | iterateRequests (const IterateRequestCallback &callback) const =0 |
| Call the supplied callback on all the events. | |
| virtual const DtDynamicTerrainChange * | firstChange () const =0 |
| Return the most recent event. | |
| virtual bool | addValue (const boost::shared_ptr< DtDynamicTerrainFeature::Link > &link, const DtString &key)=0 |
| Add a linked change request to this index. | |
Interface provided to terrain feature's state change functions.
Provides a view into events which have applied to the terrain feature.
| typedef boost::function<void (const DtDynamicTerrainChange&)> makVrv::DtDynamicTerrainIndex::IterateRequestCallback |
|
virtual |
Virtual destructor.
|
pure virtual |
Call the supplied callback on all the events.
Systems which can deform terrain in detailed ways can reconstruct any set of changes by finding the events they are capable of supporting and applying them in order.
|
pure virtual |
Return the most recent event.
Many features only care about the latest event that applied to them (i.e are they in a damaged state?). If this function returns null then there are no events the feature should revert to its default state.
|
pure virtual |
Add a linked change request to this index.