VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 =========================================================================*/
46 #ifndef __vtkImageSlabReslice_h
47 #define __vtkImageSlabReslice_h
48 
49 #include "vtkImagingGeneralModule.h" // For export macro
50 #include "vtkImageReslice.h"
51 
52 // For backwards compatibility
53 #ifndef VTK_LEGACY_REMOVE
54 #define VTK_IMAGESLAB_BLEND_MIN VTK_IMAGE_SLAB_MIN
55 #define VTK_IMAGESLAB_BLEND_MAX VTK_IMAGE_SLAB_MAX
56 #define VTK_IMAGESLAB_BLEND_MEAN VTK_IMAGE_SLAB_MEAN
57 #endif
58 
60 {
61 public:
62 
63  static vtkImageSlabReslice *New();
65 
67  virtual void PrintSelf(ostream& os, vtkIndent indent);
68 
70 
71  vtkSetMacro( BlendMode, int );
72  vtkGetMacro( BlendMode, int );
73  void SetBlendModeToMin() { this->SetBlendMode(VTK_IMAGE_SLAB_MIN ); }
74  void SetBlendModeToMax() { this->SetBlendMode(VTK_IMAGE_SLAB_MAX ); }
75  void SetBlendModeToMean() { this->SetBlendMode(VTK_IMAGE_SLAB_MEAN); }
77 
79 
82  vtkGetMacro( NumBlendSamplePoints, int );
84 
86 
88  vtkSetMacro( SlabThickness, double );
89  vtkGetMacro( SlabThickness, double );
91 
93 
95  vtkSetMacro( SlabResolution, double );
96  vtkGetMacro( SlabResolution, double );
98 
99 protected:
102 
104 
110 
111  int BlendMode; // can be MIN, MIP, MAX
115 
116 private:
117  vtkImageSlabReslice(const vtkImageSlabReslice&); // Not implemented.
118  void operator=(const vtkImageSlabReslice&); // Not implemented.
119 };
120 
121 #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
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkImageReslice * New()
a simple class to control print indentation
Definition: vtkIndent.h:38
Reslices a volume along a new set of axes.
#define VTKIMAGINGGENERAL_EXPORT
Store zero or more vtkInformation instances.
virtual void PrintSelf(ostream &os, vtkIndent indent)