public class OpenCLSplineRenderer
extends java.lang.Object
Constructor and Description |
---|
OpenCLSplineRenderer() |
Modifier and Type | Method and Description |
---|---|
com.jogamp.opencl.CLBuffer<java.nio.FloatBuffer> |
generateSamplingPoints(float tIndex,
int elementCountV,
int elementCountU) |
com.jogamp.opencl.CLBuffer<java.nio.FloatBuffer> |
generateSamplingPoints(int elementCountV,
int elementCountU) |
com.jogamp.opencl.CLBuffer<java.nio.FloatBuffer> |
generateScreenBuffer(int width,
int height) |
static void |
main(java.lang.String[] args) |
void |
renderAppendBuffer(AbstractShape s)
This method renders a Spline and displays it in an imagej window
|
Grid3D |
renderAppendBufferToGrid(AbstractShape s)
This method renders a spline, displays it in an imagej window and also
returns the result as a Grid3D
|
void |
SurfaceBSplineRenderingAppendBuffer(AbstractShape s)
This method renders a time variant spline and displays the projections in
an imagej window
|
Grid3D |
SurfaceBSplineRenderingAppendBufferToGrid(AbstractShape s)
This method renders a timevariant spline, displays it in an imagej window
and returns the result as a Grid3D
|
public void renderAppendBuffer(AbstractShape s)
s
- Splinepublic Grid3D renderAppendBufferToGrid(AbstractShape s)
s
- Splinepublic com.jogamp.opencl.CLBuffer<java.nio.FloatBuffer> generateSamplingPoints(int elementCountV, int elementCountU)
public com.jogamp.opencl.CLBuffer<java.nio.FloatBuffer> generateScreenBuffer(int width, int height)
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception
public void SurfaceBSplineRenderingAppendBuffer(AbstractShape s)
s
- time variant splinepublic Grid3D SurfaceBSplineRenderingAppendBufferToGrid(AbstractShape s)
s
- timevariant splinepublic com.jogamp.opencl.CLBuffer<java.nio.FloatBuffer> generateSamplingPoints(float tIndex, int elementCountV, int elementCountU)