![]() |
VR-Forces 4.0.4 Class Documentation
|
DtSearchCandidateVisitor will add names of nodes, descriptions lists and/or filenames to a set for a visited graph. More...

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 |
DtSearchCandidateVisitor will add names of nodes, descriptions lists and/or filenames to a set for a visited graph.
| void makVrv::DtSearchCandidateVisitor::setSearchNames | ( | bool | flag | ) |
Set to true to include node names.
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.
std::set<std::string> makVrv::DtSearchCandidateVisitor::mySearchCandidateSet [protected] |
bool makVrv::DtSearchCandidateVisitor::mySearchNames [protected] |