man SoCameraKit () - camera nodekit class

NAME

SoCameraKit - camera nodekit class

INHERITS FROM

SoBase > SoFieldContainer > SoNode > SoBaseKit > SoCameraKit

SYNOPSIS

#include <Inventor/nodekits/SoCameraKit.h> Parts from class SoCameraKit: c } c } transform

c } c } camera Parts from class SoBaseKit: c } c } callbackList Methods from class SoCameraKit: c } c } SoCameraKit()

c } c } getClassNodekitCatalog() const

c } c } getClassTypeId() Methods from class SoBaseKit: c } c } getNodekitCatalog() const

c } c } getPart(const SbName &partName, SbBool makeIfNeeded)

c } c } getPartString(const SoBase *part)

c } c } createPathToPart(const SbName &partName, SbBool makeIfNeeded, const SoPath *pathToExtend = NULL)

c } c } setPart(const SbName &partName, SoNode *newPart)

c } c } set(char *partName, char *parameters)

c } c } set(char *nameValuePairs)

c } c } isSearchingChildren()

c } c } setSearchingChildren(SbBool newVal) Methods from class SoNode: c } c } setOverride(SbBool state)

c } c } isOverride() const

c } c } copy(SbBool copyConnections = FALSE) const

c } c } affectsState() const

c } c } getByName(const SbName &name)

c } c } getByName(const SbName &name, SoNodeList &list) Methods from class SoFieldContainer: c } c } setToDefaults()

c } c } hasDefaultValues() const

c } c } fieldsAreEqual(const SoFieldContainer *fc) const

c } c } copyFieldValues(const SoFieldContainer *fc, SbBool copyConnections = FALSE)

c } c } get(SbString &fieldDataString)

c } c } getFields(SoFieldList &resultList) const

c } c } getField(const SbName &fieldName) const

c } c } getFieldName(const SoField *field, SbName &fieldName) const

c } c } isNotifyEnabled() const

c } c } enableNotify(SbBool flag) Methods from class SoBase: c } c } ref()

c } c } unref() const

c } c } unrefNoDelete() const

c } c } touch()

c } c } getTypeId() const

c } c } isOfType(SoType type) const

c } c } setName(const SbName &name)

c } c } getName() const Macros from class SoBaseKit: SO_GET_PART(kit, partName, partClass)

SO_CHECK_PART(kit, partName, partClass)

DESCRIPTION

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.

PARTS

c } c } 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 c } c } 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).

METHODS

c } c } SoCameraKit()

Constructor. c } c } getClassNodekitCatalog() const

Returns an SoNodekitCatalog for the class SoCameraKit. c } c } getClassTypeId()

Returns type identifier for this class.

CATALOG PARTS

box, tab(!); cb s s s lb lb lb lb lb lb lb lb l l l c. All parts !!!NULL by Part Name!Part Type!Default Type!Default

callbackList!NodeKitListPart!--!yes transform!Transform!--!yes camera!Camera!PerspectiveCamera!no

box, tab(!); cb s s lb lb lbw(3) l l l. Extra information for list parts from above table Part Name!Container Type!Permissible Types

callbackList!Separator!T{ Callback, EventCallback T}

FILE FORMAT/DEFAULTS

CameraKit {
callbackList	NULL
transform	NULL
camera	PerspectiveCamera {
}

}

SEE ALSO

SoAppearanceKit, SoBaseKit, SoLightKit, SoNodeKit, SoNodeKitDetail, SoNodeKitListPart, SoNodeKitPath, SoNodekitCatalog, SoSceneKit, SoSeparatorKit, SoShapeKit, SoWrapperKit