|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DrawingTools
Method Summary | |
---|---|
void |
clear(Color color)
Clear the canvas with the given color. |
void |
clear(java.awt.Color color)
Clear the canvas with the given color. |
void |
clearDepthBuffer()
Clear the depth buffer. |
void |
draw(Geometry geometry)
Draw the given geometry with default appearance. |
void |
draw(Geometry geometry,
Appearance appearance)
Draw the given geometry. |
void |
draw(Renderer renderer)
Ask the given renderer to perform a draw. |
void |
draw(Texture texture)
Draw the texture on XY plane in current coordinate. |
void |
draw(Texture texture,
AnchorPosition anchor,
ElementsBuffer positions)
Draw the given texture at all given position. |
void |
draw(Texture texture,
AnchorPosition anchor,
ElementsBuffer positions,
double rotationAngle)
Draw the given texture at all given position with the given rotation angle. |
void |
draw(Texture texture,
AnchorPosition anchor,
Vector3d position)
Draw the given texture at given position. |
void |
draw(Texture texture,
AnchorPosition anchor,
Vector3d position,
double rotationAngle)
Draw the given texture at given position with the given rotation angle. |
Canvas |
getCanvas()
Return the canvas where draw is done. |
ClippingManager |
getClippingManager()
Return the clipping manager. |
LightManager |
getLightManager()
Return the light manager. |
TransformationManager |
getTransformationManager()
Return the transformation manager. |
Method Detail |
---|
Canvas getCanvas()
TransformationManager getTransformationManager()
LightManager getLightManager()
ClippingManager getClippingManager()
void clear(Color color)
color
- the color used to clear the canvas.void clear(java.awt.Color color)
color
- the color used to clear the canvas.void clearDepthBuffer()
void draw(Renderer renderer)
renderer
- the given renderer.void draw(Geometry geometry) throws SciRendererException
geometry
- the geometry to draw.
SciRendererException
- if the draw is not possible.void draw(Geometry geometry, Appearance appearance) throws SciRendererException
geometry
- the geometry to draw.appearance
- the appearance to use.
SciRendererException
- if the draw is not possible.void draw(Texture texture) throws SciRendererException
texture
- the texture to drawn.
SciRendererException
- if the texture is not drawable.void draw(Texture texture, AnchorPosition anchor, ElementsBuffer positions) throws SciRendererException
texture
- the texture to draw.anchor
- the texture anchor position.positions
- the positions where the texture will be drawn.
SciRendererException
- if the texture is not drawable.void draw(Texture texture, AnchorPosition anchor, ElementsBuffer positions, double rotationAngle) throws SciRendererException
texture
- the texture to draw.anchor
- the texture anchor position.positions
- the positions where the texture will be drawn.rotationAngle
- the rotation angle.
SciRendererException
- if the texture is not drawable.void draw(Texture texture, AnchorPosition anchor, Vector3d position) throws SciRendererException
texture
- the texture to draw.anchor
- the texture anchor position.position
- the position where the texture will be drawn.
SciRendererException
- if the texture is not drawable.void draw(Texture texture, AnchorPosition anchor, Vector3d position, double rotationAngle) throws SciRendererException
texture
- the texture to draw.anchor
- the texture anchor position.position
- the position where the texture will be drawn.rotationAngle
- the rotation angle.
SciRendererException
- if the texture is not drawable.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |