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

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

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

Public Member Functions

 DtSearchCandidateVisitor ()
 CTOR.
void setSearchNames (bool flag)
 Set to true to include node names.
void setSearchDescriptions (bool flag)
 Set to true to include description.
void setSearchFilenames (bool flag)
 Set to true to include proxy node file names.
void setSearchForOriginalFilenames (bool bSearchDescriptions, bool bSearchFilenames)
 Set to true to search for the custom filenames in the description list.
void apply (osg::Node &node)
 Traverse nodes.
void apply (osg::ProxyNode &node)
 Traverse proxy nodes.
std::set< std::string > & searchCandidateSet ()
 set accessor.

Protected Attributes

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

Detailed Description

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

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 Mon Jul 4 01:00:18 EDT 2016 from SVN revision 166489
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)