55#ifndef _SO_PERSPECTIVE_CAMERA_
56#define _SO_PERSPECTIVE_CAMERA_
135 float aspect,
float slack);
#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 camera nodes.
virtual void scaleHeight(float scaleFactor)
Scales the height of the camera, in this case, the 'heightAngle' field.
virtual ~SoPerspectiveCamera()
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.
virtual void viewBoundingBox(const SbBox3f &box, float aspect, float slack)
Positions camera to view passed bounding box with given aspect ratio and current height angle.
Field containing a floating-point value.