1 #ifndef COIN_SOSEARCHACTION_H 2 #define COIN_SOSEARCHACTION_H 36 #include <Inventor/actions/SoAction.h> 37 #include <Inventor/actions/SoSubAction.h> 38 #include <Inventor/tools/SbLazyPimplPtr.h> 39 #include <Inventor/SbName.h> 40 #include <Inventor/lists/SoPathList.h> 42 class SoSearchActionP;
55 enum LookFor { NODE = 1, TYPE = 2, NAME = 4 };
58 void setNode(
SoNode *
const node);
59 SoNode * getNode(
void)
const;
60 void setType(
const SoType type,
const SbBool chkderived = TRUE);
61 SoType getType(SbBool & chkderived)
const;
62 void setName(
const SbName name);
63 SbName getName(
void)
const;
64 void setFind(
const int what);
65 int getFind(
void)
const;
66 void setInterest(
const Interest interest);
68 void setSearchingAll(
const SbBool searchall);
69 SbBool isSearchingAll(
void)
const;
70 SoPath * getPath(
void)
const;
75 SbBool isFound(
void)
const;
76 void addPath(
SoPath *
const path);
88 SbBool searchall, chkderived;
96 SbLazyPimplPtr<SoSearchActionP> pimpl;
103 #endif // !COIN_SOSEARCHACTION_H static void initClass(void)
Definition: SoAction.cpp:375
static SbBool duringSearchAll
Definition: SoSearchAction.h:80
The SoSearchAction class provides methods for searching through scene graphs.Nodes can be searched fo...
Definition: SoSearchAction.h:44
The SoPathList class is a container for pointers to SoPath objects.As this class inherits SoBaseList...
Definition: SoPathList.h:40
The SoNode class is the base class for nodes used in scene graphs.Coin is a retained mode 3D visualiz...
Definition: SoNode.h:56
The SoPath class is a container class for traversal path descriptions.SoPath objects contain a list o...
Definition: SoPath.h:52
The SoAction class is the base class for all traversal actions.Applying actions is the basic mechanis...
Definition: SoAction.h:77
virtual void beginTraversal(SoNode *node)
Definition: SoAction.cpp:1275
LookFor
Definition: SoSearchAction.h:55
The SoType class is the basis for the run-time type system in Coin.Many of the classes in the Coin li...
Definition: SoType.h:59
Interest
Definition: SoSearchAction.h:56
The SbName class stores strings by reference.The class is used by Coin for storing keywords...
Definition: SbName.h:40