Class VBOBufferLoaderForPolygons
- java.lang.Object
-
- org.jzy3d.plot3d.primitives.vbo.drawable.loaders.VBOBufferLoader
-
- org.jzy3d.plot3d.primitives.vbo.drawable.loaders.VBOBufferLoaderForPolygons
-
- All Implemented Interfaces:
IGLLoader<DrawableVBO2>
public class VBOBufferLoaderForPolygons extends VBOBufferLoader implements IGLLoader<DrawableVBO2>
A utility class to build buffers to feed aDrawableVBO2.- Author:
- Martin Pernollet
-
-
Field Summary
Fields Modifier and Type Field Description protected intpointsPerPolygonprotected List<Polygon>polygons-
Fields inherited from class org.jzy3d.plot3d.primitives.vbo.drawable.loaders.VBOBufferLoader
verifyUniquePoints
-
-
Constructor Summary
Constructors Constructor Description VBOBufferLoaderForPolygons(List<Polygon> polygons, int pointsPerPolygon)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidload(IPainter painter, DrawableVBO2 drawable)-
Methods inherited from class org.jzy3d.plot3d.primitives.vbo.drawable.loaders.VBOBufferLoader
computeAverageNormalsForEachVertex, computeSharedNormals, computeSharedNormals, computeSimpleNormals, isVerifyUniquePoints, loadColorBufferFromArray, loadColorBufferFromColormap, loadNormalsFromArray, loadVerticesFromArray, setVerifyUniquePoints, verifyDoublons
-
-
-
-
Method Detail
-
load
public void load(IPainter painter, DrawableVBO2 drawable) throws Exception
- Specified by:
loadin interfaceIGLLoader<DrawableVBO2>- Throws:
Exception
-
-