1 #ifndef COIN_SOSEARCHACTION_H 2 #define COIN_SOSEARCHACTION_H 27 #include <Inventor/actions/SoAction.h> 28 #include <Inventor/actions/SoSubAction.h> 29 #include <Inventor/tools/SbLazyPimplPtr.h> 30 #include <Inventor/SbName.h> 31 #include <Inventor/lists/SoPathList.h> 33 class SoSearchActionP;
46 enum LookFor { NODE = 1, TYPE = 2, NAME = 4 };
49 void setNode(
SoNode *
const node);
50 SoNode * getNode(
void)
const;
51 void setType(
const SoType type,
const SbBool chkderived = TRUE);
52 SoType getType(SbBool & chkderived)
const;
53 void setName(
const SbName name);
54 SbName getName(
void)
const;
55 void setFind(
const int what);
56 int getFind(
void)
const;
57 void setInterest(
const Interest interest);
58 Interest getInterest(
void)
const;
59 void setSearchingAll(
const SbBool searchall);
60 SbBool isSearchingAll(
void)
const;
61 SoPath * getPath(
void)
const;
66 SbBool isFound(
void)
const;
67 void addPath(
SoPath *
const path);
79 SbBool searchall, chkderived;
87 SbLazyPimplPtr<SoSearchActionP> pimpl;
94 #endif // !COIN_SOSEARCHACTION_H static void initClass(void)
Definition: SoAction.cpp:366
static SbBool duringSearchAll
Definition: SoSearchAction.h:71
The SoSearchAction class provides methods for searching through scene graphs.Nodes can be searched fo...
Definition: SoSearchAction.h:35
The SoPathList class is a container for pointers to SoPath objects.As this class inherits SoBaseList...
Definition: SoPathList.h:31
The SoNode class is the base class for nodes used in scene graphs.Coin is a retained mode 3D visualiz...
Definition: SoNode.h:47
The SoPath class is a container class for traversal path descriptions.SoPath objects contain a list o...
Definition: SoPath.h:43
The SoAction class is the base class for all traversal actions.Applying actions is the basic mechanis...
Definition: SoAction.h:68
virtual void beginTraversal(SoNode *node)
Definition: SoAction.cpp:1263
LookFor
Definition: SoSearchAction.h:46
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:50
Interest
Definition: SoSearchAction.h:47
The SbName class stores strings by reference.The class is used by Coin for storing keywords...
Definition: SbName.h:31