VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Public Attributes | Protected Attributes | Private Attributes
makVrv::DtTerrainLayer Class Reference

The DtTerrainlayer is the base implementation of a layer of data which makes up the terrain. More...

Inheritance diagram for makVrv::DtTerrainLayer:
Inheritance graph
[legend]

Public Types

typedef std::map< DtUniqueID,
DtProp * > 
PropMap
 List of props.
typedef boost::unordered_set
< std::string > 
PropNameSet
 Set of prop names.

Public Member Functions

 DtTerrainLayer (DtDe &de, DtAgentManagerInterface &sceneInterface)
 CTOR.
virtual ~DtTerrainLayer ()
 DTOR.
virtual void addProp (DtProp *prop)
 Add prop based on the DtPropRecord.
virtual bool addPropFromRecord (const makArchives::DtPropRecord &record)
 Add prop based on the DtPropRecord.
virtual DtPropfindProp (DtUniqueID id)
 Finds a pointer to the prop on the feature layer with the same identifiers as the passed in prop.
virtual bool destroyProp (DtUniqueID id)
 Destroys the prop with the unique name.
const PropMapprops () const
 Get the container of props associated with the layer.
const PropNameSetpropNames () const
 Get the set of prop names used in this layer.
void selectionChanged (const DtSelectionManager::IdSet &selected, const DtSelectionManager::IdSet &de)

Public Attributes

boost::signal< void(const
DtSelectionManager::IdSet
&selected, const
DtSelectionManager::IdSet
&deselected)> 
signal_currentSelectionChanged
 Emited when the current selection changes.

Protected Attributes

DtDemyDe
DtAgentManagerInterfacemySceneInterface

Private Attributes

PropMap myProps
PropNameSet myPropNames

Detailed Description

The DtTerrainlayer is the base implementation of a layer of data which makes up the terrain.

Member Typedef Documentation

List of props.

typedef boost::unordered_set<std::string> makVrv::DtTerrainLayer::PropNameSet

Set of prop names.

Constructor & Destructor Documentation

makVrv::DtTerrainLayer::DtTerrainLayer ( DtDe de,
DtAgentManagerInterface sceneInterface 
)

CTOR.

virtual makVrv::DtTerrainLayer::~DtTerrainLayer ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtTerrainLayer::addProp ( DtProp prop)
virtual

Add prop based on the DtPropRecord.

Ownership of the prop will be passed to the layer.

virtual bool makVrv::DtTerrainLayer::addPropFromRecord ( const makArchives::DtPropRecord record)
virtual

Add prop based on the DtPropRecord.

virtual DtProp* makVrv::DtTerrainLayer::findProp ( DtUniqueID  id)
virtual

Finds a pointer to the prop on the feature layer with the same identifiers as the passed in prop.

virtual bool makVrv::DtTerrainLayer::destroyProp ( DtUniqueID  id)
virtual

Destroys the prop with the unique name.

Returns true if the prop was destroyed, false otherwise.

const PropMap& makVrv::DtTerrainLayer::props ( ) const

Get the container of props associated with the layer.

const PropNameSet& makVrv::DtTerrainLayer::propNames ( ) const

Get the set of prop names used in this layer.

void makVrv::DtTerrainLayer::selectionChanged ( const DtSelectionManager::IdSet selected,
const DtSelectionManager::IdSet de 
)

Member Data Documentation

boost::signal<void (const DtSelectionManager::IdSet& selected, const DtSelectionManager::IdSet& deselected)> makVrv::DtTerrainLayer::signal_currentSelectionChanged

Emited when the current selection changes.

DtDe& makVrv::DtTerrainLayer::myDe
protected
DtAgentManagerInterface& makVrv::DtTerrainLayer::mySceneInterface
protected
PropMap makVrv::DtTerrainLayer::myProps
private
PropNameSet makVrv::DtTerrainLayer::myPropNames
private

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)