1 #ifndef COIN_SONODEVISUALIZE_H 2 #define COIN_SONODEVISUALIZE_H 36 #include <Inventor/nodekits/SoBaseKit.h> 37 #include <Inventor/nodes/SoSeparator.h> 38 #include <Inventor/lists/SoNodeList.h> 39 #include <Inventor/tools/SbPimplPtr.h> 40 #include <Inventor/SbVec2s.h> 41 #include <Inventor/SbVec3f.h> 50 class COIN_DLL_API SoNodeVisualize :
public SoBaseKit 54 SO_KIT_HEADER(SoNodeVisualize);
55 SO_KIT_CATALOG_ENTRY_HEADER(topSeparator);
56 SO_KIT_CATALOG_ENTRY_HEADER(childrenVisible);
57 SO_KIT_CATALOG_ENTRY_HEADER(color);
58 SO_KIT_CATALOG_ENTRY_HEADER(texture);
59 SO_KIT_CATALOG_ENTRY_HEADER(textureTransform);
60 SO_KIT_CATALOG_ENTRY_HEADER(shape);
61 SO_KIT_CATALOG_ENTRY_HEADER(rotSwitch);
62 SO_KIT_CATALOG_ENTRY_HEADER(rotation);
63 SO_KIT_CATALOG_ENTRY_HEADER(childGeometry);
64 SO_KIT_CATALOG_ENTRY_HEADER(translation);
65 SO_KIT_CATALOG_ENTRY_HEADER(lines);
66 SO_KIT_CATALOG_ENTRY_HEADER(lineSep);
69 static void initClass(
void);
70 static void cleanClass(
void);
72 SoNodeVisualize * visualize(
SoNode *);
73 static SoNodeVisualize* visualizeTree(
SoNode * node,
int depth=-1);
75 void setAlternate(
bool alternating=
true);
76 bool nodeHasChildren();
77 unsigned int nodeNumChildren();
78 bool isAlternating()
const;
85 SoNodeVisualize(
void);
86 virtual ~SoNodeVisualize();
89 void setupChildCatalog(
SoNode * node,
int depth);
90 void visualizeSubTree(
SoNode * node,
int depth=-1);
93 SoNodeVisualize* getSoNodeVisualizeRoot();
94 void internalAlternating(
bool alternating,
int direction);
99 SbPimplPtr<class SoNodeVisualizeP> pimpl;
102 SoNodeVisualize(
const SoNodeVisualize &);
103 SoNodeVisualize & operator = (
const SoNodeVisualize &);
107 SoNodeVisualize *parent;
112 #endif // !COIN_SONODEVISUALIZE_H The SoBaseKit class is the toplevel superclass for nodekits.Node kits are collections of nodes and ot...
Definition: SoBaseKit.h:66
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 SoProfilerStats class is a node for exposing profiling results gathered by SoProfilerElement.
Definition: SoProfilerStats.h:47
virtual void handleEvent(SoHandleEventAction *action)
Definition: SoBaseKit.cpp:1074
The SoHandleEventAction class distributes user events to the scene.This is the action used by the GUI...
Definition: SoHandleEventAction.h:46
The SoNodeList class is a container for pointers to SoNode objects.
Definition: SoNodeList.h:40
The SbVec2s class is a 2 dimensional vector with short integer coordinates.This vector class is used ...
Definition: SbVec2s.h:51