50#ifndef _SO_ORTHOGRAPHIC_CAMERA_
51#define _SO_ORTHOGRAPHIC_CAMERA_
157 static void initClass();
159 static void exitClass();
164 virtual void viewBoundingBox(
const SbBox3f &box,
float aspect,
float slack);
170 void commonConstructor();
SO_PIMPL_PUBLIC_DECLARATION(SoFileDataAdapter)
#define SO_NODE_HEADER(className)
Class for representing a rotation.
Abstract base class for camera nodes.
Orthographic camera node.
SoOrthographicCamera()
Creates an orthographic camera node with default settings.
virtual void scaleHeight(float scaleFactor)
Scales the height of the camera, in this case, the height field.
virtual SbViewVolume getViewVolume(float useAspectRatio=0.0) const
Fills in a view volume structure, based on the camera.
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.
SoSFFloat height
Height of the viewing volume.
Field containing a floating-point value.