![]() |
VR-Forces 4.8 Class Documentation
|
Implementation of handle which allows controlling entity geometry which has been inserted into the terrain. More...

Classes | |
| class | CollisionObject |
| Bullet collision object which defaults to being disabled and is enabled when the enable count is non-zero. More... | |
| class | DynamicFeature |
Public Types | |
| typedef std::vector < CollisionObject::Ptr > | CollisionObjectVector |
| typedef boost::unordered_map < DtAppearance, CollisionObjectVector > | AppearanceMap |
Public Member Functions | |
| DtEntityTerrainGeometryHandle (DtVantageTerrainEngine &engine, const DtFilename &model) | |
| Create a handle from the given model file. More... | |
| ~DtEntityTerrainGeometryHandle () | |
| Removes all geometries from terrain on destruction. More... | |
| bool | isValid () const |
| Returns false if object was not configured successfully. More... | |
| bool | isDisabled () const |
| Implementation of DtTerrainGeometryHandle interface. More... | |
| void | disable () |
| Resets to default state with no geometry in the terrain. More... | |
| void | setAppearance (DtAppearance app) |
| Set appearance. More... | |
| void | setPosition (const DtPoint &location, const DtDcm &orientation) |
| Sets position in space. More... | |
Public Member Functions inherited from DtTerrainGeometryHandle | |
| virtual | ~DtTerrainGeometryHandle () |
| Virtual destructor. More... | |
Protected Member Functions | |
| virtual CollisionObjectVector & | loadAppearance (DtAppearance flags) |
| Get the collision objects associated with a given appearance. More... | |
| virtual void | setupDynamicFeature (const DtPoint &location, double radius) |
| void | destroyDynamicFeature () |
Protected Attributes | |
| tbb::spin_mutex | myMutex |
| DtVantageTerrainEngine & | myVantageTerrainEngine |
| const DtFilename | myFile |
| boost::optional< DtAppearance > | myCurrentAppearance |
| boost::optional< DtPoint > | myCurrentLocation |
| boost::optional< DtDcm > | myCurrentOrientation |
| boost::shared_ptr< DynamicFeature > | myFeature |
| makVrv::DtDynamicTerrainWorld::FeatureHandle | myFeatureHandle |
| makVrv::DtDynamicTerrainWorld::RequestHandle | myRequestHandle |
| AppearanceMap | myAppearanceMap |
Implementation of handle which allows controlling entity geometry which has been inserted into the terrain.
| typedef std::vector<CollisionObject::Ptr> DtEntityTerrainGeometryHandle::CollisionObjectVector |
| typedef boost::unordered_map<DtAppearance, CollisionObjectVector> DtEntityTerrainGeometryHandle::AppearanceMap |
|
explicit |
Create a handle from the given model file.
| DtEntityTerrainGeometryHandle::~DtEntityTerrainGeometryHandle | ( | ) |
Removes all geometries from terrain on destruction.
| bool DtEntityTerrainGeometryHandle::isValid | ( | ) | const |
Returns false if object was not configured successfully.
|
virtual |
Implementation of DtTerrainGeometryHandle interface.
Implements DtTerrainGeometryHandle.
|
virtual |
Resets to default state with no geometry in the terrain.
Call the setAppearance and setPosition functions to add it back.
Implements DtTerrainGeometryHandle.
|
virtual |
Set appearance.
Implements DtTerrainGeometryHandle.
|
virtual |
Sets position in space.
Implements DtTerrainGeometryHandle.
|
protectedvirtual |
Get the collision objects associated with a given appearance.
|
protectedvirtual |
|
protected |
|
mutableprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |