Camera nodekit class. More...
#include <Inventor/nodekits/SoCameraKit.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
virtual const SoNodekitCatalog * | getNodekitCatalog () const |
SoCameraKit () | |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static const SoNodekitCatalog * | getClassNodekitCatalog () |
Camera nodekit class.
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.
NOTES:
(SoTransform) transform
A transform that positions and orients the camera relative to the rest of the scene. Private parts keep the effect of the transform part localized. This part is NULL by default, but may be set to any subclass of SoTransform
(SoCamera) camera
The camera node for this nodekit. The camera part is created by default as an SoPerspectiveCamera node, but may later be changed to any subclass of SoCamera. (e.g., SoPerspectiveCamera, SoOrthographicCamera).
callbackList | NULL |
transform | NULL |
camera | PerspectiveCamera { |
} |
Part Name | Part Type | Default Type | NULL Default |
callbackList | NodeKitListPart | -- | yes |
transform | Transform | -- | yes |
camera | Camera | PerspectiveCamera | no |
Extra Information for List Parts from Above Table
Part Name | Container Type | Possible Types |
callbackList | Separator | Callback, EventCallback |
SoAppearanceKit, SoBaseKit, SoLightKit, SoNodeKit, SoNodeKitDetail, SoNodeKitListPart, SoNodeKitPath, SoNodekitCatalog, SoSceneKit, SoSeparatorKit, SoShapeKit, SoWrapperKit
SoCameraKit::SoCameraKit | ( | ) |
Constructor.
static const SoNodekitCatalog* SoCameraKit::getClassNodekitCatalog | ( | ) | [static] |
Returns the SoNodekitCatalog for this class.
Reimplemented from SoBaseKit.
static SoType SoCameraKit::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from SoBaseKit.
virtual const SoNodekitCatalog* SoCameraKit::getNodekitCatalog | ( | ) | const [virtual] |
Returns the SoNodekitCatalog for this instance.
Reimplemented from SoBaseKit.
virtual SoType SoCameraKit::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from SoBaseKit.