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 Member Functions | Private Attributes
makVrv::DtIndirectMetadataNode Class Reference

This node extends osgEarth::MetadataNode in order to bridge the visibile flag into the indirect engine. It holds the the original and calls into it like a proxy.

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

Public Member Functions

 META_Node (vrvOsgEarth, DtIndirectMetadataNode)
 
 DtIndirectMetadataNode (const DtIndirectMetadataNode &rhs, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
 
 DtIndirectMetadataNode (const std::shared_ptr< DtIndirectSharedMetadataNodeWrapper > &metedata)
 
osgEarth::ObjectID add (osgEarth::Feature *feature, bool visible=true) override
 
void tagDrawable (osg::Drawable *drawable, osgEarth::ObjectID id) const override
 
void tagNode (osg::Node *node, osgEarth::ObjectID id) const override
 
void finalize () override
 
unsigned int getNumFeatures () const override
 
bool getVisible (unsigned int index) const override
 
void setVisible (unsigned int index, bool value) override
 
osgEarth::ObjectID getObjectID (unsigned index) const override
 
const osgEarth::Feature * getFeature (unsigned int index) const override
 
int getIndexFromObjectID (osgEarth::ObjectID id) const override
 
osg::Switch * getOrCreateSwitchNode (unsigned int index)
 

Protected Member Functions

 DtIndirectMetadataNode ()
 
virtual ~DtIndirectMetadataNode ()
 

Private Attributes

std::shared_ptr
< DtIndirectSharedMetadataNodeWrapper
myMetadata
 

Constructor & Destructor Documentation

makVrv::DtIndirectMetadataNode::DtIndirectMetadataNode ( const DtIndirectMetadataNode rhs,
const osg::CopyOp &  copyop = osg::CopyOp::SHALLOW_COPY 
)

copy constructor

makVrv::DtIndirectMetadataNode::DtIndirectMetadataNode ( const std::shared_ptr< DtIndirectSharedMetadataNodeWrapper > &  metedata)

constructor

makVrv::DtIndirectMetadataNode::DtIndirectMetadataNode ( )
protected

constructor

virtual makVrv::DtIndirectMetadataNode::~DtIndirectMetadataNode ( )
protectedvirtual

destructor

Member Function Documentation

makVrv::DtIndirectMetadataNode::META_Node ( vrvOsgEarth  ,
DtIndirectMetadataNode   
)
osgEarth::ObjectID makVrv::DtIndirectMetadataNode::add ( osgEarth::Feature *  feature,
bool  visible = true 
)
override
void makVrv::DtIndirectMetadataNode::tagDrawable ( osg::Drawable *  drawable,
osgEarth::ObjectID  id 
) const
override
void makVrv::DtIndirectMetadataNode::tagNode ( osg::Node *  node,
osgEarth::ObjectID  id 
) const
override
void makVrv::DtIndirectMetadataNode::finalize ( )
override
unsigned int makVrv::DtIndirectMetadataNode::getNumFeatures ( ) const
override
bool makVrv::DtIndirectMetadataNode::getVisible ( unsigned int  index) const
override
void makVrv::DtIndirectMetadataNode::setVisible ( unsigned int  index,
bool  value 
)
override
osgEarth::ObjectID makVrv::DtIndirectMetadataNode::getObjectID ( unsigned  index) const
override
const osgEarth::Feature* makVrv::DtIndirectMetadataNode::getFeature ( unsigned int  index) const
override
int makVrv::DtIndirectMetadataNode::getIndexFromObjectID ( osgEarth::ObjectID  id) const
override
osg::Switch* makVrv::DtIndirectMetadataNode::getOrCreateSwitchNode ( unsigned int  index)

Member Data Documentation

std::shared_ptr<DtIndirectSharedMetadataNodeWrapper> makVrv::DtIndirectMetadataNode::myMetadata
private

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

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)