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

DtStreamedFeatureCreator is the base class that all feature-specific feature creators to be informed of new streamed features to process. More...

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

Public Member Functions

 DtStreamedFeatureCreator (DtAgentManagerInterface &sceneInterface)
 CTOR.
 DtStreamedFeatureCreator (const DtStreamedFeatureCreator &orig)
DtStreamedFeatureCreatoroperator= (const DtStreamedFeatureCreator &rhs)
 Assignment operator.
virtual ~DtStreamedFeatureCreator ()
virtual DtUniqueID create (DtDe &de, const std::string &registrantName, const std::string &styleName, const std::string &markerName, DtVector vPosition, double scale, DtVector minBound, DtVector maxBound)=0
 Create a Streamed Feature.

Protected Attributes

DtAgentManagerInterfacemySceneInterface

Detailed Description

DtStreamedFeatureCreator is the base class that all feature-specific feature creators to be informed of new streamed features to process.

Constructor & Destructor Documentation

makVrv::DtStreamedFeatureCreator::DtStreamedFeatureCreator ( DtAgentManagerInterface sceneInterface)

CTOR.

makVrv::DtStreamedFeatureCreator::DtStreamedFeatureCreator ( const DtStreamedFeatureCreator orig)
virtual makVrv::DtStreamedFeatureCreator::~DtStreamedFeatureCreator ( )
virtual

Member Function Documentation

DtStreamedFeatureCreator& makVrv::DtStreamedFeatureCreator::operator= ( const DtStreamedFeatureCreator rhs)

Assignment operator.

virtual DtUniqueID makVrv::DtStreamedFeatureCreator::create ( DtDe de,
const std::string &  registrantName,
const std::string &  styleName,
const std::string &  markerName,
DtVector  vPosition,
double  scale,
DtVector  minBound,
DtVector  maxBound 
)
pure virtual

Create a Streamed Feature.

This pure virtual method must be implemented by a deriving feature creator.

Parameters
registrantNameis the name that was provided to the DtStreamedFeatureManager when the DtStreamedFeatureCreator was registered
styleNameis the name provided in the .osgEarth style block specified for this feature.
strFeatureNameis the markerName returned by osgEarth for the feature from a marker: specification
vPositionis the position of the feature
scaleis any scale factor provided from an osgEarth marker-scale: specification
minBoundis the min x,y,z of the feature bound
maxBoundis the max x,y,z of the feature bound
Returns
A uniqueId that will be used to identify the feature created when it comes time to delete it. Use 0 if no feature is created.

Implemented in makVrv::DtBuoyFeatureBuilder, makVrv::DtNavigationFeatureBuilder, makVrv::DtDaymarkFeatureBuilder, makVrv::DtDynamicFeatureBuilder, and makVrv::DtLightFeatureBuilder.

Member Data Documentation

DtAgentManagerInterface* makVrv::DtStreamedFeatureCreator::mySceneInterface
protected

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

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)