51 #ifndef vtkImageBSplineCoefficients_h 52 #define vtkImageBSplineCoefficients_h 55 #include "vtkImagingCoreModule.h" 74 vtkGetMacro(SplineDegree,
int);
87 vtkSetClampMacro(BorderMode,
int,
95 vtkGetMacro(BorderMode,
int);
96 const char *GetBorderModeAsString();
106 vtkGetMacro(OutputScalarType,
int);
111 const char *GetOutputScalarTypeAsString();
133 int CheckBounds(
const double point[3]);
142 void Evaluate(
const double point[3],
double *
value);
143 double Evaluate(
double x,
double y,
double z);
145 return this->Evaluate(point[0], point[1], point[2]); }
165 int outExt[6],
int threadId)
override;
void SetOutputScalarTypeToFloat()
Set the scalar type of the output.
void SetBorderModeToRepeat()
Set the border mode.
virtual void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, int extent[6], int threadId)
double Evaluate(const double point[3])
Interpolate a value from the image.
int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
This is called by the superclass.
convert image to b-spline knots
void SetBorderModeToClamp()
Set the border mode.
void SetOutputScalarTypeToDouble()
Set the scalar type of the output.
#define VTK_IMAGE_BORDER_REPEAT
#define VTK_IMAGE_BORDER_CLAMP
#define VTK_IMAGE_BSPLINE_DEGREE_MAX
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Subclasses can reimplement this method to translate the update extent requests from each output port ...
virtual void AllocateOutputData(vtkImageData *out, vtkInformation *outInfo, int *uExtent)
Allocate the output data.
Generic filter that has one input.
void SetBorderModeToMirror()
Set the border mode.
a simple class to control print indentation
topologically and geometrically regular array of data
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
#define VTK_IMAGE_BORDER_MIRROR
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
general representation of visualization data