16 #ifndef vtkImageResample_h
17 #define vtkImageResample_h
20 #include "vtkImagingCoreModule.h"
22 VTK_ABI_NAMESPACE_BEGIN
40 void SetAxisOutputSpacing(
int axis,
double spacing);
48 void SetMagnificationFactors(
double fx,
double fy,
double fz);
51 this->SetMagnificationFactors(f[0], f[1], f[2]);
53 vtkGetVector3Macro(MagnificationFactors,
double);
54 void SetAxisMagnificationFactor(
int axis,
double factor);
61 double GetAxisMagnificationFactor(
int axis,
vtkInformation* inInfo =
nullptr);
70 vtkSetMacro(Dimensionality,
int);
71 vtkGetMacro(Dimensionality,
int);
78 double MagnificationFactors[3];
Resamples an image to be larger or smaller.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
static vtkImageReslice * New()
virtual void SetOutputSpacing(double x, double y, double z)
Set the voxel spacing for the output data.
void SetOutputSpacing(const double spacing[3]) override
Set desired spacing.
a simple class to control print indentation
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Reslices a volume along a new set of axes.
void SetMagnificationFactors(const double f[3])
Set/Get Magnification factors.