VTK  9.1.0
vtkImageReslice.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageReslice.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
91 #ifndef vtkImageReslice_h
92 #define vtkImageReslice_h
93 
94 #include "vtkImagingCoreModule.h" // For export macro
96 
97 // interpolation mode constants
98 #define VTK_RESLICE_NEAREST VTK_NEAREST_INTERPOLATION
99 #define VTK_RESLICE_LINEAR VTK_LINEAR_INTERPOLATION
100 #define VTK_RESLICE_CUBIC VTK_CUBIC_INTERPOLATION
101 
102 class vtkImageData;
104 class vtkMatrix4x4;
105 class vtkImageStencilData;
106 class vtkScalarsToColors;
108 
109 class VTKIMAGINGCORE_EXPORT vtkImageReslice : public vtkThreadedImageAlgorithm
110 {
111 public:
112  static vtkImageReslice* New();
114 
115  void PrintSelf(ostream& os, vtkIndent indent) override;
116 
118 
133  virtual void SetResliceAxes(vtkMatrix4x4*);
134  vtkGetObjectMacro(ResliceAxes, vtkMatrix4x4);
136 
138 
144  void SetResliceAxesDirectionCosines(double x0, double x1, double x2, double y0, double y1,
145  double y2, double z0, double z1, double z2);
146  void SetResliceAxesDirectionCosines(const double x[3], const double y[3], const double z[3])
147  {
148  this->SetResliceAxesDirectionCosines(x[0], x[1], x[2], y[0], y[1], y[2], z[0], z[1], z[2]);
149  }
150  void SetResliceAxesDirectionCosines(const double xyz[9])
151  {
152  this->SetResliceAxesDirectionCosines(
153  xyz[0], xyz[1], xyz[2], xyz[3], xyz[4], xyz[5], xyz[6], xyz[7], xyz[8]);
154  }
155  void GetResliceAxesDirectionCosines(double x[3], double y[3], double z[3]);
156  void GetResliceAxesDirectionCosines(double xyz[9])
157  {
158  this->GetResliceAxesDirectionCosines(&xyz[0], &xyz[3], &xyz[6]);
159  }
161  {
162  this->GetResliceAxesDirectionCosines(this->ResliceAxesDirectionCosines);
163  return this->ResliceAxesDirectionCosines;
164  }
166 
168 
174  void SetResliceAxesOrigin(double x, double y, double z);
175  void SetResliceAxesOrigin(const double xyz[3])
176  {
177  this->SetResliceAxesOrigin(xyz[0], xyz[1], xyz[2]);
178  }
179  void GetResliceAxesOrigin(double xyz[3]);
181  {
182  this->GetResliceAxesOrigin(this->ResliceAxesOrigin);
183  return this->ResliceAxesOrigin;
184  }
186 
188 
198  vtkGetObjectMacro(ResliceTransform, vtkAbstractTransform);
200 
202 
212  vtkGetObjectMacro(InformationInput, vtkImageData);
214 
216 
223  vtkSetMacro(TransformInputSampling, vtkTypeBool);
224  vtkBooleanMacro(TransformInputSampling, vtkTypeBool);
225  vtkGetMacro(TransformInputSampling, vtkTypeBool);
227 
229 
234  vtkSetMacro(AutoCropOutput, vtkTypeBool);
235  vtkBooleanMacro(AutoCropOutput, vtkTypeBool);
236  vtkGetMacro(AutoCropOutput, vtkTypeBool);
238 
240 
243  vtkSetMacro(Wrap, vtkTypeBool);
244  vtkGetMacro(Wrap, vtkTypeBool);
245  vtkBooleanMacro(Wrap, vtkTypeBool);
247 
249 
253  vtkSetMacro(Mirror, vtkTypeBool);
254  vtkGetMacro(Mirror, vtkTypeBool);
255  vtkBooleanMacro(Mirror, vtkTypeBool);
257 
259 
269  vtkSetMacro(Border, vtkTypeBool);
270  vtkGetMacro(Border, vtkTypeBool);
271  vtkBooleanMacro(Border, vtkTypeBool);
273 
275 
279  vtkSetMacro(BorderThickness, double);
281  vtkGetMacro(BorderThickness, double);
283 
287  vtkSetClampMacro(InterpolationMode, int, VTK_RESLICE_NEAREST, VTK_RESLICE_CUBIC);
288  vtkGetMacro(InterpolationMode, int);
289  void SetInterpolationModeToNearestNeighbor() { this->SetInterpolationMode(VTK_RESLICE_NEAREST); }
290  void SetInterpolationModeToLinear() { this->SetInterpolationMode(VTK_RESLICE_LINEAR); }
291  void SetInterpolationModeToCubic() { this->SetInterpolationMode(VTK_RESLICE_CUBIC); }
292  virtual const char* GetInterpolationModeAsString();
294 
296 
303 
305 
311  vtkSetClampMacro(SlabMode, int, VTK_IMAGE_SLAB_MIN, VTK_IMAGE_SLAB_SUM);
312  vtkGetMacro(SlabMode, int);
313  void SetSlabModeToMin() { this->SetSlabMode(VTK_IMAGE_SLAB_MIN); }
314  void SetSlabModeToMax() { this->SetSlabMode(VTK_IMAGE_SLAB_MAX); }
315  void SetSlabModeToMean() { this->SetSlabMode(VTK_IMAGE_SLAB_MEAN); }
316  void SetSlabModeToSum() { this->SetSlabMode(VTK_IMAGE_SLAB_SUM); }
317  virtual const char* GetSlabModeAsString();
319 
321 
324  vtkSetMacro(SlabNumberOfSlices, int);
325  vtkGetMacro(SlabNumberOfSlices, int);
327 
329 
334  vtkSetMacro(SlabTrapezoidIntegration, vtkTypeBool);
335  vtkBooleanMacro(SlabTrapezoidIntegration, vtkTypeBool);
336  vtkGetMacro(SlabTrapezoidIntegration, vtkTypeBool);
338 
340 
349  vtkSetMacro(SlabSliceSpacingFraction, double);
350  vtkGetMacro(SlabSliceSpacingFraction, double);
352 
354 
358  vtkSetMacro(Optimization, vtkTypeBool);
359  vtkGetMacro(Optimization, vtkTypeBool);
360  vtkBooleanMacro(Optimization, vtkTypeBool);
362 
364 
371  vtkSetMacro(ScalarShift, double);
372  vtkGetMacro(ScalarShift, double);
374 
376 
383  vtkSetMacro(ScalarScale, double);
384  vtkGetMacro(ScalarScale, double);
386 
388 
398  vtkSetMacro(OutputScalarType, int);
399  vtkGetMacro(OutputScalarType, int);
401 
403 
406  vtkSetVector4Macro(BackgroundColor, double);
407  vtkGetVector4Macro(BackgroundColor, double);
409 
411 
414  void SetBackgroundLevel(double v) { this->SetBackgroundColor(v, v, v, v); }
415  double GetBackgroundLevel() { return this->GetBackgroundColor()[0]; }
417 
419 
423  virtual void SetOutputSpacing(double x, double y, double z);
424  virtual void SetOutputSpacing(const double a[3]) { this->SetOutputSpacing(a[0], a[1], a[2]); }
425  vtkGetVector3Macro(OutputSpacing, double);
428 
430 
434  virtual void SetOutputOrigin(double x, double y, double z);
435  virtual void SetOutputOrigin(const double a[3]) { this->SetOutputOrigin(a[0], a[1], a[2]); }
436  vtkGetVector3Macro(OutputOrigin, double);
439 
441 
445  virtual void SetOutputExtent(int a, int b, int c, int d, int e, int f);
446  virtual void SetOutputExtent(const int a[6])
447  {
448  this->SetOutputExtent(a[0], a[1], a[2], a[3], a[4], a[5]);
449  }
450  vtkGetVector6Macro(OutputExtent, int);
453 
455 
465  vtkSetMacro(OutputDimensionality, int);
466  vtkGetMacro(OutputDimensionality, int);
468 
473  vtkMTimeType GetMTime() override;
474 
479 
481 
489  void SetInterpolate(int t)
490  {
491  if (t && !this->GetInterpolate())
492  {
493  this->SetInterpolationModeToLinear();
494  }
495  else if (!t && this->GetInterpolate())
496  {
497  this->SetInterpolationModeToNearestNeighbor();
498  }
499  }
500  void InterpolateOn() { this->SetInterpolate(1); }
501  void InterpolateOff() { this->SetInterpolate(0); }
502  int GetInterpolate() { return (this->GetInterpolationMode() != VTK_RESLICE_NEAREST); }
504 
506 
514 
516 
520  vtkSetMacro(GenerateStencilOutput, vtkTypeBool);
521  vtkGetMacro(GenerateStencilOutput, vtkTypeBool);
522  vtkBooleanMacro(GenerateStencilOutput, vtkTypeBool);
524 
526 
533 
534 protected:
536  ~vtkImageReslice() override;
537 
539  double ResliceAxesDirectionCosines[9];
540  double ResliceAxesOrigin[3];
549  int SlabMode;
553  double ScalarShift;
554  double ScalarScale;
556  double BackgroundColor[4];
557  double OutputOrigin[3];
558  double OutputSpacing[3];
559  int OutputExtent[6];
570 
573 
579 
584  virtual int ConvertScalarInfo(int& scalarType, int& numComponents);
585 
594  virtual void ConvertScalars(void* inPtr, void* outPtr, int inputType, int inputNumComponents,
595  int count, int idX, int idY, int idZ, int threadId);
596 
597  void ConvertScalarsBase(void* inPtr, void* outPtr, int inputType, int inputNumComponents,
598  int count, int idX, int idY, int idZ, int threadId)
599  {
600  this->ConvertScalars(
601  inPtr, outPtr, inputType, inputNumComponents, count, idX, idY, idZ, threadId);
602  }
603 
610 
611  void GetAutoCroppedOutputBounds(vtkInformation* inInfo, double bounds[6]);
612  void AllocateOutputData(vtkImageData* output, vtkInformation* outInfo, int* uExtent) override;
618  vtkInformationVector* outputVector, vtkImageData*** inData, vtkImageData** outData, int ext[6],
619  int id) override;
622 
624  vtkAbstractTransform* GetOptimizedTransform() { return this->OptimizedTransform; }
625 
626 private:
627  vtkImageReslice(const vtkImageReslice&) = delete;
628  void operator=(const vtkImageReslice&) = delete;
629 };
630 
631 #endif
vtkImageReslice::RequestUpdateExtent
int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to translate the update extent requests from each output port ...
vtkImageReslice::Mirror
vtkTypeBool Mirror
Definition: vtkImageReslice.h:545
vtkImageReslice::InformationInput
vtkImageData * InformationInput
Definition: vtkImageReslice.h:543
vtkImageReslice::GetStencilOutputPort
vtkAlgorithmOutput * GetStencilOutputPort()
Get the output stencil.
Definition: vtkImageReslice.h:529
vtkImageReslice::ResliceAxes
vtkMatrix4x4 * ResliceAxes
Definition: vtkImageReslice.h:538
vtkImageReslice::SetSlabModeToMax
void SetSlabModeToMax()
Set the slab mode, for generating thick slices.
Definition: vtkImageReslice.h:314
vtkImageReslice::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...
vtkImageReslice::IndexMatrix
vtkMatrix4x4 * IndexMatrix
Definition: vtkImageReslice.h:571
vtkImageReslice::SetResliceAxes
virtual void SetResliceAxes(vtkMatrix4x4 *)
This method is used to set up the axes for the output voxels.
vtkImageReslice::SetOutputOriginToDefault
void SetOutputOriginToDefault()
Set the origin for the output data.
vtkImageReslice::SetInformationInput
virtual void SetInformationInput(vtkImageData *)
Set a vtkImageData from which the default Spacing, Origin, and WholeExtent of the output will be copi...
vtkImageReslice::GetMTime
vtkMTimeType GetMTime() override
When determining the modified time of the filter, this check the modified time of the transform and m...
vtkImageReslice::ThreadedRequestData
void ThreadedRequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector, vtkImageData ***inData, vtkImageData **outData, int ext[6], int id) override
If the subclass does not define an Execute method, then the task will be broken up,...
vtkImageReslice::SetResliceAxesOrigin
void SetResliceAxesOrigin(double x, double y, double z)
Specify the origin for the ResliceAxes (i.e.
vtkImageReslice::SetInterpolationModeToLinear
void SetInterpolationModeToLinear()
Definition: vtkImageReslice.h:290
vtkImageReslice::Wrap
vtkTypeBool Wrap
Definition: vtkImageReslice.h:544
vtkAbstractTransform
superclass for all geometric transformations
Definition: vtkAbstractTransform.h:52
vtkImageReslice::InterpolateOff
void InterpolateOff()
Convenient methods for switching between nearest-neighbor and linear interpolation.
Definition: vtkImageReslice.h:501
vtkImageReslice::SetResliceAxesOrigin
void SetResliceAxesOrigin(const double xyz[3])
Specify the origin for the ResliceAxes (i.e.
Definition: vtkImageReslice.h:175
VTK_IMAGE_SLAB_MAX
#define VTK_IMAGE_SLAB_MAX
Definition: vtkSystemIncludes.h:100
vtkImageReslice::SlabMode
int SlabMode
Definition: vtkImageReslice.h:549
vtkImageReslice::ComputeOutputSpacing
int ComputeOutputSpacing
Definition: vtkImageReslice.h:566
vtkAlgorithm::GetOutputPort
vtkAlgorithmOutput * GetOutputPort()
Definition: vtkAlgorithm.h:538
vtkImageReslice::SetResliceAxesDirectionCosines
void SetResliceAxesDirectionCosines(double x0, double x1, double x2, double y0, double y1, double y2, double z0, double z1, double z2)
Specify the direction cosines for the ResliceAxes (i.e.
vtkImageReslice::SetInterpolate
void SetInterpolate(int t)
Convenient methods for switching between nearest-neighbor and linear interpolation.
Definition: vtkImageReslice.h:489
vtkImageReslice::New
static vtkImageReslice * New()
vtkImageReslice::ReportReferences
void ReportReferences(vtkGarbageCollector *) override
Report object referenced by instances of this class.
vtkImageReslice::OutputScalarType
int OutputScalarType
Definition: vtkImageReslice.h:560
vtkImageReslice::SetOutputExtent
virtual void SetOutputExtent(int a, int b, int c, int d, int e, int f)
Set the extent for the output data.
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:145
vtkImageReslice::InterpolationMode
int InterpolationMode
Definition: vtkImageReslice.h:547
vtkImageReslice::SetResliceAxesDirectionCosines
void SetResliceAxesDirectionCosines(const double xyz[9])
Specify the direction cosines for the ResliceAxes (i.e.
Definition: vtkImageReslice.h:150
vtkImageReslice::SetInterpolator
virtual void SetInterpolator(vtkAbstractImageInterpolator *sampler)
Set the interpolator to use.
vtkImageReslice::GetResliceAxesDirectionCosines
double * GetResliceAxesDirectionCosines()
Specify the direction cosines for the ResliceAxes (i.e.
Definition: vtkImageReslice.h:160
vtkImageReslice::RequestInformation
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
vtkImageReslice::ComputeOutputExtent
int ComputeOutputExtent
Definition: vtkImageReslice.h:568
vtkImageReslice::SlabTrapezoidIntegration
vtkTypeBool SlabTrapezoidIntegration
Definition: vtkImageReslice.h:551
vtkThreadedImageAlgorithm
Generic filter that has one input.
Definition: vtkThreadedImageAlgorithm.h:39
vtkImageReslice::UsePermuteExecute
int UsePermuteExecute
Definition: vtkImageReslice.h:565
vtkImageReslice::SetResliceAxesDirectionCosines
void SetResliceAxesDirectionCosines(const double x[3], const double y[3], const double z[3])
Specify the direction cosines for the ResliceAxes (i.e.
Definition: vtkImageReslice.h:146
vtkImageReslice::GetStencil
vtkImageStencilData * GetStencil()
Use a stencil to limit the calculations to a specific region of the output.
vtkImageReslice::GetInterpolator
virtual vtkAbstractImageInterpolator * GetInterpolator()
Set the interpolator to use.
vtkImageReslice::InterpolateOn
void InterpolateOn()
Convenient methods for switching between nearest-neighbor and linear interpolation.
Definition: vtkImageReslice.h:500
vtkImageReslice::AllocateOutputData
void AllocateOutputData(vtkImageData *output, vtkInformation *outInfo, int *uExtent) override
Allocate the output data.
vtkImageReslice::OutputDimensionality
int OutputDimensionality
Definition: vtkImageReslice.h:561
vtkImageReslice::SetOutputOrigin
virtual void SetOutputOrigin(double x, double y, double z)
Set the origin for the output data.
vtkThreadedImageAlgorithm.h
vtkImageReslice::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
VTK_IMAGE_SLAB_MEAN
#define VTK_IMAGE_SLAB_MEAN
Definition: vtkSystemIncludes.h:101
vtkX3D::port
@ port
Definition: vtkX3D.h:453
vtkImageReslice::SetInterpolationModeToCubic
void SetInterpolationModeToCubic()
Definition: vtkImageReslice.h:291
vtkImageReslice::ConvertScalarInfo
virtual int ConvertScalarInfo(int &scalarType, int &numComponents)
This should be overridden by derived classes that operate on the interpolated data before it is place...
vtkImageReslice::SetOutputExtent
virtual void SetOutputExtent(const int a[6])
Set the extent for the output data.
Definition: vtkImageReslice.h:446
VTK_SIZEHINT
#define VTK_SIZEHINT(...)
Definition: vtkWrappingHints.h:48
VTK_RESLICE_CUBIC
#define VTK_RESLICE_CUBIC
Definition: vtkImageReslice.h:100
VTK_IMAGE_SLAB_MIN
#define VTK_IMAGE_SLAB_MIN
Definition: vtkSystemIncludes.h:99
vtkImageReslice::ConvertScalars
virtual void ConvertScalars(void *inPtr, void *outPtr, int inputType, int inputNumComponents, int count, int idX, int idY, int idZ, int threadId)
This should be overridden by derived classes that operate on the interpolated data before it is place...
vtkImageReslice::SetOutputSpacing
virtual void SetOutputSpacing(double x, double y, double z)
Set the voxel spacing for the output data.
vtkImageReslice::GenerateStencilOutput
vtkTypeBool GenerateStencilOutput
Definition: vtkImageReslice.h:569
vtkImageReslice::GetResliceAxesDirectionCosines
void GetResliceAxesDirectionCosines(double x[3], double y[3], double z[3])
Specify the direction cosines for the ResliceAxes (i.e.
vtkImageReslice::GetResliceAxesDirectionCosines
void GetResliceAxesDirectionCosines(double xyz[9])
Specify the direction cosines for the ResliceAxes (i.e.
Definition: vtkImageReslice.h:156
vtkImageReslice::SetResliceTransform
virtual void SetResliceTransform(vtkAbstractTransform *)
Set a transform to be applied to the resampling grid that has been defined via the ResliceAxes and th...
vtkImageData
topologically and geometrically regular array of data
Definition: vtkImageData.h:157
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:113
vtkMatrix4x4
represent and manipulate 4x4 transformation matrices
Definition: vtkMatrix4x4.h:145
vtkImageReslice::AllocateOutputData
vtkImageData * AllocateOutputData(vtkDataObject *, vtkInformation *) override
Allocate the output data.
vtkImageReslice::Interpolator
vtkAbstractImageInterpolator * Interpolator
Definition: vtkImageReslice.h:542
vtkImageReslice::SlabSliceSpacingFraction
double SlabSliceSpacingFraction
Definition: vtkImageReslice.h:552
vtkImageReslice::Optimization
vtkTypeBool Optimization
Definition: vtkImageReslice.h:548
vtkImageReslice::vtkImageReslice
vtkImageReslice()
vtkImageReslice
Reslices a volume along a new set of axes.
Definition: vtkImageReslice.h:110
vtkImageReslice::GetBackgroundLevel
double GetBackgroundLevel()
Set background grey level (for single-component images).
Definition: vtkImageReslice.h:415
vtkImageReslice::AutoCropOutput
vtkTypeBool AutoCropOutput
Definition: vtkImageReslice.h:563
vtkImageReslice::GetAutoCroppedOutputBounds
void GetAutoCroppedOutputBounds(vtkInformation *inInfo, double bounds[6])
vtkImageReslice::BorderThickness
double BorderThickness
Definition: vtkImageReslice.h:555
VTK_RESLICE_NEAREST
#define VTK_RESLICE_NEAREST
Definition: vtkImageReslice.h:98
vtkImageReslice::SetOutputSpacing
virtual void SetOutputSpacing(const double a[3])
Set the voxel spacing for the output data.
Definition: vtkImageReslice.h:424
vtkImageReslice::GetInterpolate
int GetInterpolate()
Convenient methods for switching between nearest-neighbor and linear interpolation.
Definition: vtkImageReslice.h:502
vtkScalarsToColors
Superclass for mapping scalar values to colors.
Definition: vtkScalarsToColors.h:109
vtkImageReslice::OptimizedTransform
vtkAbstractTransform * OptimizedTransform
Definition: vtkImageReslice.h:572
vtkImageReslice::ScalarScale
double ScalarScale
Definition: vtkImageReslice.h:554
vtkImageReslice::SetStencilData
void SetStencilData(vtkImageStencilData *stencil)
Use a stencil to limit the calculations to a specific region of the output.
vtkGarbageCollector
Detect and break reference loops.
Definition: vtkGarbageCollector.h:95
vtkImageReslice::SetInterpolationModeToNearestNeighbor
void SetInterpolationModeToNearestNeighbor()
Definition: vtkImageReslice.h:289
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:183
vtkImageReslice::SetSlabModeToSum
void SetSlabModeToSum()
Set the slab mode, for generating thick slices.
Definition: vtkImageReslice.h:316
vtkX3D::info
@ info
Definition: vtkX3D.h:382
vtkImageReslice::HasConvertScalars
int HasConvertScalars
This should be set to 1 by derived classes that override the ConvertScalars method.
Definition: vtkImageReslice.h:578
vtkImageReslice::ComputeOutputOrigin
int ComputeOutputOrigin
Definition: vtkImageReslice.h:567
vtkImageReslice::SetOutputExtentToDefault
void SetOutputExtentToDefault()
Set the extent for the output data.
vtkImageReslice::ScalarShift
double ScalarShift
Definition: vtkImageReslice.h:553
vtkImageReslice::GetSlabModeAsString
virtual const char * GetSlabModeAsString()
Set the slab mode, for generating thick slices.
vtkImageReslice::SetSlabModeToMean
void SetSlabModeToMean()
Set the slab mode, for generating thick slices.
Definition: vtkImageReslice.h:315
vtkImageReslice::GetResliceAxesOrigin
void GetResliceAxesOrigin(double xyz[3])
Specify the origin for the ResliceAxes (i.e.
VTK_IMAGE_SLAB_SUM
#define VTK_IMAGE_SLAB_SUM
Definition: vtkSystemIncludes.h:102
vtkImageReslice::ConvertScalarsBase
void ConvertScalarsBase(void *inPtr, void *outPtr, int inputType, int inputNumComponents, int count, int idX, int idY, int idZ, int threadId)
Definition: vtkImageReslice.h:597
vtkAlgorithmOutput
Proxy object to connect input/output ports.
Definition: vtkAlgorithmOutput.h:66
vtkImageReslice::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkImageReslice::SlabNumberOfSlices
int SlabNumberOfSlices
Definition: vtkImageReslice.h:550
VTK_RESLICE_LINEAR
#define VTK_RESLICE_LINEAR
Definition: vtkImageReslice.h:99
vtkImageReslice::GetStencilOutput
vtkImageStencilData * GetStencilOutput()
Get the output stencil.
vtkImageStencilData
efficient description of an image stencil
Definition: vtkImageStencilData.h:53
vtkImageReslice::SetBackgroundLevel
void SetBackgroundLevel(double v)
Set background grey level (for single-component images).
Definition: vtkImageReslice.h:414
vtkImageReslice::SetStencilOutput
void SetStencilOutput(vtkImageStencilData *stencil)
Get the output stencil.
vtkImageReslice::SetOutputOrigin
virtual void SetOutputOrigin(const double a[3])
Set the origin for the output data.
Definition: vtkImageReslice.h:435
vtkImageReslice::GetInterpolationModeAsString
virtual const char * GetInterpolationModeAsString()
vtkImageReslice::HitInputExtent
int HitInputExtent
Definition: vtkImageReslice.h:564
vtkImageReslice::~vtkImageReslice
~vtkImageReslice() override
vtkImageReslice::Border
vtkTypeBool Border
Definition: vtkImageReslice.h:546
vtkAbstractImageInterpolator
interpolate data values from images
Definition: vtkAbstractImageInterpolator.h:47
vtkDataObject
general representation of visualization data
Definition: vtkDataObject.h:169
vtkImageReslice::GetResliceAxesOrigin
double * GetResliceAxesOrigin()
Specify the origin for the ResliceAxes (i.e.
Definition: vtkImageReslice.h:180
vtkImageReslice::FillOutputPortInformation
int FillOutputPortInformation(int port, vtkInformation *info) override
These method should be reimplemented by subclasses that have more than a single input or single outpu...
vtkImageReslice::SetSlabModeToMin
void SetSlabModeToMin()
Set the slab mode, for generating thick slices.
Definition: vtkImageReslice.h:313
vtkImageReslice::SetOutputSpacingToDefault
void SetOutputSpacingToDefault()
Set the voxel spacing for the output data.
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:69
vtkImageReslice::RequestInformationBase
int RequestInformationBase(vtkInformationVector **, vtkInformationVector *)
For derived classes, this should be called at the very end of RequestInformation() to ensure that var...
vtkImageReslice::ResliceTransform
vtkAbstractTransform * ResliceTransform
Definition: vtkImageReslice.h:541
vtkImageReslice::GetOptimizedTransform
vtkAbstractTransform * GetOptimizedTransform()
Definition: vtkImageReslice.h:624
vtkMTimeType
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:287
vtkImageReslice::GetIndexMatrix
vtkMatrix4x4 * GetIndexMatrix(vtkInformation *inInfo, vtkInformation *outInfo)
vtkImageReslice::TransformInputSampling
vtkTypeBool TransformInputSampling
Definition: vtkImageReslice.h:562