Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.pqt.autorib.rib
Class RIBTransform  view RIBTransform download RIBTransform.java

java.lang.Object
  extended byorg.pqt.autorib.rib.RIBRequest
      extended byorg.pqt.autorib.rib.RIBTransform
All Implemented Interfaces:
java.lang.Cloneable

public class RIBTransform
extends RIBRequest

This class handles all RIB Transform calls including saving and loading coordinate systems


Field Summary
 float angle
          angle used in rotations, perspective and skews
 java.lang.String coordSysName
          this is used to store coordinate system names
 boolean isAddition
          true if this Display refers to arbitrary output variables
 float[] matrixParam
          this is used to store a matrix for ConcatTransform and Transform calls
 org.pqt.autorib.util.Matrix transform
           
 float x
          x, y, z are used either for storing an axis, or for components of a scale or translation
 float x1
          x1, y1, x1 are used only in skew transforms, to store the second axis
 float y
          x, y, z are used either for storing an axis, or for components of a scale or translation
 float y1
          x1, y1, x1 are used only in skew transforms, to store the second axis
 float z
          x, y, z are used either for storing an axis, or for components of a scale or translation
 float z1
          x1, y1, x1 are used only in skew transforms, to store the second axis
 
Fields inherited from class org.pqt.autorib.rib.RIBRequest
deleted, preContent, requestID, requestName
 
Constructor Summary
(package private) RIBTransform()
           
(package private) RIBTransform(org.pqt.autorib.tokenizer.Tokenizer in)
           
 
Method Summary
 void read(org.pqt.autorib.tokenizer.Tokenizer in)
          read an RIB call and store it
 void writeOther(java.io.Writer out)
          This method is overridden by subclasses to allow them to actually do the writing out of the Request and associated parameters etc.
 
Methods inherited from class org.pqt.autorib.rib.RIBRequest
filteredWrite, filteredWritePreContent, prepend, prepend, readRequestName, write, writePreContent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

transform

public org.pqt.autorib.util.Matrix transform

angle

public float angle
angle used in rotations, perspective and skews


x

public float x
x, y, z are used either for storing an axis, or for components of a scale or translation


y

public float y
x, y, z are used either for storing an axis, or for components of a scale or translation


z

public float z
x, y, z are used either for storing an axis, or for components of a scale or translation


x1

public float x1
x1, y1, x1 are used only in skew transforms, to store the second axis


y1

public float y1
x1, y1, x1 are used only in skew transforms, to store the second axis


z1

public float z1
x1, y1, x1 are used only in skew transforms, to store the second axis


matrixParam

public float[] matrixParam
this is used to store a matrix for ConcatTransform and Transform calls


coordSysName

public java.lang.String coordSysName
this is used to store coordinate system names


isAddition

public boolean isAddition
true if this Display refers to arbitrary output variables

Constructor Detail

RIBTransform

RIBTransform()

RIBTransform

RIBTransform(org.pqt.autorib.tokenizer.Tokenizer in)
       throws org.pqt.autorib.tokenizer.FormatException,
              java.io.IOException
Method Detail

read

public void read(org.pqt.autorib.tokenizer.Tokenizer in)
          throws org.pqt.autorib.tokenizer.FormatException,
                 java.io.IOException
Description copied from class: RIBRequest
read an RIB call and store it

Specified by:
read in class RIBRequest

writeOther

public void writeOther(java.io.Writer out)
                throws java.io.IOException
Description copied from class: RIBRequest
This method is overridden by subclasses to allow them to actually do the writing out of the Request and associated parameters etc. It is called whenever any of the Write methods above are called.

Specified by:
writeOther in class RIBRequest