VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
makVrv::DtOceanLayer Class Reference

The ocean layer is a type of terrain layer which contains information about an area that should be rendered as dynamic water.

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

Public Member Functions

 DtOceanLayer (DtDe &de, DtAgentManagerInterface &sceneInterface)
 
virtual ~DtOceanLayer ()
 
virtual void getRecord (makArchives::DtOceanLayerRecord &rec) const
 
virtual void setFromRecord (const makArchives::DtOceanLayerRecord &rec)
 
virtual const std::string & name () const
 
virtual void setName (const std::string &name)
 
virtual double seaLevel () const
 
virtual void setSeaLevel (double seaLevel)
 
virtual int lodRange () const
 
virtual void setLodRange (int lodRange)
 
- Public Member Functions inherited from makVrv::DtTerrainLayer
 DtTerrainLayer (DtDe &de, DtAgentManagerInterface &sceneInterface)
 
virtual ~DtTerrainLayer ()
 
virtual void addProp (DtProp *prop)
 
virtual bool addPropFromRecord (const makArchives::DtPropRecord &record)
 
virtual DtPropfindProp (DtUniqueID id)
 
virtual bool destroyProp (DtUniqueID id)
 
const PropMapprops () const
 
const PropNameSetpropNames () const
 
void selectionChanged (const DtSelectionManager::IdSet &selected, const DtSelectionManager::IdSet &de)
 

Protected Attributes

std::string myName
 
double mySeaLevel
 
int myLodRange
 
- Protected Attributes inherited from makVrv::DtTerrainLayer
DtDemyDe
 
DtAgentManagerInterfacemySceneInterface
 

Additional Inherited Members

- Public Types inherited from makVrv::DtTerrainLayer
typedef std::map< DtUniqueID,
DtProp * > 
PropMap
 
typedef boost::unordered_set
< std::string > 
PropNameSet
 
- Public Attributes inherited from makVrv::DtTerrainLayer
boost::signalslib::signal
< void(const
DtSelectionManager::IdSet
&selected, const
DtSelectionManager::IdSet
&deselected)> 
signal_currentSelectionChanged
 

Constructor & Destructor Documentation

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

CTOR.

virtual makVrv::DtOceanLayer::~DtOceanLayer ( )
virtual

DTOR.

Member Function Documentation

virtual void makVrv::DtOceanLayer::getRecord ( makArchives::DtOceanLayerRecord rec) const
virtual

Fill out a DtFeatureLayerRecord with the current terrain info.

virtual void makVrv::DtOceanLayer::setFromRecord ( const makArchives::DtOceanLayerRecord rec)
virtual

Populate a DtFeatureLayer from a DtFeatureLayerRecord.

virtual const std::string& makVrv::DtOceanLayer::name ( ) const
virtual

Get the name of the Ocean Layer.

virtual void makVrv::DtOceanLayer::setName ( const std::string &  name)
virtual

Set the name of the ocean layer.

virtual double makVrv::DtOceanLayer::seaLevel ( ) const
virtual

Get the height of the ocean layer.

virtual void makVrv::DtOceanLayer::setSeaLevel ( double  seaLevel)
virtual

Set the height of the ocean layer. Raises DtTerrainSignaler::signal_oceanLayerSeaLevelChanged.

virtual int makVrv::DtOceanLayer::lodRange ( ) const
virtual

Get the altitude at which the Ocean LOD's out.

virtual void makVrv::DtOceanLayer::setLodRange ( int  lodRange)
virtual

Set the altitude at which the Ocean LOD's out. Raises DtTerrainSignaler::signal_oceanLayerLodRangeChanged.

Member Data Documentation

std::string makVrv::DtOceanLayer::myName
protected
double makVrv::DtOceanLayer::mySeaLevel
protected
int makVrv::DtOceanLayer::myLodRange
protected

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

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)