59#ifndef _SO_COMPUTE_BOUNDING_BOX_
60#define _SO_COMPUTE_BOUNDING_BOX_
#define INVENTOR_API
Disable some annoying warnings on MSVC 6.
#define SO_ENGINE_HEADER(className)
Class for representing a viewport.
Computes the bounding box and center of a scene graph.
const SbViewportRegion & getViewportRegion() const
SoEngineOutput min
Outputs:
virtual void inputChanged(SoField *whichInput)
Indicates that an input has changed - we use this to determine whether to use the node or path,...
SoComputeBoundingBox()
Constructor.
void setViewportRegion(const SbViewportRegion &vpReg)
Sets the viewport region to use for the bounding box computation.
SoEngineOutput objectCenter
(SoSFVec3f) Center of object(s)
SoSFPath path
Pointer to path defining graph.
SoEngineOutput max
(SoSFVec3f) Maximum point of bbox
SoEngineOutput boxCenter
(SoSFVec3f) Center point of bbox
Class for all engine outputs.
Base class for all engines.
virtual void evaluate()=0
User-written evaluation engine.
Base class for all fields.
Computes bounding box of a scene.
Field containing a pointer to a node.
Field containing a pointer to an SoPath.