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.
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
virtual void evaluate()=0
User-written evaluation engine.
SoEngine()
Constructor, destructor.
friend class SoEngineOutput
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.