Class JoGLShapeDrawer
java.lang.Object
org.scilab.forge.scirenderer.implementation.jogl.drawer.JoGLShapeDrawer
Utility class for drawing shapes.
- Author:
- Pierre Lando
-
Method Summary
Modifier and TypeMethodDescriptionvoid
draw
(JoGLDrawingTools drawingTools, Geometry geometry, Appearance appearance) Draw a given geometry with given appearance.static JoGLShapeDrawer
Singleton getter.
-
Method Details
-
getDrawer
Singleton getter.- Returns:
- the unique
JoGLShapeDrawer
.
-
draw
public void draw(JoGLDrawingTools drawingTools, Geometry geometry, Appearance appearance) throws SciRendererException Draw a given geometry with given appearance.- Parameters:
drawingTools
- the drawing tools.geometry
- the geometry.appearance
- the appearance.- Throws:
SciRendererException
- if the draw is not possible.
-