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 | Protected Attributes | Private Member Functions
makVrv::DtOsgEarthDataRequest Class Referenceabstract

DtOsgEarthDataRequest. More...

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

Public Types

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

Public Member Functions

 DtOsgEarthDataRequest (const std::string &driver)
 Default Constructor. More...
 
virtual void setType (int type)
 Sets the type of the data. More...
 
virtual int type ()
 Gets the type of the data. More...
 
virtual void setName (const std::string &name)
 Sets the name of the data. More...
 
virtual std::string name ()
 Gets the name of the data. More...
 
virtual void setUrl (const DtUnicode &url)
 Sets the url of the data. More...
 
virtual DtUnicode url ()
 Gets the type of the data. More...
 
virtual void process (osgEarth::Map *map)=0
 Actually adds the data to the osgEarth terrain. More...
 

Protected Attributes

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

Private Member Functions

 DtOsgEarthDataRequest ()
 Private default constructor not implimented. More...
 
 DtOsgEarthDataRequest (const DtOsgEarthDataRequest &)
 Copy Constructor not implemented – Copy not allowed. More...
 
DtOsgEarthDataRequestoperator= (const DtOsgEarthDataRequest &)
 Assignment Operator not implemented – Copy not allowed. More...
 

Detailed Description

DtOsgEarthDataRequest.

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

Member Enumeration Documentation

Enumerator
ImageLayer 
ElevationLayer 
ModelLayer 
BuildingLayer 
LandCoverLayer 
GroundCoverLayer 
GroundCover 
RoadSurfaceLayer 
SplatLayer 
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 Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)