47 #ifndef __vtkImageBSplineCoefficients_h
48 #define __vtkImageBSplineCoefficients_h
51 #include "vtkImagingCoreModule.h"
62 void PrintSelf(ostream& os, vtkIndent indent);
68 vtkGetMacro(SplineDegree,
int);
79 vtkSetClampMacro(BorderMode,
int,
87 vtkGetMacro(BorderMode,
int);
88 const char *GetBorderModeAsString();
95 vtkSetClampMacro(OutputScalarType,
int, VTK_FLOAT, VTK_DOUBLE);
96 vtkGetMacro(OutputScalarType,
int);
98 this->SetOutputScalarType(VTK_FLOAT); }
100 this->SetOutputScalarType(VTK_DOUBLE); }
101 const char *GetOutputScalarTypeAsString();
110 vtkSetMacro(Bypass,
int);
111 vtkBooleanMacro(Bypass,
int);
112 vtkGetMacro(Bypass,
int);
119 int CheckBounds(
const double point[3]);
126 void Evaluate(
const double point[3],
double *value);
127 double Evaluate(
double x,
double y,
double z);
129 return this->Evaluate(point[0], point[1], point[2]); }
134 int SplitExtent(
int splitExt[6],
int startExt[6],
int num,
int total);
141 vtkImageData *out, vtkInformation *outInfo,
int *uExtent);
146 vtkInformation*, vtkInformationVector**, vtkInformationVector*);
148 vtkInformation*, vtkInformationVector**, vtkInformationVector*);
150 vtkInformation*, vtkInformationVector**, vtkInformationVector*);
152 virtual void ThreadedExecute(vtkImageData *inData, vtkImageData *outData,
153 int outExt[6],
int threadId);
void SetOutputScalarTypeToFloat()
void SetBorderModeToRepeat()
virtual void ThreadedExecute(vtkImageData *inData, vtkImageData *outData, int extent[6], int threadId)
double Evaluate(const double point[3])
convert image to b-spline knots
virtual int SplitExtent(int splitExt[6], int startExt[6], int num, int total)
void SetBorderModeToClamp()
void SetOutputScalarTypeToDouble()
#define VTK_IMAGE_BORDER_REPEAT
#define VTK_IMAGE_BORDER_CLAMP
#define VTK_IMAGE_BSPLINE_DEGREE_MAX
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual void AllocateOutputData(vtkImageData *out, vtkInformation *outInfo, int *uExtent)
Generic filter that has one input..
void SetBorderModeToMirror()
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
#define VTK_IMAGE_BORDER_MIRROR
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
static vtkAlgorithm * New()
general representation of visualization data