1 #ifndef COIN_SOINTERACTIONKIT_H
2 #define COIN_SOINTERACTIONKIT_H
36 #include <Inventor/nodekits/SoSubKit.h>
37 #include <Inventor/nodekits/SoBaseKit.h>
38 #include <Inventor/fields/SoSFEnum.h>
42 #else // !COIN_INTERNAL
44 #include <Inventor/sensors/SoFieldSensor.h>
45 #endif // !COIN_INTERNAL
55 SO_KIT_CATALOG_ENTRY_HEADER(geomSeparator);
56 SO_KIT_CATALOG_ENTRY_HEADER(topSeparator);
66 static void initClass(
void);
70 virtual SbBool setPartAsPath(
const SbName &partname,
72 virtual SbBool setPartAsDefault(
const SbName &partname,
74 SbBool onlyifdefault = TRUE);
75 virtual SbBool setPartAsDefault(
const SbName &partname,
77 SbBool onlyifdefault = TRUE);
78 SbBool isPathSurrogateInMySubgraph(
const SoPath *path,
82 SbBool fillargs = TRUE);
83 SbBool isPathSurrogateInMySubgraph(
const SoPath *path);
84 static void setSwitchValue(
SoNode *node,
const int newVal);
90 SbBool copyConnections);
94 static void readDefaultParts(
const char *fileName,
95 const char defaultBuffer[],
97 virtual SbBool setAnyPartAsDefault(
const SbName &partname,
99 SbBool anypart = TRUE,
100 SbBool onlyifdefault = TRUE);
101 virtual SbBool setAnyPartAsDefault(
const SbName &partname,
103 SbBool anypart = TRUE,
104 SbBool onlyifdefault = TRUE);
105 SbBool setAnySurrogatePath(
const SbName &name,
107 SbBool leafcheck = FALSE,
108 SbBool publiccheck = FALSE);
113 static void fieldSensorCB(
void *,
SoSensor *);
116 void connectSeparatorFields(
SoSeparator *dest, SbBool onOff );
119 class SoInteractionKitP * pimpl;
120 friend class SoInteractionKitP;
123 #endif // !COIN_SOINTERACTIONKIT_H