gzz.vob
Class AffineVobCoorder
java.lang.Object
|
+--gzz.vob.VobCoorder
|
+--gzz.vob.AffineVobCoorder
- Direct Known Subclasses:
- GLVobCoorder
- public abstract class AffineVobCoorder
- extends VobCoorder
A set of coordinate systems for vobs.
Guarantees about rotate and scale!! Not same as affineCoordsys!
Method Summary |
abstract int |
affineCoordsys(int into,
float depth,
float x,
float y,
float xx,
float xy,
float yx,
float yy)
|
int |
ortho(int into,
float depth,
float x,
float y,
float sx,
float sy)
Default implementation using affineCoordsys. |
abstract int |
rotate(int into,
float degrees)
Get a subcs rotated clockwise. |
abstract int |
scale(int into,
float sx,
float sy,
float sz)
|
abstract void |
setAffineParams(int cs,
float depth,
float cx,
float cy,
float x_x,
float x_y,
float y_x,
float y_y)
|
void |
setOrthoParams(int cs,
float depth,
float x,
float y,
float sx,
float sy)
|
abstract void |
setRotateParams(int into,
float degrees)
|
abstract void |
setScaleParams(int into,
float sx,
float sy,
float sz)
|
Methods inherited from class gzz.vob.VobCoorder |
activate, box, cull, cull, dump, getCSAt, getRenderInfo, getSqSize, inverseTransformPoints3, needInterp, orthoBox, scale, setBoxParams, setOrthoBoxParams, setScaleParams, setTranslateParams, setTranslateParams, transformPoint, transformPoints2, transformPoints3, translate, translate, unitSq |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AffineVobCoorder
public AffineVobCoorder()
ortho
public int ortho(int into,
float depth,
float x,
float y,
float sx,
float sy)
- Default implementation using affineCoordsys.
- Specified by:
ortho
in class VobCoorder
- Parameters:
into
- The coord system to place the new coordinate
system into, 0
for the root
coordinate system.
setOrthoParams
public void setOrthoParams(int cs,
float depth,
float x,
float y,
float sx,
float sy)
- Specified by:
setOrthoParams
in class VobCoorder
affineCoordsys
public abstract int affineCoordsys(int into,
float depth,
float x,
float y,
float xx,
float xy,
float yx,
float yy)
rotate
public abstract int rotate(int into,
float degrees)
- Get a subcs rotated clockwise.
scale
public abstract int scale(int into,
float sx,
float sy,
float sz)
setAffineParams
public abstract void setAffineParams(int cs,
float depth,
float cx,
float cy,
float x_x,
float x_y,
float y_x,
float y_y)
setRotateParams
public abstract void setRotateParams(int into,
float degrees)
setScaleParams
public abstract void setScaleParams(int into,
float sx,
float sy,
float sz)