Open Inventor Reference
|
Camera nodekit class. More...
#include <Inventor/nodekits/SoCameraKit.h>
Public Member Functions | |
SoCameraKit () | |
Constructor. | |
Static Public Member Functions | |
static void | initClass () |
Initializes base node class. | |
Protected Member Functions | |
virtual | ~SoCameraKit () |
This nodekit class is used to create camera nodes that have a local transformation. SoCameraKit adds two public parts to the basic nodekit: transform and camera.
The camera part is created by default as an SoPerspectiveCamera node, but may later be changed to any subclass of SoCamera.
You can move the camera relative to the rest of the scene by creating and editing the transform part.
SoCameraKit also adds a private part, transformGroup, which is of type SoTransformSeparator. The kit uses this part to contain the effect of transform to move only the camera, while allowing the camera to affect the rest of the scene.
SoCameraKit is derived from SoBaseKit and thus also includes a callbackList part for adding callback nodes.
NULL
by default, but may be set to any subclass of SoTransform Definition at line 104 of file SoCameraKit.h.
SoCameraKit::SoCameraKit | ( | ) |
virtual SoCameraKit::~SoCameraKit | ( | ) | [protected, virtual] |
static void SoCameraKit::initClass | ( | ) | [static] |
Reimplemented from SoBaseKit.