Main Page | Modules | Namespace List | Class Hierarchy | Class List | Namespace Members | Class Members | Related Pages

Group Class Reference

Group contains a TransformNode interface, a picking interface, and a list of ChildNodes to be rendered under that Transform. More...

Inheritance diagram for Group:

TransformNode ChildNode IParent ITransform Node Object List of all members.

Detailed Description

Group contains a TransformNode interface, a picking interface, and a list of ChildNodes to be rendered under that Transform.

Authoring Interface:

        Group {
                // from TransformNode
            field SFVec3f       translation         0 0 0
            field SFRotation    rotation            0 1 0 0
            field SFVec3f       scale               1 1 1
            field SFRotation    scaleOrientation    0 1 0 0
            field SFVec3f       center              0 0 0
            field SFBoolean     visible             true
                // from PickableNode.  Note: picking not yet implemented for Groups
            field SFBoolean     pickable            false
            eventOut SFDouble   clickTime
            eventOut SFString   pickEvent   // see table below for return values
            
            field MFChildNode   children            [ ]
        }

Parameters:
translation specifies a translation of the coordinate system. Default value: 0 0 0
rotation specifies a rotation of the coordinate system. Default value: 0 1 0 0
scale specifies a non-uniform scale of the coordinate system. Default value: 1 1 1
scaleOrientation specifies a rotation of the coordinate system before the scale (in order to specify scale factors in an arbitrary orientation, e.g. skew). scaleOrientation is applied only to the scale operation. Default value: 0 1 0 0
center specifies a translation offset from the origin of the local coordinate system, to establish a new center of transformation. Default value: 0 0 0
visible specifies if the children of this node will be visible or not Default value: true
pickable specifies if the children of this node will be processed for pick testing or not Default value: false
clickTime returns the eventTime when the pointing device's Left button is pressed
pickEvent returns a string enumerating the occurance of a new pick event. Refer to the table below for a complete enumeration of these events.
children enumerates a list of ChildNodes to be traversed for rendering. Default value: [ ]
The pickEvent string constants returned include:

"ENTERED"Pointing device has moved over this geometry
"EXITED"Pointing device has moved off of this geometry
"OVERMOVED"Pointing device has moved while over this geometry
"OVERBUTTONDOWNMOVED"Pointing device has moved while at least one of its buttons remains held down
"OVERBUTTONDOWN"Pointing device Left button has been pressed while over this geometry
"OVERMBUTTONDOWN"Pointing device Middle button has been pressed while over this geometry
"OVERRBUTTONDOWN"Pointing device Right button has been pressed while over this geometry
"OVERBUTTONUP"Pointing device Left button has been released
"OVERMBUTTONUP"Pointing device Middle button has been released
"OVERRBUTTONUP"Pointing device Right button has been released

Functionality:

See TransformNode.


Generated on Sat Apr 1 06:08:08 2006 for Emma Content Development Kit by  doxygen 1.4.3