com.depthexplorer
Class RTNTransform

java.lang.Object
  extended by edu.tufts.cs.geometry.ComputationUnit
      extended by com.depthexplorer.RenderTreeNode
          extended by com.depthexplorer.RTNTransform

public class RTNTransform
extends RenderTreeNode


Nested Class Summary
 class RTNTransform.TransformItem
           
 
Field Summary
 int ROTATE
           
(package private)  ArrayList<RTNTransform.TransformItem> tItems
           
(package private)  javax.vecmath.GMatrix transform
           
 int XSCALE
           
 int XTRANS
           
 int YSCALE
           
 int YTRANS
           
 
Fields inherited from class com.depthexplorer.RenderTreeNode
children, ps
 
Constructor Summary
RTNTransform()
           
 
Method Summary
protected  void compositeTransformItems()
           
static Properties getProperties()
           
protected  void initFromTransformString(String transformString)
           
 String interpolateAttribute(String attrName, String valueStart, String valueEnd, double fraction)
           
protected  void process()
           
protected  void setAttribute(String name, String value)
           
 void setDefaults()
           
 
Methods inherited from class com.depthexplorer.RenderTreeNode
build, colorFromString, getInstanceFromRegistrar, normalizeDepth, processChildren
 
Methods inherited from class edu.tufts.cs.geometry.ComputationUnit
setParameter, setParameterString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROTATE

public final int ROTATE
See Also:
Constant Field Values

XTRANS

public final int XTRANS
See Also:
Constant Field Values

YTRANS

public final int YTRANS
See Also:
Constant Field Values

XSCALE

public final int XSCALE
See Also:
Constant Field Values

YSCALE

public final int YSCALE
See Also:
Constant Field Values

transform

javax.vecmath.GMatrix transform

tItems

ArrayList<RTNTransform.TransformItem> tItems
Constructor Detail

RTNTransform

public RTNTransform()
Method Detail

setDefaults

public void setDefaults()
Specified by:
setDefaults in class RenderTreeNode

compositeTransformItems

protected void compositeTransformItems()

setAttribute

protected void setAttribute(String name,
                            String value)
                     throws Exception
Specified by:
setAttribute in class RenderTreeNode
Throws:
Exception

interpolateAttribute

public String interpolateAttribute(String attrName,
                                   String valueStart,
                                   String valueEnd,
                                   double fraction)
Overrides:
interpolateAttribute in class RenderTreeNode

initFromTransformString

protected void initFromTransformString(String transformString)

process

protected void process()
Specified by:
process in class RenderTreeNode

getProperties

public static Properties getProperties()