VTK
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 "vtkImagingGeneralModule.h" // For export macro
48 #include "vtkImageReslice.h"
49 
50 class VTKIMAGINGGENERAL_EXPORT vtkImageSlabReslice : public vtkImageReslice
51 {
52 public:
53 
54  static vtkImageSlabReslice *New();
56 
60  void PrintSelf(ostream& os, vtkIndent indent) override;
61 
63 
66  vtkSetMacro( BlendMode, int );
67  vtkGetMacro( BlendMode, int );
68  void SetBlendModeToMin() { this->SetBlendMode(VTK_IMAGE_SLAB_MIN ); }
69  void SetBlendModeToMax() { this->SetBlendMode(VTK_IMAGE_SLAB_MAX ); }
70  void SetBlendModeToMean() { this->SetBlendMode(VTK_IMAGE_SLAB_MEAN); }
72 
74 
79  vtkGetMacro( NumBlendSamplePoints, int );
81 
83 
87  vtkSetMacro( SlabThickness, double );
88  vtkGetMacro( SlabThickness, double );
90 
92 
96  vtkSetMacro( SlabResolution, double );
97  vtkGetMacro( SlabResolution, double );
99 
100 protected:
102  ~vtkImageSlabReslice() override;
103 
110  vtkInformationVector *) override;
111 
112  int BlendMode; // can be MIN, MIP, MAX
116 
117 private:
118  vtkImageSlabReslice(const vtkImageSlabReslice&) = delete;
119  void operator=(const vtkImageSlabReslice&) = delete;
120 };
121 
122 #endif
vtkImageSlabReslice::SetBlendModeToMin
void SetBlendModeToMin()
Definition: vtkImageSlabReslice.h:68
vtkImageReslice.h
VTK_IMAGE_SLAB_MAX
#define VTK_IMAGE_SLAB_MAX
Definition: vtkSystemIncludes.h:113
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:115
vtkImageSlabReslice::SlabThickness
double SlabThickness
Definition: vtkImageSlabReslice.h:113
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:114
VTK_IMAGE_SLAB_MIN
#define VTK_IMAGE_SLAB_MIN
Definition: vtkSystemIncludes.h:112
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkImageSlabReslice::BlendMode
int BlendMode
Definition: vtkImageSlabReslice.h:112
vtkImageReslice
Reslices a volume along a new set of axes.
Definition: vtkImageReslice.h:71
vtkImageSlabReslice::SetBlendModeToMean
void SetBlendModeToMean()
Definition: vtkImageSlabReslice.h:70
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:80
vtkImageSlabReslice::SlabResolution
double SlabResolution
Definition: vtkImageSlabReslice.h:114
vtkImageSlabReslice::SetBlendModeToMax
void SetBlendModeToMax()
Definition: vtkImageSlabReslice.h:69
vtkImageSlabReslice
Thick slab reformat through data.
Definition: vtkImageSlabReslice.h:50