Class JoGLShapeDrawer
- java.lang.Object
-
- org.scilab.forge.scirenderer.implementation.jogl.drawer.JoGLShapeDrawer
-
public final class JoGLShapeDrawer extends java.lang.ObjectUtility class for drawing shapes.- Author:
- Pierre Lando
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddraw(JoGLDrawingTools drawingTools, Geometry geometry, Appearance appearance)Draw a given geometry with given appearance.static JoGLShapeDrawergetDrawer()Singleton getter.
-
-
-
Method Detail
-
getDrawer
public static JoGLShapeDrawer 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.
-
-