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 =========================================================================*/
46 #ifndef vtkImageSlabReslice_h
47 #define vtkImageSlabReslice_h
48 
49 #include "vtkImagingGeneralModule.h" // For export macro
50 #include "vtkImageReslice.h"
51 
53 {
54 public:
55 
56  static vtkImageSlabReslice *New();
58 
60  virtual void PrintSelf(ostream& os, vtkIndent indent);
61 
63 
64  vtkSetMacro( BlendMode, int );
65  vtkGetMacro( BlendMode, int );
66  void SetBlendModeToMin() { this->SetBlendMode(VTK_IMAGE_SLAB_MIN ); }
67  void SetBlendModeToMax() { this->SetBlendMode(VTK_IMAGE_SLAB_MAX ); }
68  void SetBlendModeToMean() { this->SetBlendMode(VTK_IMAGE_SLAB_MEAN); }
70 
72 
75  vtkGetMacro( NumBlendSamplePoints, int );
77 
79 
81  vtkSetMacro( SlabThickness, double );
82  vtkGetMacro( SlabThickness, double );
84 
86 
88  vtkSetMacro( SlabResolution, double );
89  vtkGetMacro( SlabResolution, double );
91 
92 protected:
95 
97 
103 
104  int BlendMode; // can be MIN, MIP, MAX
108 
109 private:
110  vtkImageSlabReslice(const vtkImageSlabReslice&); // Not implemented.
111  void operator=(const vtkImageSlabReslice&); // Not implemented.
112 };
113 
114 #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)