public class TestOpenCL
extends java.lang.Object
Constructor and Description |
---|
TestOpenCL() |
Modifier and Type | Method and Description |
---|---|
double |
computeMeanError(com.jogamp.opencl.CLBuffer<java.nio.FloatBuffer> outputBuffer,
double[] x,
double[] y,
double[] z,
int length,
boolean out) |
ij.process.FloatProcessor |
evaluateBSplineCPU(int elementCountT,
int elementCountV,
int elementCountU,
int width,
int height,
TimeVariantSurfaceBSpline cSpline,
double[] x,
double[] y,
double[] z,
SimpleMatrix proj,
boolean show) |
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> |
generateSamplingPoints(int elementCountT,
int elementCountV,
int elementCountU) |
com.jogamp.opencl.CLBuffer<java.nio.FloatBuffer> |
generateScreenBuffer(int width,
int height) |
void |
OpenCLCreatePhantom() |
void |
readAndShowBuffer(int width,
int height,
com.jogamp.opencl.CLBuffer<java.nio.FloatBuffer> screenBuffer,
java.lang.String title) |
void |
testCLVersion() |
void |
TestComputeWeights() |
void |
TestCPURayTracer() |
void |
TestOpenCLCylinder() |
void |
TestOpenCLSimpleObjectRenderingAppendBuffer() |
void |
TestOpenCLSphere() |
void |
TestOpenCLSurfaceBSplineProjection() |
void |
TestOpenCLSurfaceBSplineRendering() |
void |
TestOpenCLSurfaceBSplineRenderingAppendBuffer() |
void |
TestOpenCLSurfaceBSplineRenderingRayCast() |
void |
TestOpenCLSurfaceBSplineRenderingYBuffer() |
void |
TestOpenCLSurfaceBSplineRenderingZBuffer() |
void |
TestOpenCLTextureTimeSurfaceBSpline() |
void |
TestOpenCLUniformBSpline() |
void |
TestOpenCLUniformSurfaceBSpline() |
void |
TestOpenCLUniformTextureBSpline() |
void |
TestOpenCLUniformTextureSurfaceBSpline() |
void |
TestOpenCLUniformTimeSurfaceBSpline() |
void |
testPlaneModel() |
void |
TestVectorAdd() |
public double computeMeanError(com.jogamp.opencl.CLBuffer<java.nio.FloatBuffer> outputBuffer, double[] x, double[] y, double[] z, int length, boolean out)
public ij.process.FloatProcessor evaluateBSplineCPU(int elementCountT, int elementCountV, int elementCountU, int width, int height, TimeVariantSurfaceBSpline cSpline, double[] x, double[] y, double[] z, SimpleMatrix proj, boolean show)
public com.jogamp.opencl.CLBuffer<java.nio.FloatBuffer> generateSamplingPoints(float tIndex, int elementCountV, int elementCountU)
public com.jogamp.opencl.CLBuffer<java.nio.FloatBuffer> generateSamplingPoints(int elementCountT, int elementCountV, int elementCountU)
public 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 void readAndShowBuffer(int width, int height, com.jogamp.opencl.CLBuffer<java.nio.FloatBuffer> screenBuffer, java.lang.String title)
public void TestOpenCLSurfaceBSplineRenderingYBuffer()
public void testPlaneModel()
public void TestCPURayTracer()
public void OpenCLCreatePhantom()
public void TestOpenCLSurfaceBSplineRenderingAppendBuffer()
public void TestOpenCLSimpleObjectRenderingAppendBuffer()
public void TestOpenCLSurfaceBSplineRenderingRayCast()
public void TestOpenCLSurfaceBSplineRenderingZBuffer()
public void TestOpenCLSurfaceBSplineRendering()
public void TestOpenCLSurfaceBSplineProjection()
public void TestOpenCLTextureTimeSurfaceBSpline()
public void TestOpenCLUniformTimeSurfaceBSpline()
public void TestOpenCLUniformTextureSurfaceBSpline()
public void TestOpenCLUniformSurfaceBSpline()
public void TestOpenCLUniformTextureBSpline()
public void TestOpenCLUniformBSpline()
public void TestOpenCLCylinder()
public void TestOpenCLSphere()
public void TestComputeWeights()
public void testCLVersion()
public void TestVectorAdd()