Go to the documentation of this file.
31 #ifndef vtkImageResample_h
32 #define vtkImageResample_h
35 #include "vtkImagingCoreModule.h"
53 void SetAxisOutputSpacing(
int axis,
double spacing);
61 void SetMagnificationFactors(
double fx,
double fy,
double fz);
63 this->SetMagnificationFactors(f[0], f[1], f[2]); }
64 vtkGetVector3Macro(MagnificationFactors,
double);
65 void SetAxisMagnificationFactor(
int axis,
double factor);
72 double GetAxisMagnificationFactor(
int axis,
vtkInformation *inInfo=
nullptr);
81 vtkSetMacro(Dimensionality,
int);
82 vtkGetMacro(Dimensionality,
int);
89 double MagnificationFactors[3];
void SetMagnificationFactors(const double f[3])
static vtkImageReslice * New()
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Resamples an image to be larger or smaller.
virtual void SetOutputSpacing(double x, double y, double z)
Set the voxel spacing for the output data.
a simple class to control print indentation
Reslices a volume along a new set of axes.
~vtkImageResample() override
void SetOutputSpacing(const double spacing[3]) override