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 The SoBase class is the top-level superclass for a number of class-hierarchies.SoBase provides the ba...
Definition: SoBase.h:45
The SoBaseKit class is the toplevel superclass for nodekits.Node kits are collections of nodes and ot...
Definition: SoBaseKit.h:66
SoFieldSensor * fieldSensor
Definition: SoInteractionKit.h:112
virtual SbBool setPart(const SbName &partname, SoNode *from)
Definition: SoBaseKit.cpp:808
The SoFieldContainer class is a base class for all classes that contain fields.The classes containing...
Definition: SoFieldContainer.h:43
The SoNode class is the base class for nodes used in scene graphs.Coin is a retained mode 3D visualiz...
Definition: SoNode.h:56
CacheEnabled
Definition: SoInteractionKit.h:68
The SoSFEnum class is a container for an enum value.This field is used where nodes, engines or other field containers needs to store one particular value out of an enumerated set.
Definition: SoSFEnum.h:40
virtual void setDefaultOnNonWritingFields(void)
Definition: SoBaseKit.cpp:1292
The SoInteractionKit class is a base class for draggers.This nodekit class makes it possible to set s...
Definition: SoInteractionKit.h:50
virtual void copyContents(const SoFieldContainer *fromfc, SbBool copyconnections)
Definition: SoBaseKit.cpp:1581
The SoPath class is a container class for traversal path descriptions.SoPath objects contain a list o...
Definition: SoPath.h:52
The SoSensor class is the abstract base class for all sensors.Sensors is a mechanism in Coin for sche...
Definition: SoSensor.h:43
virtual SbBool readInstance(SoInput *in, unsigned short flags)
Definition: SoBaseKit.cpp:2069
The SoFieldSensor class detects changes to a field.Attach a field to a sensor of this type to put it ...
Definition: SoFieldSensor.h:38
SoSFEnum boundingBoxCaching
Definition: SoInteractionKit.h:60
SoSFEnum pickCulling
Definition: SoInteractionKit.h:62
virtual SbBool setUpConnections(SbBool onoff, SbBool doitalways=FALSE)
Definition: SoBaseKit.cpp:2062
SoSFEnum renderCulling
Definition: SoInteractionKit.h:61
The SoSeparator class is a state-preserving group node.Subgraphs parented by SoSeparator nodes will n...
Definition: SoSeparator.h:44
SoSFEnum renderCaching
Definition: SoInteractionKit.h:59
SoSeparator * oldTopSep
Definition: SoInteractionKit.h:114
The SbName class stores strings by reference.The class is used by Coin for storing keywords...
Definition: SbName.h:40