1#ifndef COIN_SOBASEKIT_H
2#define COIN_SOBASEKIT_H
36#include <Inventor/nodekits/SoSubKit.h>
37#include <Inventor/nodes/SoNode.h>
42#include <Inventor/SoNodeKitPath.h>
43#include <Inventor/misc/SoChildList.h>
53#define SO_GET_PART(_kit_, _name_, _classname_) \
54 ((_classname_ *)_kit_->getPart(_name_, TRUE))
56#define SO_CHECK_PART(_kit_, _name_, _classname_) \
57 (static_cast<_classname_ *>(_kit_->getPart(_name_, FALSE)))
59#define SO_GET_ANY_PART(_kit_, _name_, _classname_) \
60 (static_cast<_classname_ *>(_kit_->getAnyPart(_name_, TRUE, FALSE, FALSE)))
62#define SO_CHECK_ANY_PART(_kit_, _name_, _classname_) \
63 (static_cast<_classname_ *>(_kit_->getAnyPart(_name_, FALSE, FALSE, FALSE)))
71 SO_KIT_CATALOG_ENTRY_HEADER(callbackList);
74 static void initClass(
void);
89 virtual void doAction(
SoAction * action);
102 void printDiagram(
void);
104 void printTable(
void);
109 static SbBool isSearchingChildren(
void);
110 static void setSearchingChildren(
const SbBool
newval);
117 virtual SoNode * addToCopyDict(
void)
const;
133 void createNodekitPartsList(
void);
134 void createFieldList(
void);
135 virtual void createDefaultParts(
void);
139 void catalogError(
void);
140 virtual SbBool setUpConnections(SbBool
onoff, SbBool
doitalways = FALSE);
141 virtual SbBool readInstance(
SoInput *
in,
unsigned short flags);
142 virtual void setDefaultOnNonWritingFields(
void);
156 static void atexit_cleanupkit(
void);
158 SbBool makePart(
const int partnum);
159 int getRightSiblingIndex(
const int partnum);
164 static SbBool searchchildren;
166 class SoBaseKitP * pimpl;
167 friend class SoBaseKitP;
The SbList class is a template container class for lists.
Definition SbList.h:70
The SbName class stores strings by reference.
Definition SbName.h:40
The SbString class is a string class with convenience functions for string operations.
Definition SbString.h:52
The SoAction class is the base class for all traversal actions.
Definition SoAction.h:77
The SoBaseKit class is the top level superclass for nodekits.
Definition SoBaseKit.h:66
SbBool connectionsSetUp
Definition SoBaseKit.h:148
SoChildList * children
Definition SoBaseKit.h:147
The SoBase class is the top-level superclass for a number of class-hierarchies.
Definition SoBase.h:45
The SoCallbackAction class invokes callbacks at specific nodes.
Definition SoCallbackAction.h:80
The SoChildList class is a container for node children.
Definition SoChildList.h:42
The SoFieldContainer class is a base class for all classes that contain fields.
Definition SoFieldContainer.h:43
The SoGLRenderAction class renders the scene graph with OpenGL calls.
Definition SoGLRenderAction.h:50
The SoGetBoundingBoxAction class calculates bounding boxes for nodes and subgraphs.
Definition SoGetBoundingBoxAction.h:45
The SoGetMatrixAction class is an action for accumulating the transformation matrix of a subgraph.
Definition SoGetMatrixAction.h:46
The SoGetPrimitiveCountAction class counts the primitives in a scene.
Definition SoGetPrimitiveCountAction.h:44
The SoGroup class is a node which managed other node instances.
Definition SoGroup.h:40
The SoHandleEventAction class distributes user events to the scene.
Definition SoHandleEventAction.h:46
The SoInteractionKit class is a base class for draggers.
Definition SoInteractionKit.h:50
The SoNodeKitPath class is a path that contains only nodekit nodes.
Definition SoNodeKitPath.h:42
The SoNode class is the base class for nodes used in scene graphs.
Definition SoNode.h:56
The SoNodekitCatalog class is a container for nodekit layouts.
Definition SoNodekitCatalog.h:45
The SoOutput class is an abstraction of an output stream.
Definition SoOutput.h:51
The SoPath class is a container class for traversal path descriptions.
Definition SoPath.h:52
The SoRayPickAction class does ray intersection with scene graphs.
Definition SoRayPickAction.h:50
The SoSearchAction class provides methods for searching through scene graphs.
Definition SoSearchAction.h:44
The SoWriteAction class writes a scene graph to file.
Definition SoWriteAction.h:42