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) VTK_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() VTK_OVERRIDE;
103 
109  int RequestInformation(vtkInformation *, vtkInformationVector **,
110  vtkInformationVector *) VTK_OVERRIDE;
111 
112  int BlendMode; // can be MIN, MIP, MAX
113  double SlabThickness;
114  double SlabResolution;
115  int NumBlendSamplePoints;
116 
117 private:
118  vtkImageSlabReslice(const vtkImageSlabReslice&) VTK_DELETE_FUNCTION;
119  void operator=(const vtkImageSlabReslice&) VTK_DELETE_FUNCTION;
120 };
121 
122 #endif
#define VTK_IMAGE_SLAB_MAX
#define VTK_IMAGE_SLAB_MIN
Thick slab reformat through data.
Store vtkAlgorithm input/output information.
#define VTK_IMAGE_SLAB_MEAN
void SetBlendModeToMean()
Set/Get the blend mode.
static vtkImageReslice * New()
a simple class to control print indentation
Definition: vtkIndent.h:33
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.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
Store zero or more vtkInformation instances.
void SetBlendModeToMax()
Set/Get the blend mode.
void SetBlendModeToMin()
Set/Get the blend mode.