|
| SoProtoInstance (SoProto *proto, const SoFieldData *deffielddata) |
|
SoProto * | getProtoDefinition (void) const |
|
SbName | getProtoName (void) const |
|
SoNode * | getRootNode (void) |
|
virtual SoType | getTypeId (void) const |
|
void | setRootNode (SoNode *root) |
|
virtual void | write (SoWriteAction *action) |
|
virtual SoNode * | addToCopyDict (void) const |
|
virtual SbBool | affectsState (void) const |
|
virtual void | audioRender (SoAudioRenderAction *action) |
|
virtual void | callback (SoCallbackAction *action) |
|
virtual SoNode * | copy (SbBool copyconnections=FALSE) const |
|
virtual void | copyContents (const SoFieldContainer *from, SbBool copyconnections) |
|
virtual SoFieldContainer * | copyThroughConnection (void) const |
|
virtual void | doAction (SoAction *action) |
|
virtual void | getBoundingBox (SoGetBoundingBoxAction *action) |
|
virtual SoChildList * | getChildren (void) const |
|
virtual void | getMatrix (SoGetMatrixAction *action) |
|
SbUniqueId | getNodeId (void) const |
|
NodeType | getNodeType (void) const |
|
virtual void | getPrimitiveCount (SoGetPrimitiveCountAction *action) |
|
virtual void | GLRender (SoGLRenderAction *action) |
|
virtual void | GLRenderBelowPath (SoGLRenderAction *action) |
|
virtual void | GLRenderInPath (SoGLRenderAction *action) |
|
virtual void | GLRenderOffPath (SoGLRenderAction *action) |
|
virtual void | grabEventsCleanup (void) |
|
virtual void | grabEventsSetup (void) |
|
virtual void | handleEvent (SoHandleEventAction *action) |
|
SbBool | isOverride (void) const |
|
virtual void | notify (SoNotList *l) |
|
virtual void | pick (SoPickAction *action) |
|
virtual void | rayPick (SoRayPickAction *action) |
|
virtual void | search (SoSearchAction *action) |
|
void | setNodeType (const NodeType type) |
|
void | setOverride (const SbBool state) |
|
virtual void | startNotify (void) |
|
virtual void | writeInstance (SoOutput *out) |
|
virtual void | addWriteReference (SoOutput *out, SbBool isfromfield=FALSE) |
|
void | copyFieldValues (const SoFieldContainer *container, SbBool copyconnections=FALSE) |
|
SbBool | enableNotify (const SbBool flag) |
|
SbBool | fieldsAreEqual (const SoFieldContainer *container) const |
|
void | get (SbString &fielddata) |
|
void | get (SbString &fielddata, SoOutput *out) |
|
virtual int | getAllFields (SoFieldList &l) const |
|
virtual SoField * | getEventIn (const SbName &name) const |
|
virtual SoField * | getEventOut (const SbName &name) const |
|
virtual SoField * | getField (const SbName &name) const |
|
SbBool | getFieldName (const SoField *const field, SbName &name) const |
|
virtual int | getFields (SoFieldList &l) const |
|
virtual void | getFieldsMemorySize (size_t &managed, size_t &unmanaged) const |
|
SbBool | getIsBuiltIn (void) const |
|
void * | getUserData (void) const |
|
SbBool | hasDefaultValues (void) const |
|
SbBool | isNotifyEnabled (void) const |
|
SbBool | set (const char *const fielddata) |
|
SbBool | set (const char *fielddata, SoInput *input) |
|
void | setToDefaults (void) |
|
void | setUserData (void *userdata) const |
|
virtual SbBool | validateNewFieldValue (SoField *field, void *newval) |
|
void | addAuditor (void *const auditor, const SoNotRec::Type type) |
|
void | assertAlive (void) const |
|
const SoAuditorList & | getAuditors (void) const |
|
virtual SbName | getName (void) const |
|
int32_t | getRefCount (void) const |
|
SbBool | isOfType (SoType type) const |
| Returns TRUE if the type of this object is either of the same type or inherited from type.
|
|
void | ref (void) const |
|
void | removeAuditor (void *const auditor, const SoNotRec::Type type) |
|
virtual void | setName (const SbName &newname) |
|
SbBool | shouldWrite (void) |
|
void | touch (void) |
|
void | unref (void) const |
|
void | unrefNoDelete (void) const |
|
|
static SoProtoInstance * | findProtoInstance (const SoNode *rootnode) |
|
static SoType | getClassTypeId (void) |
|
static void | initClass (void) |
|
static void | audioRenderS (SoAction *action, SoNode *node) |
|
static void | callbackS (SoAction *action, SoNode *node) |
|
static int | getActionMethodIndex (const SoType type) |
|
static void | getBoundingBoxS (SoAction *action, SoNode *node) |
|
static SoNode * | getByName (const SbName &name) |
|
static int | getByName (const SbName &name, SoNodeList &l) |
|
static SoType | getClassTypeId (void) |
|
static uint32_t | getCompatibilityTypes (const SoType &nodetype) |
|
static void | getMatrixS (SoAction *action, SoNode *node) |
|
static SbUniqueId | getNextNodeId (void) |
|
static void | getPrimitiveCountS (SoAction *action, SoNode *node) |
|
static void | GLRenderS (SoAction *action, SoNode *node) |
|
static void | handleEventS (SoAction *action, SoNode *node) |
|
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) |
|
static void | pickS (SoAction *action, SoNode *node) |
|
static void | rayPickS (SoAction *action, SoNode *node) |
|
static void | searchS (SoAction *action, SoNode *node) |
|
static void | writeS (SoAction *action, SoNode *node) |
|
static void | addCopy (const SoFieldContainer *orig, const SoFieldContainer *copy) |
|
static SoFieldContainer * | checkCopy (const SoFieldContainer *orig) |
|
static void | cleanupClass (void) |
|
static void | copyDone (void) |
|
static SoFieldContainer * | findCopy (const SoFieldContainer *orig, const SbBool copyconnections) |
|
static SoType | getClassTypeId (void) |
| This static method returns the SoType object associated with objects of this class.
|
|
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 | initCopyDict (void) |
|
static void | addName (SoBase *const base, const char *const name) |
|
static SbBool | connectRoute (SoInput *input, const SbName &fromnodename, const SbName &fromfieldname, const SbName &tonodename, const SbName &tofieldname) |
|
static void | decrementCurrentWriteCounter (void) |
|
static SoType | getClassTypeId (void) |
| This static method returns the SoType object associated with objects of this class.
|
|
static SoBase * | getNamedBase (const SbName &name, SoType type) |
|
static int | getNamedBases (const SbName &name, SoBaseList &baselist, SoType type) |
|
static SbBool | getTraceRefs (void) |
|
static void | incrementCurrentWriteCounter (void) |
|
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 SbBool | read (SoInput *input, SoBase *&base, SoType expectedtype) |
|
static SbBool | readRoute (SoInput *input) |
|
static void | removeName (SoBase *const base, const char *const name) |
|
static void | setInstancePrefix (const SbString &c) |
|
static void | setTraceRefs (SbBool trace) |
|
The SoProtoInstance class handles PROTO instances.
- See also
- SoProto
SbBool SoProtoInstance::readInstance |
( |
SoInput * | in, |
|
|
unsigned short | flags ) |
|
protectedvirtual |
This method is mainly intended for internal use during file import operations.
It reads a definition of an instance from the input stream in. The input stream state points to the start of a serialized / persistent representation of an instance of this class type.
TRUE
or FALSE
is returned, depending on if the instantiation and configuration of the new object of this class type went OK or not. The import process should be robust and handle corrupted input streams by returning FALSE
.
flags is used internally during binary import when reading user extension nodes, group nodes or engines.
Reimplemented from SoNode.