50#ifndef _SO_PERSPECTIVE_CAMERA_
51#define _SO_PERSPECTIVE_CAMERA_
158 static void initClass();
160 static void exitClass();
165 virtual void viewBoundingBox(
const SbBox3f &box,
float aspect,
float slack);
171 void commonConstructor();
SO_PIMPL_PUBLIC_DECLARATION(SoFileDataAdapter)
#define SO_NODE_HEADER(className)
Class for representing a rotation.
Abstract base class for camera nodes.
virtual SbViewVolume getViewVolume(float useAspectRatio, float nearDist, float farDist, SbVec3f position, SbRotation orientation) const
Returns a view volume object, based on the camera's viewing parameters.
virtual void scaleHeight(float scaleFactor)
Scales the height of the camera, in this case, the heightAngle field.
virtual SbViewVolume getViewVolume(float useAspectRatio=0.0) const
Fills in a view volume structure, based on the camera.
SoSFFloat heightAngle
Vertical angle of the viewing volume.
SoPerspectiveCamera()
Creates a perspective camera node with default settings.
Field containing a floating-point value.