VR-Forces 4.0.4 Class Documentation
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]

List of all members.

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

CTOR.


Member Function Documentation

Set to true to include node names.

Set to true to include description.

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.

set accessor.


Member Data Documentation

std::set<std::string> makVrv::DtSearchCandidateVisitor::mySearchCandidateSet [protected]

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

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)