VR-Forces 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::DtStreamedFeatureCreator Class Referenceabstract

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

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

Public Member Functions

 DtStreamedFeatureCreator (DtAgentManagerInterface &sceneInterface)
 
 DtStreamedFeatureCreator (const DtStreamedFeatureCreator &orig)
 
DtStreamedFeatureCreator & operator= (const DtStreamedFeatureCreator &rhs)
 
virtual ~DtStreamedFeatureCreator ()
 
virtual DtUniqueID create (DtDe &de, const std::string &registrantName, const std::string &styleName, const std::string &markerName, const DtVector &vPosition, double scale, DtVector minBound, DtVector maxBound)=0
 

Protected Attributes

DtAgentManagerInterface * mySceneInterface
 

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,
const 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
deThe DtDe display engine reference.
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.
markerNameis 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::DtBuoyBeaconFeatureBuilder, makVrv::DtDynamicFeatureBuilder, makVrv::DtInstancedFeatureBuilder, makVrv::DtLightFeatureBuilder, makVrv::DtNavMarkFeatureBuilder, and makVrv::DtNavigationFeatureBuilder.

Member Data Documentation

DtAgentManagerInterface* makVrv::DtStreamedFeatureCreator::mySceneInterface
protected

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

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)