|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.scilab.forge.scirenderer.implementation.jogl.sprite.RotatableQuadsTextureRenderer
public class RotatableQuadsTextureRenderer
| Method Summary | |
|---|---|
protected void |
bindTexture(javax.media.opengl.GL gl)
Bind the texture. |
void |
dispose(JoGLDrawingTools drawingTools)
Ask this sprite to dispose. |
void |
dispose(JoGLDrawingTools drawingTools)
Ask this sprite to dispose. |
void |
draw(JoGLDrawingTools drawingTools,
SpriteAnchorPosition anchor,
ElementsBuffer positions)
Draw this sprite with the given drawing tools at the given position. |
void |
draw(JoGLDrawingTools drawingTools,
SpriteAnchorPosition anchor,
ElementsBuffer positions,
double rotationAngle)
Draw this sprite with the given drawing tools at the given position with the given rotation angle. |
void |
draw(JoGLDrawingTools drawingTools,
SpriteAnchorPosition anchor,
Vector3d position)
Draw this sprite with the given drawing tools at the given position. |
void |
draw(JoGLDrawingTools drawingTools,
SpriteAnchorPosition anchor,
Vector3d position)
Draw this sprite with the given drawing tools at the given position. |
void |
draw(JoGLDrawingTools drawingTools,
SpriteAnchorPosition anchor,
Vector3d position,
double rotationAngle)
Draw this sprite with the given drawing tools at the given position with the given rotation angle. |
void |
draw(JoGLDrawingTools drawingTools,
SpriteAnchorPosition anchor,
Vector3d position,
double rotationAngle)
Draw this sprite with the given drawing tools at the given position with the given rotation angle. |
protected float |
getAnchorDeltaX(SpriteAnchorPosition anchor)
Return the deltaX to apply to the sprite in regards to the given anchor. |
protected float |
getAnchorDeltaY(SpriteAnchorPosition anchor)
Return the deltaY to apply to the sprite in regards to the given anchor. |
protected TextureBufferedImage |
getImage()
Return the image. |
protected org.scilab.forge.scirenderer.implementation.jogl.sprite.JoGLSprite |
getSprite()
Return the sprite. |
void |
reload()
Ask the sprite to reset the OpenGl status. |
void |
reload()
Ask the sprite to reset the OpenGl status. |
protected void |
update(javax.media.opengl.GL gl)
Update the texture. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void draw(JoGLDrawingTools drawingTools,
SpriteAnchorPosition anchor,
ElementsBuffer positions)
drawingTools - the drawing tools to use.anchor - anchor position.positions - the position.
public void draw(JoGLDrawingTools drawingTools,
SpriteAnchorPosition anchor,
ElementsBuffer positions,
double rotationAngle)
drawingTools - the drawing tools to use.anchor - anchor position.positions - the position.rotationAngle - the rotation angle.
public void draw(JoGLDrawingTools drawingTools,
SpriteAnchorPosition anchor,
Vector3d position,
double rotationAngle)
drawingTools - the drawing tools to use.anchor - anchor position.position - the position.rotationAngle - the rotation angle.
public void draw(JoGLDrawingTools drawingTools,
SpriteAnchorPosition anchor,
Vector3d position)
drawingTools - the drawing tools to use.anchor - anchor position.position - the position.public void dispose(JoGLDrawingTools drawingTools)
drawingTools - the drawing tools to use.public void reload()
public void draw(JoGLDrawingTools drawingTools,
SpriteAnchorPosition anchor,
Vector3d position)
drawingTools - the drawing tools to use.anchor - anchor position.position - the position.
public void draw(JoGLDrawingTools drawingTools,
SpriteAnchorPosition anchor,
Vector3d position,
double rotationAngle)
drawingTools - the drawing tools to use.anchor - anchor position.position - the position.rotationAngle - the rotation angle.public void dispose(JoGLDrawingTools drawingTools)
drawingTools - the drawing tools to use.public void reload()
protected void update(javax.media.opengl.GL gl)
gl - the current OpenGl context.protected void bindTexture(javax.media.opengl.GL gl)
gl - the OpenGl context.protected TextureBufferedImage getImage()
protected org.scilab.forge.scirenderer.implementation.jogl.sprite.JoGLSprite getSprite()
protected float getAnchorDeltaX(SpriteAnchorPosition anchor)
anchor - the given anchor.
protected float getAnchorDeltaY(SpriteAnchorPosition anchor)
anchor - the given anchor.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||