39 #ifndef vtkImageBSplineCoefficients_h
40 #define vtkImageBSplineCoefficients_h
43 #include "vtkImagingCoreModule.h"
46 VTK_ABI_NAMESPACE_BEGIN
61 vtkGetMacro(SplineDegree,
int);
89 vtkGetMacro(OutputScalarType,
int);
154 VTK_ABI_NAMESPACE_END
general representation of visualization data
convert image to b-spline knots
vtkImageBorderMode BorderMode
void Evaluate(const double point[3], double *value)
Interpolate a value from the image.
const char * GetBorderModeAsString()
Set the border mode.
const char * GetOutputScalarTypeAsString()
Set the scalar type of the output.
vtkImageBSplineCoefficients()
void SetOutputScalarTypeToFloat()
Set the scalar type of the output.
vtkImageData * AllocateOutputData(vtkDataObject *out, vtkInformation *outInfo) override
Allocate the output data.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetOutputScalarTypeToDouble()
Set the scalar type of the output.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
double Evaluate(const double point[3])
Interpolate a value from the image.
int CheckBounds(const double point[3])
Check a point against the image bounds.
static vtkImageBSplineCoefficients * New()
void SetBorderModeToMirror()
Set the border mode.
void AllocateOutputData(vtkImageData *out, vtkInformation *outInfo, int *uExtent) override
Allocate the output data.
void SetBorderModeToRepeat()
Set the border mode.
void SetBorderModeToClamp()
Set the border mode.
double Evaluate(double x, double y, double z)
Interpolate a value from the image.
void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, int outExt[6], int threadId) override
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
~vtkImageBSplineCoefficients() override
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to translate the update extent requests from each output port ...
topologically and geometrically regular array of data
a simple class to control print indentation
Generic filter that has one input.
@ VTK_IMAGE_BORDER_REPEAT
@ VTK_IMAGE_BORDER_MIRROR
#define VTK_IMAGE_BSPLINE_DEGREE_MAX