SoCenterballManip(3)
๐ NAME ๐
SoCenterballManip โ okay so bestie, this is the whole vibe in one line: the SoCenterballManip wraps an SoCenterballDragger for convenience. That's it. That's the girl. Convenience is her entire personality ๐
โจ SYNOPSIS โจ
#include <Inventor/manips/SoCenterballManip.h>
Inherits SoTransformManip.
๐ Public Member Functions ๐
virtual SoType getTypeId (void) constโ the type-id hook, standard Coin situation, she has one like every class does โจSoCenterballManip (void)โ the constructor, default-style, no args, just vibes ๐
๐ฆ Public Member Functions inherited from SoTransformManip ๐ฆ
SoTransformManip (void)โ constructor, handed down from above ๐ซถSoDragger * getDragger (void)โ grabs the dragger ๐ฏSbBool replaceNode (SoPath *p)โ swap-a-node situation, returns anSbBool๐ซSbBool replaceManip (SoPath *p, SoTransform *newone) constโ swaps the manip out for aSoTransform *newone, const-flavoured ๐ธvirtual void doAction (SoAction *action)โ the do-action entry point ๐ฅvirtual void callback (SoCallbackAction *action)โ callback action handling, very demure ๐virtual void GLRender (SoGLRenderAction *action)โ the GL render pass, main character energy ๐virtual void getBoundingBox (SoGetBoundingBoxAction *action)โ bounding box time ๐ฆvirtual void getMatrix (SoGetMatrixAction *action)โ matrix, get it โจvirtual void handleEvent (SoHandleEventAction *action)โ events get handled here ๐ชvirtual void pick (SoPickAction *action)โ picking, as one does ๐ฏvirtual void search (SoSearchAction *action)โ the search action ๐virtual SoChildList * getChildren (void) constโ hands you the child list โญ
๐ง Public Member Functions inherited from SoTransform ๐ง
SoTransform (void)โ constructor, inherited ๐ซถvoid pointAt (const SbVec3f &frompoint, const SbVec3f &topoint)โ points at stuff, from frompoint to topoint ๐void getScaleSpaceMatrix (SbMatrix &mat, SbMatrix &inv) constโ scale-space matrix + its inverse, both handed back by reference ๐void getRotationSpaceMatrix (SbMatrix &mat, SbMatrix &inv) constโ rotation-space matrix and inverse, same deal ๐void getTranslationSpaceMatrix (SbMatrix &mat, SbMatrix &inv) constโ translation-space matrix and inverse ๐ธvoid multLeft (const SbMatrix &mat)โ multiply on the left โ๏ธvoid multRight (const SbMatrix &mat)โ multiply on the right โก๏ธvoid combineLeft (SoTransformation *nodeonright)โ combines left, with the node on the right, yes the naming is Like That ๐void combineRight (SoTransformation *nodeonleft)โ combines right, node on the left, we don't make the rules ๐void setMatrix (const SbMatrix &mat)โ sets the matrix, iconic behavior ๐void recenter (const SbVec3f &newcenter)โ recenters to newcenter ๐ฏvirtual void getPrimitiveCount (SoGetPrimitiveCountAction *action)โ counts primitives ๐ข
๐ Public Member Functions inherited from SoNode ๐
void setOverride (const SbBool state)โ sets override to state ๐๏ธSbBool isOverride (void) constโ are we overriding? returns a bool ๐ซถvoid setNodeType (const NodeType type)โ sets the node type โจNodeType getNodeType (void) constโ gets the node type back ๐ธvirtual SoNode * copy (SbBool copyconnections=FALSE) constโ copies the node, copyconnections defaults toFALSE๐virtual SbBool affectsState (void) constโ does it affect state? bool says yes or no ๐คvirtual void GLRenderBelowPath (SoGLRenderAction *action)โ GL render below the path ๐ค๏ธvirtual void GLRenderInPath (SoGLRenderAction *action)โ GL render in the path ๐ค๏ธvirtual void GLRenderOffPath (SoGLRenderAction *action)โ GL render off the path ๐ค๏ธvirtual void rayPick (SoRayPickAction *action)โ ray pick, the spicy pick ๐ฆvirtual void write (SoWriteAction *action)โ writes it out โ๏ธvirtual void audioRender (SoAudioRenderAction *action)โ audio render, sound check ๐virtual void grabEventsSetup (void)โ event-grabbing setup ๐ชvirtual void grabEventsCleanup (void)โ event-grabbing cleanup ๐งนvirtual void startNotify (void)โ kicks off notify ๐ฃvirtual void notify (SoNotList *l)โ notifies with the list l ๐ฃSbUniqueId getNodeId (void) constโ returns the unique node id ๐virtual void writeInstance (SoOutput *out)โ writes the instance out to out โ๏ธvirtual SoNode * addToCopyDict (void) constโ adds itself to the copy dictionary ๐virtual SoFieldContainer * copyThroughConnection (void) constโ copies through the connection ๐
๐ Public Member Functions inherited from SoFieldContainer ๐
void setToDefaults (void)โ resets everything to defaults ๐งผSbBool hasDefaultValues (void) constโ checks if it's all still default values โSbBool fieldsAreEqual (const SoFieldContainer *container) constโ compares fields against container โ๏ธvoid copyFieldValues (const SoFieldContainer *container, SbBool copyconnections=FALSE)โ copies field values from container, copyconnections defaults toFALSE๐SbBool set (const char *const fielddata)โ sets from achar *blob of field data ๐๏ธvoid get (SbString &fielddata)โ gets the field data out into anSbString๐คvirtual int getFields (SoFieldList &l) constโ fills l with fields, returns anint๐ขvirtual int getAllFields (SoFieldList &l) constโ all of them, into l, returns anint๐ขvirtual SoField * getField (const SbName &name) constโ grabs the field by name ๐virtual SoField * getEventIn (const SbName &name) constโ grabs the event-in by name ๐ฅvirtual SoField * getEventOut (const SbName &name) constโ grabs the event-out by name ๐คSbBool getFieldName (const SoField *const field, SbName &name) constโ finds the name for a given field ๐ท๏ธSbBool enableNotify (const SbBool flag)โ turns notify on or off with flag ๐SbBool isNotifyEnabled (void) constโ is notify on? bool time ๐SbBool set (const char *fielddata, SoInput *input)โ sets from fielddata using input ๐ฅvoid get (SbString &fielddata, SoOutput *out)โ gets field data out via out ๐คvirtual SbBool validateNewFieldValue (SoField *field, void *newval)โ validates a new value for field โvirtual void addWriteReference (SoOutput *out, SbBool isfromfield=FALSE)โ adds a write reference, isfromfield defaults toFALSEโ๏ธSbBool getIsBuiltIn (void) constโ built-in or not, returns a bool ๐๏ธvirtual void getFieldsMemorySize (size_t &managed, size_t &unmanaged) constโ hands back memory sizes for managed and unmanaged, bothsize_tby reference ๐งฎvoid setUserData (void *userdata) constโ stashes your userdata pointer, and yes it'sconst๐พvoid * getUserData (void) constโ gives that pointer back ๐
๐ Public Member Functions inherited from SoBase ๐
void ref (void) constโ refs it up โฌ๏ธvoid unref (void) constโ unrefs it โฌ๏ธvoid unrefNoDelete (void) constโ unrefs without deleting, sneaky but legal ๐int32_t getRefCount (void) constโ returns the ref count as anint32_t๐ขvoid touch (void)โ touches it ๐SbBool isOfType (SoType type) constโ ReturnsTRUEif the type of this object is either of the same type or inherited from type. โจvirtual SbName getName (void) constโ returns the name as anSbName๐ท๏ธvirtual void setName (const SbName &newname)โ renames it to newname ๐ท๏ธvoid addAuditor (void *const auditor, const SoNotRec::Type type)โ adds an auditor of the given type ๐void removeAuditor (void *const auditor, const SoNotRec::Type type)โ removes that auditor ๐const SoAuditorList & getAuditors (void) constโ hands back the auditor list, by reference, const ๐SbBool shouldWrite (void)โ should it write? bool ๐void assertAlive (void) constโ asserts that it's alive, drama queen ๐
โญ Static Public Member Functions โญ
static SoType getClassTypeId (void)โ the class type id, statically โญstatic void initClass (void)โ Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system. ๐
๐ซถ Static Public Member Functions inherited from SoTransformManip ๐ซถ
static SoType getClassTypeId (void)โ class type id, inherited flavour โญstatic void initClass (void)โ Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system. ๐ซ
๐ซถ Static Public Member Functions inherited from SoTransform ๐ซถ
static SoType getClassTypeId (void)โ class type id again, still iconic โญstatic void initClass (void)โ Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system. ๐ธ
๐ซถ Static Public Member Functions inherited from SoTransformation ๐ซถ
static SoType getClassTypeId (void)โ class type id, the family tradition โญstatic void initClass (void)โ Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system. ๐
๐ซ Static Public Member Functions inherited from SoNode ๐ซ
static uint32_t getCompatibilityTypes (const SoType &nodetype)โ compatibility types for nodetype, returns auint32_t๐งฌstatic SoType getClassTypeId (void)โ class type id ๐static SoNode * getByName (const SbName &name)โ finds a node by name ๐static int getByName (const SbName &name, SoNodeList &l)โ finds by name, stuffs them into l, returns anint๐static void initClass (void)โ Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system. โจstatic void initClasses (void)โ plural! inits the classes ๐static SbUniqueId getNextNodeId (void)โ hands you the next unique node id ๐static int getActionMethodIndex (const SoType type)โ the action method index for type ๐ขstatic void getBoundingBoxS (SoAction *action, SoNode *node)โ the static bounding-box call ๐ฆstatic void GLRenderS (SoAction *action, SoNode *node)โ the static GL render call ๐จstatic void callbackS (SoAction *action, SoNode *node)โ the static callback call ๐static void getMatrixS (SoAction *action, SoNode *node)โ the static get-matrix call ๐งฎstatic void handleEventS (SoAction *action, SoNode *node)โ the static handle-event call ๐ชstatic void pickS (SoAction *action, SoNode *node)โ the static pick call ๐ฏstatic void rayPickS (SoAction *action, SoNode *node)โ the static ray pick call ๐ฆstatic void searchS (SoAction *action, SoNode *node)โ the static search call ๐static void writeS (SoAction *action, SoNode *node)โ the static write call โ๏ธstatic void audioRenderS (SoAction *action, SoNode *node)โ the static audio render call ๐static void getPrimitiveCountS (SoAction *action, SoNode *node)โ the static primitive count call ๐ข
๐พ Static Public Member Functions inherited from SoFieldContainer ๐พ
static void initClass (void)โ Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system. ๐static SoType getClassTypeId (void)โ This static method returns the SoType object associated with objects of this class. โญstatic void cleanupClass (void)โ cleans the class up ๐งนstatic void initCopyDict (void)โ sets up the copy dictionary ๐static void addCopy (const SoFieldContainer *orig, const SoFieldContainer *copy)โ registers copy as the copy of orig ๐static SoFieldContainer * checkCopy (const SoFieldContainer *orig)โ checks the copy for orig โstatic SoFieldContainer * findCopy (const SoFieldContainer *orig, const SbBool copyconnections)โ finds the copy of orig, taking copyconnections into account ๐static void copyDone (void)โ copying's done, wrap it up ๐ฌ
๐งฌ Static Public Member Functions inherited from SoBase ๐งฌ
static void initClass (void)โ Sets up initialization for data common to all instances of this class, like submitting necessary information to the Coin type system. โจstatic SoType getClassTypeId (void)โ This static method returns the SoType object associated with objects of this class. โญstatic void addName (SoBase *const base, const char *const name)โ gives base the name name ๐ท๏ธstatic void removeName (SoBase *const base, const char *const name)โ takes that name away ๐static void incrementCurrentWriteCounter (void)โ bumps the current write counter up โฌ๏ธstatic void decrementCurrentWriteCounter (void)โ bumps it back down โฌ๏ธstatic SoBase * getNamedBase (const SbName &name, SoType type)โ gets the named base matching name and type ๐static int getNamedBases (const SbName &name, SoBaseList &baselist, SoType type)โ gets the named bases into baselist, returns anint๐static SbBool read (SoInput *input, SoBase *&base, SoType expectedtype)โ reads from input, base comes back by reference, expectedtype checked ๐ฅstatic void setInstancePrefix (const SbString &c)โ sets the instance prefix to c ๐ท๏ธstatic void setTraceRefs (SbBool trace)โ turns ref tracing on or off ๐ต๏ธstatic SbBool getTraceRefs (void)โ is ref tracing on? bool ๐ต๏ธstatic SbBool connectRoute (SoInput *input, const SbName &fromnodename, const SbName &fromfieldname, const SbName &tonodename, const SbName &tofieldname)โ connects a route from fromnodename/fromfieldname to tonodename/tofieldname via input ๐static SbBool readRoute (SoInput *input)โ reads a route from input ๐ฅ
๐ Protected Member Functions ๐
virtual const SoFieldData * getFieldData (void) constโ returns the field data, protected business ๐คซvirtual ~SoCenterballManip (void)โ the destructor, virtual, say goodbye politely ๐virtual void setDragger (SoDragger *newDragger)โ sets the dragger to newDragger (capital D, yes, note it ๐)
๐คซ Protected Member Functions inherited from SoTransformManip ๐คซ
virtual ~SoTransformManip (void)โ destructor ๐void setDragger (SoDragger *newdragger)โ sets the dragger to newdragger (lowercase d this time, the inconsistency is canon ๐)virtual void copyContents (const SoFieldContainer *fromfc, SbBool copyconnections)โ copies contents over from fromfc ๐void attachSensors (const SbBool onoff)โ attaches sensors, on or off ๐๏ธ
๐คซ Protected Member Functions inherited from SoTransform ๐คซ
virtual ~SoTransform ()โ destructor, note the empty parens, that's how she's written ๐
๐คซ Protected Member Functions inherited from SoTransformation ๐คซ
SoTransformation (void)โ constructor ๐ซถvirtual ~SoTransformation ()โ destructor ๐
๐คซ Protected Member Functions inherited from SoNode ๐คซ
SoNode (void)โ constructor ๐ซถvirtual ~SoNode ()โ destructor ๐virtual SbBool readInstance (SoInput *in, unsigned short flags)โ reads an instance from in with flags, returns a bool ๐ฅ
๐คซ Protected Member Functions inherited from SoFieldContainer ๐คซ
SoFieldContainer (void)โ constructor ๐ซถvirtual ~SoFieldContainer ()โ destructor ๐
๐คซ Protected Member Functions inherited from SoBase ๐คซ
SoBase (void)โ constructor ๐ซถvirtual ~SoBase ()โ destructor ๐virtual void destroy (void)โ destroys ๐ฅSbBool hasMultipleWriteRefs (void) constโ multiple write refs? bool ๐ขSbBool writeHeader (SoOutput *out, SbBool isgroup, SbBool isengine) constโ writes the header out, with isgroup and isengine flags โ๏ธvoid writeFooter (SoOutput *out) constโ writes the footer โ๏ธvirtual const char * getFileFormatName (void) constโ the file format name, as aconst char *๐virtual SoNotRec createNotRec (void)โ creates a notification record ๐
๐ Static Protected Member Functions ๐
static const SoFieldData ** getFieldDataPtr (void)โ the field data pointer, statically and protectively ๐๏ธstatic void fieldSensorCB (void *f, SoSensor *s)โ the field sensor callback ๐static void valueChangedCB (void *f, SoDragger *d)โ the value-changed callback ๐
๐ Static Protected Member Functions inherited from SoTransformManip ๐
static const SoFieldData ** getFieldDataPtr (void)โ field data pointer ๐๏ธstatic void transferFieldValues (const SoTransform *from, SoTransform *to)โ moves field values from from into to ๐static void valueChangedCB (void *f, SoDragger *d)โ value-changed callback ๐static void fieldSensorCB (void *f, SoSensor *d)โ field sensor callback, note it takes aSoSensor *dhere, notsโ yes, really ๐
๐ Static Protected Member Functions inherited from SoTransform ๐
static const SoFieldData ** getFieldDataPtr (void)โ field data pointer ๐๏ธ
๐ Static Protected Member Functions inherited from SoTransformation ๐
static const SoFieldData ** getFieldDataPtr (void)โ field data pointer, and that's where this half of the page runs out, bestie ๐
โจ Static Protected Member Functions inherited from SoNode โจ
okay so bestie, SoNode left these protected static member functions in the will, and SoCenterballManip is inheriting them like the queen she is ๐. No cap, they're all here:
static const SoFieldData ** getFieldDataPtr (void)โ returns a pointer to the field data pointer, iykyk. It's giving internal library energy.static void setNextActionMethodIndex (int index)โ sets the next action method index toindex. Lowkey bookkeeping vibes.static int getNextActionMethodIndex (void)โ returns the next action method index. Periodt.static void incNextActionMethodIndex (void)โ increments the next action method index. Slay.static void setCompatibilityTypes (const SoType &nodetype, const uint32_t bitmask)โ sets compatibility types fornodetypewithbitmask. Fr fr.
โจ Static Protected Member Functions inherited from SoBase โจ
and SoBase said "here, take these too, bestie" ๐:
static uint32_t getCurrentWriteCounter (void)โ returns the current write counter. ๐static void staticDataLock (void)โ locks the static data. ๐static void staticDataUnlock (void)โ unlocks the static data. ๐
๐ Additional Inherited Members ๐
these are the extra goodies that come with the inheritance package, and honestly? We're obsessed. ๐
๐ Public Types inherited from SoNode ๐
the NodeType enum is giving "I have so many moods" energy, and we respect it. โจ
enum NodeType { INVENTOR = 0x0000, VRML1 = 0x0001, VRML2 = 0x0002,
INVENTOR_1 = 0x0004, INVENTOR_2_0 = 0x0008, INVENTOR_2_1 = 0x0010,
INVENTOR_2_5 = 0x0020, INVENTOR_2_6 = 0x0040, COIN_1_0 = 0x0080,
COIN_2_0 = 0x0100, EXTENSION = 0x0200, COIN_2_2 = 0x0400, COIN_2_3 =
0x0800, COIN_2_4 = 0x1000, INVENTOR_5_0 = 0x2000, COIN_2_5 = 0x4000,
COIN_3_0 = 0x8000, INVENTOR_6_0 = 0x10000, COIN_4_0 = 0x20000 }
๐ฆ Public Attributes inherited from SoTransform ๐ฆ
these are the public attributes that SoTransform is passing down, and they're all slay:
SoSFVec3f translationSoSFRotation rotationSoSFVec3f scaleFactorSoSFRotation scaleOrientationSoSFVec3f center
๐ Protected Types inherited from SoBase ๐
SoBase said "here's a little secret" with BaseFlags:
enum BaseFlags { IS_ENGINE = 0x01, IS_GROUP = 0x02 }
๐ธ Protected Attributes inherited from SoTransformManip ๐ธ
these are the protected attributes, lowkey the backstage pass of the class:
SoFieldSensor * rotateFieldSensorSoFieldSensor * translFieldSensorSoFieldSensor * scaleFieldSensorSoFieldSensor * centerFieldSensorSoFieldSensor * scaleOrientFieldSensorSoChildList * children
๐ Protected Attributes inherited from SoNode ๐
SbUniqueId uniqueId
๐ Protected Attributes inherited from SoFieldContainer ๐
SbBool isBuiltIn
โญ Static Protected Attributes inherited from SoNode โญ
static SbUniqueId nextUniqueId = 1static int nextActionMethodIndex = 0
โจ Detailed Description โจ
okay so the SoCenterballManip wraps an SoCenterballDragger for convenience. It's giving "I got you, bestie" energy ๐ซถ.
The manipulator class takes care of wrapping up the SoCenterballDragger in a simple and convenient API for the application programmer, making it automatically surround the geometry it influences and taking care of the book-keeping routines for its interaction with the relevant fields of an SoTransformation node. Periodt. ๐
โจ Constructor & Destructor Documentation โจ
๐ SoCenterballManip::SoCenterballManip (void ) ๐
Default constructor. Allocates an SoCenterballDragger and an SoSurroundScale node to surround the geometry within our part of the scene graph. Slay.
๐ญ SoCenterballManip::~SoCenterballManip (void ) [protected], [virtual] ๐ญ
Destructor. It's giving goodbye vibes. ๐
โจ Member Function Documentation โจ
๐ SoType SoCenterballManip::getClassTypeId (void ) [static] ๐
This static method returns the SoType object associated with objects of this class. Iykyk.
๐ฆ SoType SoCenterballManip::getTypeId (void ) const [virtual] ๐ฆ
Returns the type identification of an object derived from a class inheriting SoBase. This is used for runtime type checking and "downward" casting.
Reimplemented from SoTransformManip.
๐ const SoFieldData ** SoCenterballManip::getFieldDataPtr (void ) [static], [protected] ๐
This API member is considered internal to the library, as it is not likely to be of interest to the application programmer.
Returns the SoFieldData class which holds information about fields in this node.
๐ธ const SoFieldData * SoCenterballManip::getFieldData (void ) const [protected], [virtual] ๐ธ
Returns a pointer to the class-wide field data storage object for this instance. If no fields are present, returns NULL.
Reimplemented from SoTransformManip.
โจ Author โจ
Generated automatically by Doxygen for Coin from the source code. ๐ค
And that's a wrap, bestie! This page is from Version 4.0.10, dated Thu Jun 25 2026 00:00:00, and it's the SoCenterballManip(3) manual page. Stay iconic, and don't forget to wrap your draggers in style ๐ โจ.
๐ฆ where this page comes from
- fedora 43: Coin4-devel 4.0.10-1.fc43 ยท BSD-3-Clause AND GPL-3.0-or-later
- fedora 43: Coin4-devel 4.0.10-1.fc43 ยท BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 ยท BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 ยท BSD-3-Clause AND GPL-3.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms