man SoTransformSeparator () - group node that saves and restores transformation state
NAME
SoTransformSeparator - group node that saves and restores transformation state
INHERITS FROM
SoBase > SoFieldContainer > SoNode > SoGroup > SoTransformSeparator
SYNOPSIS
#include <Inventor/nodes/SoTransformSeparator.h>
Methods from class SoTransformSeparator:
c
}
c
}
SoTransformSeparator()
c
}
c
}
SoTransformSeparator(int nChildren)
c
}
c
}
getClassTypeId()
Methods from class SoGroup:
c
}
c
}
addChild(SoNode *child)
c
}
c
}
insertChild(SoNode *child, int newChildIndex)
c
}
c
}
getChild(int index) const
c
}
c
}
findChild(const SoNode *child) const
c
}
c
}
getNumChildren() const
c
}
c
}
removeChild(int index)
c
}
c
}
removeChild(SoNode *child)
c
}
c
}
removeAllChildren()
c
}
c
}
replaceChild(int index, SoNode *newChild)
c
}
c
}
replaceChild(SoNode *oldChild, SoNode *newChild)
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
}
set(const char *fieldDataString)
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
DESCRIPTION
This group node is similar to the SoSeparator node in that it saves state before traversing its children and restores it afterwards. However, it saves only the current transformation; all other state is left as is. This node can be useful for positioning a camera, since the transformations to the camera will not affect the rest of the scene, even through the camera will view the scene. Similarly, this node can be used to isolate transformations to light sources or other objects.
METHODS
c
}
c
}
SoTransformSeparator()
Creates a transform separator node with default settings.
c
}
c
}
SoTransformSeparator(int nChildren)
Constructor that takes approximate number of children.
c
}
c
}
getClassTypeId()
Returns type identifier for this class.
ACTION BEHAVIOR
SoGLRenderAction, SoCallbackAction, SoGetBoundingBoxAction, SoGetMatrixAction, SoRayPickAction
Saves the current transformation state, traverses all children, and restores the previous transformation state.
FILE FORMAT/DEFAULTS
TransformSeparator { }
SEE ALSO
SoResetTransform, SoTransformation