51#ifndef vtkImageBSplineCoefficients_h
52#define vtkImageBSplineCoefficients_h
55#include "vtkImagingCoreModule.h"
134 void Evaluate(
const double point[3],
double* value);
136 double Evaluate(
const double point[3]) {
return this->
Evaluate(point[0], point[1], point[2]); }
general representation of visualization data
vtkImageBorderMode BorderMode
void Evaluate(const double point[3], double *value)
Interpolate a value from the image.
vtkImageBSplineCoefficients()
void SetOutputScalarTypeToFloat()
Set the scalar type of the output.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetBorderMode(vtkImageBorderMode)
Set the border mode.
const char * GetOutputScalarTypeAsString()
Set the scalar type of the output.
void SetOutputScalarTypeToDouble()
Set the scalar type of the output.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called in response to a REQUEST_DATA request from the executive.
const char * GetBorderModeAsString()
Set the border mode.
static vtkImageBSplineCoefficients * New()
double Evaluate(const double point[3])
Interpolate a value from the image.
vtkImageData * AllocateOutputData(vtkDataObject *out, vtkInformation *outInfo) override
Allocate the output data.
int CheckBounds(const double point[3])
Check a point against the image bounds.
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.
virtual void SetOutputScalarType(int)
Set the scalar type of the output.
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
vtkThreadedImageAlgorithm()
@ VTK_IMAGE_BORDER_REPEAT
@ VTK_IMAGE_BORDER_MIRROR
#define VTK_IMAGE_BSPLINE_DEGREE_MAX