50#ifndef _SO_COMPUTE_BOUNDING_BOX_
51#define _SO_COMPUTE_BOUNDING_BOX_
167 static void initClass();
168 static void exitClass();
173 virtual void inputChanged(
SoField *whichInput);
176 virtual void evaluate();
#define SO_ENGINE_HEADER(className)
Class for representing a viewport.
Computes the bounding box and center of a scene graph.
const SbViewportRegion & getViewportRegion() const
Returns the viewport region to use for the bounding box computation.
SoSFNode node
Defines the graph for which the bounding box is computed.
SoEngineOutput min
( SoSFVec3f ) Minimum point of the computed bounding box.
SoComputeBoundingBox()
Constructor.
void setViewportRegion(const SbViewportRegion &vpReg)
Sets the viewport region to use for the bounding box computation.
SoEngineOutput objectCenter
( SoSFVec3f ) Center of the objects in the graph.
SoSFPath path
Alternatively, defines the graph for which the bounding box is computed.
SoEngineOutput max
( SoSFVec3f ) Maximum point of the computed bounding box.
SoEngineOutput boxCenter
( SoSFVec3f ) Center of the computed bounding box.
Base class for all engines.
Class for all engine outputs.
Base class for all fields.
Computes bounding box of a scene.
Field containing a a node.
Field containing an SoPath.