gumbo.graphic.space
Interface RotationNode

All Superinterfaces:
Graphic, SpaceNode, TransformNode
All Known Subinterfaces:
RigidTransformNode

public interface RotationNode
extends TransformNode

A transform node that specifically supports geometric rotation. The rotation occurs about an axis vector through the untransformed/transformed space origin.

Version:
$Revision: 1.1 $
Author:
Jon Barrilleaux (jonb@jmbaai.com) of JMB and Associates Inc.

Method Summary
 AxisAngle3 getGraphicRotation(AxisAngle3 retVal)
          Gets the geometric rotation of this transform node.
 void setGraphicRotation(AxisAngle3 rotation)
          Sets the geometric rotation of this transform node.
 
Methods inherited from interface gumbo.graphic.space.TransformNode
getGraphicTransform, isSpaceTransforming
 
Methods inherited from interface gumbo.graphic.space.SpaceNode
getGraphicSpaceTree
 
Methods inherited from interface gumbo.graphic.Graphic
getGraphic
 

Method Detail

setGraphicRotation

public void setGraphicRotation(AxisAngle3 rotation)
Sets the geometric rotation of this transform node. If the node is spatially constrained, some or all of the transformation may be ignored.

Parameters:
rotation - Value of the transformation. Never null.

getGraphicRotation

public AxisAngle3 getGraphicRotation(AxisAngle3 retVal)
Gets the geometric rotation of this transform node. If the node is spatially constrained, it will be reflected in the return value.

Parameters:
retVal - Return value object. The rotation. Never null.
Returns:
Reference to retVal. Never null.