SOCAMERAKIT(3iv)
π SoCameraKit(3IV) β the manual page, bestie edition π
okay so this is the manual page for SoCameraKit from section 3IV of the manual. it's giving "camera nodekit class" and honestly? iconic. let's get into it π
β¨ NAME β¨
SoCameraKit β camera nodekit class π₯
πΈ INHERITS FROM πΈ
SoBase > SoFieldContainer > SoNode > SoBaseKit > SoCameraKit
the whole ancestry, fr fr. it's a whole family tree and SoCameraKit is the main character at the bottom π
π¦ SYNOPSIS π¦
#include <Inventor/nodekits/SoCameraKit.h>
Parts from class SoCameraKit:
(SoTransform) transform
(SoCamera) camera
Parts from class SoBaseKit:
(SoNodeKitListPart) callbackList
Methods from class SoCameraKit:
SoCameraKit()
static const SoNodekitCatalog *
getClassNodekitCatalog() const
static SoType getClassTypeId()
Methods from class SoBaseKit:
virtual const SoNodekitCatalog *
getNodekitCatalog() const
virtual SoNode * getPart(const SbName &partName, SbBool
makeIfNeeded)
SbString getPartString(const SoBase *part)
virtual SoNodeKitPath * createPathToPart(const SbName &partName, SbBool
makeIfNeeded, const SoPath *pathToExtend =
NULL)
virtual SbBool setPart(const SbName &partName, SoNode *newPart)
SbBool set(char *partName, char *parameters)
SbBool set(char *nameValuePairs)
static SbBool isSearchingChildren()
static void setSearchingChildren(SbBool newVal)
Methods from class SoNode:
void setOverride(SbBool state)
SbBool isOverride() const
SoNode * copy(SbBool copyConnections = FALSE) const
virtual SbBool affectsState() const
static SoNode * getByName(const SbName &name)
static int getByName(const SbName &name, SoNodeList &list)
Methods from class SoFieldContainer:
void setToDefaults()
SbBool hasDefaultValues() const
SbBool fieldsAreEqual(const SoFieldContainer *fc) const
void copyFieldValues(const SoFieldContainer *fc, SbBool
copyConnections = FALSE)
void get(SbString &fieldDataString)
virtual int getFields(SoFieldList &resultList) const
virtual SoField * getField(const SbName &fieldName) const
SbBool getFieldName(const SoField *field, SbName &fieldName)
const
SbBool isNotifyEnabled() const
SbBool enableNotify(SbBool flag)
Methods from class SoBase:
void ref()
void unref() const
void unrefNoDelete() const
void touch()
virtual SoType getTypeId() const
SbBool isOfType(SoType type) const
virtual void setName(const SbName &name)
virtual SbName getName() const
Macros from class SoBaseKit:
SO_GET_PART(kit, partName, partClass)
SO_CHECK_PART(kit, partName, partClass)
that's a LOT of methods and every single one of them stays, no cap. we do not skip. π
π 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. glow up potential? infinite. π¦
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. like, the transform stays in its lane, respectfully. π
SoCameraKit is derived from SoBaseKit and thus also includes a callbackList part for adding callback nodes. π
π PARTS π
(SoTransform) transformβ a transform that positions and orients the camera relative to the rest of the scene. private parts keep the effect of thetransformpart localized. this part isNULLby default, but may be set to any subclass ofSoTransform. lowkey flexible, highkey iconic.(SoCamera) cameraβ the camera node for this nodekit. thecamerapart is created by default as anSoPerspectiveCameranode, but may later be changed to any subclass ofSoCamera. (e.g.,SoPerspectiveCamera,SoOrthographicCamera). it's giving range. π
β METHODS β
SoCameraKit()β constructor. the birth of a legend π«Άstatic const SoNodekitCatalog * getClassNodekitCatalog() constβ returns anSoNodekitCatalogfor the classSoCameraKit.static SoType getClassTypeId()β returns type identifier for this class.
π CATALOG PARTS π
all parts, bestie
callbackListβ part typeNodeKitListPart, default type--, NULL by default: yestransformβ part typeTransform, default type--, NULL by default: yescameraβ part typeCamera, default typePerspectiveCamera, NULL by default: no
extra information for list parts from above table
callbackListβ container typeSeparator, permissible types:Callback,EventCallback
π§ FILE FORMAT/DEFAULTS π§
CameraKit {
callbackList NULL
transform NULL
camera PerspectiveCamera {
}
}
that's the whole vibe in a code block, periodt. π₯
π SEE ALSO π
SoAppearanceKit, SoBaseKit, SoLightKit, SoNodeKit, SoNodeKitDetail, SoNodeKitListPart, SoNodeKitPath, SoNodekitCatalog, SoSceneKit, SoSeparatorKit, SoShapeKit, SoWrapperKit
the whole friend group, go read them too π«Ά
okay that's the whole page, bestie! this was SoCameraKit(3IV)() β that's the source/version and date info from the footer, folded into a cute little sign-off instead of a boring footer line. mwah π go build something slay with it β¨πΈ
π¦ where this page comes from
- debian bookworm: inventor-doc 2.1.5-10+dfsg-2 Β· LGPL-2.0-or-later
- debian trixie: inventor-doc 2.1.6+ds-2 Β· LGPL-2.0-or-later
- ubuntu jammy: inventor-doc 2.1.5-10-24
- ubuntu noble: inventor-doc 2.1.5-10+dfsg-2.1build2 Β· LGPL-2.0-or-later
- ubuntu questing: inventor-doc 2.1.6+ds-2
- ubuntu resolute: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- ubuntu stonking: inventor-doc 2.1.6.1+ds-1 Β· LGPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms