1 #ifndef COIN_SOINTERACTIONKIT_H
2 #define COIN_SOINTERACTIONKIT_H
27 #include <Inventor/nodekits/SoSubKit.h>
28 #include <Inventor/nodekits/SoBaseKit.h>
29 #include <Inventor/fields/SoSFEnum.h>
33 #else // !COIN_INTERNAL
35 #include <Inventor/sensors/SoFieldSensor.h>
36 #endif // !COIN_INTERNAL
46 SO_KIT_CATALOG_ENTRY_HEADER(geomSeparator);
47 SO_KIT_CATALOG_ENTRY_HEADER(topSeparator);
57 static void initClass(
void);
61 virtual SbBool setPartAsPath(
const SbName &partname,
63 virtual SbBool setPartAsDefault(
const SbName &partname,
65 SbBool onlyifdefault = TRUE);
66 virtual SbBool setPartAsDefault(
const SbName &partname,
68 SbBool onlyifdefault = TRUE);
69 SbBool isPathSurrogateInMySubgraph(
const SoPath *path,
73 SbBool fillargs = TRUE);
74 SbBool isPathSurrogateInMySubgraph(
const SoPath *path);
75 static void setSwitchValue(
SoNode *node,
const int newVal);
81 SbBool copyConnections);
85 static void readDefaultParts(
const char *fileName,
86 const char defaultBuffer[],
88 virtual SbBool setAnyPartAsDefault(
const SbName &partname,
90 SbBool anypart = TRUE,
91 SbBool onlyifdefault = TRUE);
92 virtual SbBool setAnyPartAsDefault(
const SbName &partname,
94 SbBool anypart = TRUE,
95 SbBool onlyifdefault = TRUE);
96 SbBool setAnySurrogatePath(
const SbName &name,
98 SbBool leafcheck = FALSE,
99 SbBool publiccheck = FALSE);
104 static void fieldSensorCB(
void *,
SoSensor *);
107 void connectSeparatorFields(
SoSeparator *dest, SbBool onOff );
110 class SoInteractionKitP * pimpl;
111 friend class SoInteractionKitP;
114 #endif // !COIN_SOINTERACTIONKIT_H
virtual void copyContents(const SoFieldContainer *fromfc, SbBool copyconnections)
Definition: SoBaseKit.cpp:1572
The SbName class stores strings by reference.
Definition: SbName.h:31
virtual void setDefaultOnNonWritingFields(void)
Definition: SoBaseKit.cpp:1283
The SoSensor class is the abstract base class for all sensors.
Definition: SoSensor.h:34
virtual SbBool setUpConnections(SbBool onoff, SbBool doitalways=FALSE)
Definition: SoBaseKit.cpp:2050
virtual SbBool readInstance(SoInput *in, unsigned short flags)
Definition: SoBaseKit.cpp:2057
The SoPath class is a container class for traversal path descriptions.
Definition: SoPath.h:43
The SoSFEnum class is a container for an enum value.
Definition: SoSFEnum.h:31
CacheEnabled
Definition: SoInteractionKit.h:59
The SoBase class is the top-level superclass for a number of class-hierarchies.
Definition: SoBase.h:36
The SoFieldContainer class is a base class for all classes that contain fields.
Definition: SoFieldContainer.h:34
SoSFEnum boundingBoxCaching
Definition: SoInteractionKit.h:51
SoSFEnum renderCulling
Definition: SoInteractionKit.h:52
SoSFEnum pickCulling
Definition: SoInteractionKit.h:53
SoSFEnum renderCaching
Definition: SoInteractionKit.h:50
The SoFieldSensor class detects changes to a field.
Definition: SoFieldSensor.h:29
The SoInteractionKit class is a base class for draggers.
Definition: SoInteractionKit.h:41
The SoSeparator class is a state-preserving group node.
Definition: SoSeparator.h:35
The SoBaseKit class is the toplevel superclass for nodekits.
Definition: SoBaseKit.h:57
SoSeparator * oldTopSep
Definition: SoInteractionKit.h:105
The SoNode class is the base class for nodes used in scene graphs.
Definition: SoNode.h:47
SoFieldSensor * fieldSensor
Definition: SoInteractionKit.h:103
virtual SbBool setPart(const SbName &partname, SoNode *from)
Definition: SoBaseKit.cpp:799
Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated on Mon Jul 27 2020 for Coin by Doxygen 1.8.18.