VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Types | Public Member Functions | Public Attributes
makVrv::DtTerrainContentsInterface Class Referenceabstract

The interface for the makVrv::DtTerrainContentsWidget for the makVrv::DtTerrainContentsLogic. More...

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

Public Types

enum  LayerType { TerrainPatch, FeatureLayer, OceanLayer }
 

Public Member Functions

virtual void addItem (int id, LayerType layerType, const DtUnicode &name, bool visualized)=0
 Call to add a terrain patch/ feature layer to the widget. More...
 
virtual void removeItem (int id)=0
 Call to remove a terrain patch/ feature layer to the widget. More...
 
virtual void clear ()=0
 Called to clear all the terrain patches, feature layers in the widget. More...
 
virtual void setAddOceanButtonState (bool enabled)=0
 Called to set the state of the AddOceanFeatureLayer button. More...
 

Public Attributes

boost::signal< void(int)> signal_remove
 emitted by the widget when the user chooses remove a layer. More...
 

Detailed Description

The interface for the makVrv::DtTerrainContentsWidget for the makVrv::DtTerrainContentsLogic.

Member Enumeration Documentation

Enumerator
TerrainPatch 
FeatureLayer 
OceanLayer 

Member Function Documentation

virtual void makVrv::DtTerrainContentsInterface::addItem ( int  id,
LayerType  layerType,
const DtUnicode name,
bool  visualized 
)
pure virtual

Call to add a terrain patch/ feature layer to the widget.

Implemented in makVrv::DtTerrainContentsWidget.

virtual void makVrv::DtTerrainContentsInterface::removeItem ( int  id)
pure virtual

Call to remove a terrain patch/ feature layer to the widget.

Implemented in makVrv::DtTerrainContentsWidget.

virtual void makVrv::DtTerrainContentsInterface::clear ( )
pure virtual

Called to clear all the terrain patches, feature layers in the widget.

Implemented in makVrv::DtTerrainContentsWidget.

virtual void makVrv::DtTerrainContentsInterface::setAddOceanButtonState ( bool  enabled)
pure virtual

Called to set the state of the AddOceanFeatureLayer button.

Currently, only one ocean layer is supported, so disable if an ocean layer already exists

Implemented in makVrv::DtTerrainContentsWidget.

Member Data Documentation

boost::signal<void (int)> makVrv::DtTerrainContentsInterface::signal_remove

emitted by the widget when the user chooses remove a layer.

Connected to a slot in the logic.


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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)