public class TranslateDrawable extends Object
Modifier and Type | Field and Description |
---|---|
protected AbstractDrawable |
drawable |
protected boolean |
reverse |
Constructor and Description |
---|
TranslateDrawable(AbstractDrawable drawable,
boolean reverse) |
Modifier and Type | Method and Description |
---|---|
Coord3d |
compute(Coord3d input)
Apply the transformations to the input coordinates.
|
void |
execute(com.jogamp.opengl.GL gl)
Execute the transformation to the current GL context.
|
AbstractDrawable |
getDrawable() |
boolean |
isReverse() |
void |
setDrawable(AbstractDrawable drawable) |
void |
setReverse(boolean reverse) |
String |
toString() |
void |
translateTo(com.jogamp.opengl.GL gl,
Coord3d center,
boolean reverse) |
protected AbstractDrawable drawable
protected boolean reverse
public TranslateDrawable(AbstractDrawable drawable, boolean reverse)
public void execute(com.jogamp.opengl.GL gl)
Transformer
are usually help by an ,
the transformation will apply to this .
Computation is performed by GPU.public void translateTo(com.jogamp.opengl.GL gl, Coord3d center, boolean reverse)
public Coord3d compute(Coord3d input)
public AbstractDrawable getDrawable()
public void setDrawable(AbstractDrawable drawable)
public boolean isReverse()
public void setReverse(boolean reverse)
Copyright © 2016. All rights reserved.