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

DtOsgEarthDataRequest.

A request for adding data(Terrain layer, model layer, etc) into osgEarth terrain.

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

Public Types

enum  OsgEarthDataType {
  ImageLayer, ElevationLayer, ModelLayer, BuildingLayer,
  LandCoverLayer, GroundCoverLayer, GroundCover, RoadSurfaceLayer,
  SplatLayer, DebugImageLayer, UnknownType
}
 

Public Member Functions

 DtOsgEarthDataRequest (const std::string &driver)
 
virtual void setType (int type)
 
virtual int type ()
 
virtual void setName (const std::string &name)
 
virtual std::string name ()
 
virtual void setUrl (const DtUnicode &url)
 
virtual DtUnicode url ()
 
virtual void process (osgEarth::Map *map)=0
 

Protected Attributes

int myType
 
std::string myName
 
DtUnicode myUrl
 
std::string myDriver
 

Private Member Functions

 DtOsgEarthDataRequest ()
 
 DtOsgEarthDataRequest (const DtOsgEarthDataRequest &)
 
DtOsgEarthDataRequestoperator= (const DtOsgEarthDataRequest &)
 

Member Enumeration Documentation

Enumerator
ImageLayer 
ElevationLayer 
ModelLayer 
BuildingLayer 
LandCoverLayer 
GroundCoverLayer 
GroundCover 
RoadSurfaceLayer 
SplatLayer 
DebugImageLayer 
UnknownType 

Constructor & Destructor Documentation

makVrv::DtOsgEarthDataRequest::DtOsgEarthDataRequest ( const std::string &  driver)

Default Constructor.

Parameters
driverThe driver of the data.
makVrv::DtOsgEarthDataRequest::DtOsgEarthDataRequest ( )
private

Private default constructor not implimented.

makVrv::DtOsgEarthDataRequest::DtOsgEarthDataRequest ( const DtOsgEarthDataRequest )
private

Copy Constructor not implemented – Copy not allowed.

Member Function Documentation

virtual void makVrv::DtOsgEarthDataRequest::setType ( int  type)
virtual

Sets the type of the data.

Parameters
typeOsgEarthDataType enum, the type of the data.
virtual int makVrv::DtOsgEarthDataRequest::type ( )
virtual

Gets the type of the data.

Returns
type OsgEarthDataType enum, the type of the data.
virtual void makVrv::DtOsgEarthDataRequest::setName ( const std::string &  name)
virtual

Sets the name of the data.

Parameters
nameThe unique name of the data.
virtual std::string makVrv::DtOsgEarthDataRequest::name ( )
virtual

Gets the name of the data.

Returns
name The unique name of the data.
virtual void makVrv::DtOsgEarthDataRequest::setUrl ( const DtUnicode url)
virtual

Sets the url of the data.

Parameters
urlThe url of the source.
virtual DtUnicode makVrv::DtOsgEarthDataRequest::url ( )
virtual

Gets the type of the data.

Returns
type OsgEarthDataType enum, the type of the data.
virtual void makVrv::DtOsgEarthDataRequest::process ( osgEarth::Map *  map)
pure virtual

Actually adds the data to the osgEarth terrain.

Parameters
mapThe map to add data to.

Implemented in makVrv::DtOsgEarthModelLayerDataRequest, makVrv::DtOsgEarthElevationLayerDataRequest, and makVrv::DtOsgEarthImageLayerDataRequest.

DtOsgEarthDataRequest& makVrv::DtOsgEarthDataRequest::operator= ( const DtOsgEarthDataRequest )
private

Assignment Operator not implemented – Copy not allowed.

Member Data Documentation

int makVrv::DtOsgEarthDataRequest::myType
protected
std::string makVrv::DtOsgEarthDataRequest::myName
protected
DtUnicode makVrv::DtOsgEarthDataRequest::myUrl
protected
std::string makVrv::DtOsgEarthDataRequest::myDriver
protected

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

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)