209 static int numRenderCaches;
#define SoEXTENDER
Provide inline template functions for abs, swap, min, max, and clamp.
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_NODE_HEADER(className)
Non-abstract classes have everything abstract classes have, plus a way to create an instance.
Abstract base class for all actions.
Class SoBoundingBoxCache:
Performs a generic traversal of the scene graph.
Renders a scene graph using OpenGL.
Computes bounding box of a scene.
Computes transformation matrix for subgraph.
Base class for all group nodes.
Allows nodes in a graph to receive input events.
Holds a list of SoNotRec notification records.
Intersects objects with a ray cast into scene.
Field containing an enumerated value.
Searches for nodes in a scene graph.
Group node that saves and restores traversal state.
static int getNumRenderCaches()
Returns the current number of render caches.
SoSFEnum boundingBoxCaching
Whether to cache during bounding box traversal.
virtual void getBoundingBox(SoGetBoundingBoxAction *action)
static void setNumRenderCaches(int howMany)
By default, each separator node maintains 2 render caches.
virtual bool cullTest(SoGLRenderAction *action, int &cullResults)
Returns TRUE if this separator can be culled because it is outside the cull volume.
virtual bool affectsState() const
Overrides default method on SoNode.
CacheEnabled
Possible values for caching.
@ ON
Always try to build a cache.
@ OFF
Never build or use a cache.
virtual void getMatrix(SoGetMatrixAction *action)
SoSFEnum renderCaching
Whether to cache during rendering traversal.
virtual void GLRenderBelowPath(SoGLRenderAction *action)
These methods make render traversal faster by implementing different rendering paths corresponding to...
SoSFEnum renderCulling
Whether to cull during rendering traversal.
virtual void handleEvent(SoHandleEventAction *action)
virtual void notify(SoNotList *list)
Propagates modification notification through an instance.
virtual void rayPick(SoRayPickAction *action)
virtual void callback(SoCallbackAction *action)
virtual void GLRenderInPath(SoGLRenderAction *action)
SoSeparator()
Creates a separator node with default settings.
SoSFEnum pickCulling
Whether to cull during picking traversal.
virtual void search(SoSearchAction *action)
virtual void GLRender(SoGLRenderAction *action)
These virtual functions implement all of the actions for nodes, Most of the default implementations d...
virtual bool readInstance(SoInput *in, unsigned short flags)
Reads stuff into instance of SoGroup. Returns FALSE on error.
SoSeparator(int nChildren)
Constructor that takes approximate number of children.
virtual void doAction(SoAction *action)
Implement actions.
virtual void GLRenderOffPath(SoGLRenderAction *action)