45 #ifndef vtkImageBSplineCoefficients_h
46 #define vtkImageBSplineCoefficients_h
49 #include "vtkImagingCoreModule.h"
68 vtkGetMacro(SplineDegree,
int);
81 vtkSetClampMacro(BorderMode,
int,
89 vtkGetMacro(BorderMode,
int);
90 const char *GetBorderModeAsString();
100 vtkGetMacro(OutputScalarType,
int);
105 const char *GetOutputScalarTypeAsString();
118 vtkGetMacro(Bypass,
int);
127 int CheckBounds(
const double point[3]);
136 void Evaluate(
const double point[3],
double *
value);
137 double Evaluate(
double x,
double y,
double z);
139 return this->Evaluate(point[0], point[1], point[2]); }
146 void AllocateOutputData(
153 int RequestInformation(
154 vtkInformation*, vtkInformationVector**, vtkInformationVector*) VTK_OVERRIDE;
155 int RequestUpdateExtent(
156 vtkInformation*, vtkInformationVector**, vtkInformationVector*) VTK_OVERRIDE;
159 int outExt[6],
int threadId) VTK_OVERRIDE;
163 int OutputScalarType;
void SetOutputScalarTypeToFloat()
Set the scalar type of the output.
void SetBorderModeToRepeat()
Set the border mode.
double Evaluate(const double point[3])
Interpolate a value from the image.
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
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
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
#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.
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
general representation of visualization data