55#ifndef _SO_ORTHOGRAPHIC_CAMERA_
56#define _SO_ORTHOGRAPHIC_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.
Orthographic camera node.
SoOrthographicCamera()
Creates an orthographic 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.
virtual void scaleHeight(float scaleFactor)
Scales the height of the camera, in this case, the 'height' field.
virtual ~SoOrthographicCamera()
virtual SbViewVolume getViewVolume(float useAspectRatio=0.0) const
Fills in a view volume structure, based on the camera.
SoSFFloat height
Height of the viewing volume.
Field containing a floating-point value.