org.scilab.forge.scirenderer
Interface Canvas

All Known Implementing Classes:
JoGLCanvas

public interface Canvas

Author:
Pierre Lando

Method Summary
 BuffersManager getBuffersManager()
          Return the buffers manager of this canvas.
 DepthTestManager getDepthTestManager()
          Return the depth test manager of this canvas.
 java.awt.Dimension getDimension()
          Return the canvas dimension.
 int getHeight()
          Return the canvas height.
 Drawer getMainDrawer()
          Return the canvas main drawer.
 PickingManager getPickingManager()
          Return the picking manager.
 RendererManager getRendererManager()
          Return the renderer manager.
 SpriteManager getSpriteManager()
          Return the sprite manager.
 TextureManager getTextureManager()
          Texture manger getter.
 int getWidth()
          Return the canvas width.
 void redraw()
          Ask the canvas to perform drawing.
 void setMainDrawer(Drawer mainDrawer)
          Set this canvas main drawer.
 

Method Detail

setMainDrawer

void setMainDrawer(Drawer mainDrawer)
Set this canvas main drawer.

Parameters:
mainDrawer - the new canvas main drawer.

getMainDrawer

Drawer getMainDrawer()
Return the canvas main drawer.

Returns:
the canvas main drawer.

getSpriteManager

SpriteManager getSpriteManager()
Return the sprite manager.

Returns:
the sprite manager.

getRendererManager

RendererManager getRendererManager()
Return the renderer manager.

Returns:
the renderer manager.

getBuffersManager

BuffersManager getBuffersManager()
Return the buffers manager of this canvas.

Returns:
the buffers manager of this canvas.

getDepthTestManager

DepthTestManager getDepthTestManager()
Return the depth test manager of this canvas.

Returns:
the depth test manager of this canvas.

getPickingManager

PickingManager getPickingManager()
Return the picking manager.

Returns:
the picking manager.

getTextureManager

TextureManager getTextureManager()
Texture manger getter.

Returns:
the texture manager.

getWidth

int getWidth()
Return the canvas width.

Returns:
the canvas width.

getHeight

int getHeight()
Return the canvas height.

Returns:
the canvas height.

getDimension

java.awt.Dimension getDimension()
Return the canvas dimension.

Returns:
the canvas dimension.

redraw

void redraw()
Ask the canvas to perform drawing.