public class OpenCLUniformTextureBSpline extends OpenCLUniformBSpline
BSPLINECOLLECTION, SPLINE1DTO3D, SPLINE2DTO3D, SPLINE3DTO3D
Constructor and Description |
---|
OpenCLUniformTextureBSpline(java.util.ArrayList<PointND> controlPoints,
double[] uVector,
com.jogamp.opencl.CLDevice device) |
Modifier and Type | Method and Description |
---|---|
void |
evaluate(com.jogamp.opencl.CLBuffer<java.nio.FloatBuffer> samplingPoints,
com.jogamp.opencl.CLBuffer<java.nio.FloatBuffer> outputBuffer) |
void |
evaluateNoInterp(com.jogamp.opencl.CLBuffer<java.nio.FloatBuffer> samplingPoints,
com.jogamp.opencl.CLBuffer<java.nio.FloatBuffer> outputBuffer) |
void |
readControlPointsFromTexture(com.jogamp.opencl.CLBuffer<java.nio.FloatBuffer> outputBuffer)
Example how to read a texture at integer coordinates.
|
void |
readControlPointsFromTextureInterpolate(com.jogamp.opencl.CLBuffer<java.nio.FloatBuffer> outputBuffer)
Example how to read a texture at float coordinates.
|
evaluate, isClockwise, isTimeVariant
applyTransform, computeBounds, distance, distance, distanceFast, evalFast, evaluate, getBinaryRepresentation, getControlPoint, getControlPoints, getDegree, getDimension, getID, getKnots, getKnotVectorEntry, getRasterPoints, getWeight, intersect, isBounded, setControlPoints, setKnots
evaluate, getInternalDimension
getHitsOnBoundingBox_slow, getHitsOnBoundingBox, getMax, getMin, getName, setName
public OpenCLUniformTextureBSpline(java.util.ArrayList<PointND> controlPoints, double[] uVector, com.jogamp.opencl.CLDevice device)
public void readControlPointsFromTextureInterpolate(com.jogamp.opencl.CLBuffer<java.nio.FloatBuffer> outputBuffer)
outputBuffer
- public void readControlPointsFromTexture(com.jogamp.opencl.CLBuffer<java.nio.FloatBuffer> outputBuffer)
outputBuffer
- public void evaluate(com.jogamp.opencl.CLBuffer<java.nio.FloatBuffer> samplingPoints, com.jogamp.opencl.CLBuffer<java.nio.FloatBuffer> outputBuffer)
evaluate
in interface OpenCLEvaluatable
evaluate
in class OpenCLUniformBSpline
public void evaluateNoInterp(com.jogamp.opencl.CLBuffer<java.nio.FloatBuffer> samplingPoints, com.jogamp.opencl.CLBuffer<java.nio.FloatBuffer> outputBuffer)