VR-Forces 5.0.2 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::DtSearchCandidateVisitor Class Reference

DtSearchCandidateVisitor will add names of nodes, descriptions lists and/or filenames to a set for a visited graph.

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

Public Member Functions

 DtSearchCandidateVisitor ()
 
void setSearchNames (bool flag)
 
void setSearchDescriptions (bool flag)
 
void setSearchFilenames (bool flag)
 
void setSearchForOriginalFilenames (bool bSearchDescriptions, bool bSearchFilenames)
 
void apply (osg::Node &node)
 
void apply (osg::ProxyNode &node)
 
std::set< std::string > & searchCandidateSet ()
 

Protected Attributes

std::set< std::string > mySearchCandidateSet
 
bool mySearchNames
 
bool mySearchDescriptions
 
bool mySearchFilenames
 
bool mySearchForOriginalFilenames
 
bool mySearchFilenamesFallback
 

Constructor & Destructor Documentation

makVrv::DtSearchCandidateVisitor::DtSearchCandidateVisitor ( )

CTOR.

Member Function Documentation

void makVrv::DtSearchCandidateVisitor::setSearchNames ( bool  flag)

Set to true to include node names.

void makVrv::DtSearchCandidateVisitor::setSearchDescriptions ( bool  flag)

Set to true to include description.

void makVrv::DtSearchCandidateVisitor::setSearchFilenames ( bool  flag)

Set to true to include proxy node file names.

void makVrv::DtSearchCandidateVisitor::setSearchForOriginalFilenames ( bool  bSearchDescriptions,
bool  bSearchFilenames 
)

Set to true to search for the custom filenames in the description list. If the second flag is true this will search for filenames in the filenames list if an original filename wasn't found.

void makVrv::DtSearchCandidateVisitor::apply ( osg::Node &  node)

Traverse nodes.

void makVrv::DtSearchCandidateVisitor::apply ( osg::ProxyNode &  node)

Traverse proxy nodes.

std::set<std::string>& makVrv::DtSearchCandidateVisitor::searchCandidateSet ( )

set accessor.

Member Data Documentation

std::set<std::string> makVrv::DtSearchCandidateVisitor::mySearchCandidateSet
protected
bool makVrv::DtSearchCandidateVisitor::mySearchNames
protected
bool makVrv::DtSearchCandidateVisitor::mySearchDescriptions
protected
bool makVrv::DtSearchCandidateVisitor::mySearchFilenames
protected
bool makVrv::DtSearchCandidateVisitor::mySearchForOriginalFilenames
protected
bool makVrv::DtSearchCandidateVisitor::mySearchFilenamesFallback
protected

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

Document ID: Generated on Sun Dec 4 20:22:03 EST 2022 from SVN revision 249613
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)