VTK  9.0.1
vtkImageSlabReslice.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageSlabReslice.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 =========================================================================*/
44 #ifndef vtkImageSlabReslice_h
45 #define vtkImageSlabReslice_h
46 
47 #include "vtkImageReslice.h"
48 #include "vtkImagingGeneralModule.h" // For export macro
49 
50 class VTKIMAGINGGENERAL_EXPORT vtkImageSlabReslice : public vtkImageReslice
51 {
52 public:
53  static vtkImageSlabReslice* New();
55 
59  void PrintSelf(ostream& os, vtkIndent indent) override;
60 
62 
65  vtkSetMacro(BlendMode, int);
66  vtkGetMacro(BlendMode, int);
67  void SetBlendModeToMin() { this->SetBlendMode(VTK_IMAGE_SLAB_MIN); }
68  void SetBlendModeToMax() { this->SetBlendMode(VTK_IMAGE_SLAB_MAX); }
69  void SetBlendModeToMean() { this->SetBlendMode(VTK_IMAGE_SLAB_MEAN); }
71 
73 
78  vtkGetMacro(NumBlendSamplePoints, int);
80 
82 
86  vtkSetMacro(SlabThickness, double);
87  vtkGetMacro(SlabThickness, double);
89 
91 
95  vtkSetMacro(SlabResolution, double);
96  vtkGetMacro(SlabResolution, double);
98 
99 protected:
101  ~vtkImageSlabReslice() override;
102 
109 
110  int BlendMode; // can be MIN, MIP, MAX
114 
115 private:
116  vtkImageSlabReslice(const vtkImageSlabReslice&) = delete;
117  void operator=(const vtkImageSlabReslice&) = delete;
118 };
119 
120 #endif
vtkImageSlabReslice::SetBlendModeToMin
void SetBlendModeToMin()
Definition: vtkImageSlabReslice.h:67
vtkImageReslice.h
VTK_IMAGE_SLAB_MAX
#define VTK_IMAGE_SLAB_MAX
Definition: vtkSystemIncludes.h:100
vtkImageReslice::New
static vtkImageReslice * New()
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:35
vtkImageReslice::RequestInformation
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
vtkImageSlabReslice::NumBlendSamplePoints
int NumBlendSamplePoints
Definition: vtkImageSlabReslice.h:113
vtkImageSlabReslice::SlabThickness
double SlabThickness
Definition: vtkImageSlabReslice.h:111
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
VTK_IMAGE_SLAB_MIN
#define VTK_IMAGE_SLAB_MIN
Definition: vtkSystemIncludes.h:99
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkImageSlabReslice::BlendMode
int BlendMode
Definition: vtkImageSlabReslice.h:110
vtkImageReslice
Reslices a volume along a new set of axes.
Definition: vtkImageReslice.h:70
vtkImageSlabReslice::SetBlendModeToMean
void SetBlendModeToMean()
Definition: vtkImageSlabReslice.h:69
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:73
vtkImageSlabReslice::SlabResolution
double SlabResolution
Definition: vtkImageSlabReslice.h:112
vtkImageSlabReslice::SetBlendModeToMax
void SetBlendModeToMax()
Definition: vtkImageSlabReslice.h:68
vtkImageSlabReslice
Thick slab reformat through data.
Definition: vtkImageSlabReslice.h:50