VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtSearchCandidateVisitor.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef DtSearchCandidateVisitor_H_
11 #define DtSearchCandidateVisitor_H_
12 
13 #include <vrvOsg/vrvOsg.h>
14 
15 #include <osg/NodeVisitor>
16 #include <osg/ProxyNode>
17 
18 #include <set>
19 #include <string>
20 
21 namespace makVrv
22 {
23 
27  class DT_DLL_VRVOSG DtSearchCandidateVisitor : public osg::NodeVisitor
28  {
29 
30  public:
31 
34 
36  void setSearchNames(bool flag);
37 
39  void setSearchDescriptions(bool flag);
40 
42  void setSearchFilenames(bool flag);
43 
47  void setSearchForOriginalFilenames(bool bSearchDescriptions, bool bSearchFilenames);
48 
50  void apply(osg::Node& node);
51 
53  void apply(osg::ProxyNode& node);
54 
56  std::set<std::string>& searchCandidateSet();
57 
58  protected:
59 
60  std::set<std::string> mySearchCandidateSet;
66 
67  };
68 }
69 
70 #endif
71 
bool mySearchFilenames
Definition: DtSearchCandidateVisitor.h:63
std::set< std::string > mySearchCandidateSet
Definition: DtSearchCandidateVisitor.h:60
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
bool mySearchForOriginalFilenames
Definition: DtSearchCandidateVisitor.h:64
DtSearchCandidateVisitor will add names of nodes, descriptions lists and/or filenames to a set for a ...
Definition: DtSearchCandidateVisitor.h:27
bool mySearchNames
Definition: DtSearchCandidateVisitor.h:61
Contains DLL export macros.
bool mySearchDescriptions
Definition: DtSearchCandidateVisitor.h:62
bool mySearchFilenamesFallback
Definition: DtSearchCandidateVisitor.h:65

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)