Package org.jzy3d.io.matlab
Class MatlabVBOLoader
- java.lang.Object
-
- org.jzy3d.io.matlab.MatlabVBOLoader
-
- All Implemented Interfaces:
IGLLoader<DrawableVBO>
public class MatlabVBOLoader extends Object implements IGLLoader<DrawableVBO>
Load a Matlab (TM) .mat file, assuming it contains at least three arrays named "X", "Y" and "Z". Will fill buffers used to setup aDrawableVBO
which efficiently load geometries in GPU memory once program starts.- Author:
- Martin Pernollet
-
-
Constructor Summary
Constructors Constructor Description MatlabVBOLoader(String filename)
-
-
-
Field Detail
-
filename
protected String filename
-
C1
protected static int C1
-
C2
protected static int C2
-
C3
protected static int C3
-
-
Constructor Detail
-
MatlabVBOLoader
public MatlabVBOLoader(String filename)
-
-
Method Detail
-
load
public void load(IPainter painter, DrawableVBO drawable) throws Exception
- Specified by:
load
in interfaceIGLLoader<DrawableVBO>
- Throws:
Exception
-
-