VR-Forces 4.8 Class Documentation
 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 /******************************************************************************
6 ** $RCSfile: DtSearchCandidateVisitor.h,v $ $Revision: 1.8 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtSearchCandidateVisitor_H_
14 #define DtSearchCandidateVisitor_H_
15 
16 #include <vrvOsg/vrvOsg.h>
17 
18 #include <osg/NodeVisitor>
19 #include <osg/ProxyNode>
20 
21 #include <set>
22 #include <string>
23 
24 namespace makVrv
25 {
26 
30  class DT_DLL_VRVOSG DtSearchCandidateVisitor : public osg::NodeVisitor
31  {
32 
33  public:
34 
37 
39  void setSearchNames(bool flag);
40 
42  void setSearchDescriptions(bool flag);
43 
45  void setSearchFilenames(bool flag);
46 
50  void setSearchForOriginalFilenames(bool bSearchDescriptions, bool bSearchFilenames);
51 
53  void apply(osg::Node& node);
54 
56  void apply(osg::ProxyNode& node);
57 
59  std::set<std::string>& searchCandidateSet();
60 
61  protected:
62 
63  std::set<std::string> mySearchCandidateSet;
69 
70  };
71 }
72 
73 #endif
74 
bool mySearchFilenames
Definition: DtSearchCandidateVisitor.h:66
std::set< std::string > mySearchCandidateSet
Definition: DtSearchCandidateVisitor.h:63
#define DT_DLL_VRVOSG
Definition: vrvOsg.h:23
bool mySearchForOriginalFilenames
Definition: DtSearchCandidateVisitor.h:67
DtSearchCandidateVisitor will add names of nodes, descriptions lists and/or filenames to a set for a ...
Definition: DtSearchCandidateVisitor.h:30
bool mySearchNames
Definition: DtSearchCandidateVisitor.h:64
Contains DLL export macros.
bool mySearchDescriptions
Definition: DtSearchCandidateVisitor.h:65
bool mySearchFilenamesFallback
Definition: DtSearchCandidateVisitor.h:68

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)