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=========================================================================*/
47#ifndef vtkImageSlabReslice_h
48#define vtkImageSlabReslice_h
49
50#include "vtkImagingGeneralModule.h" // For export macro
51#include "vtkImageReslice.h"
52
53class VTKIMAGINGGENERAL_EXPORT vtkImageSlabReslice : public vtkImageReslice
54{
55public:
56
59
63 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
64
66
69 vtkSetMacro( BlendMode, int );
70 vtkGetMacro( BlendMode, int );
71 void SetBlendModeToMin() { this->SetBlendMode(VTK_IMAGE_SLAB_MIN ); }
72 void SetBlendModeToMax() { this->SetBlendMode(VTK_IMAGE_SLAB_MAX ); }
73 void SetBlendModeToMean() { this->SetBlendMode(VTK_IMAGE_SLAB_MEAN); }
75
77
82 vtkGetMacro( NumBlendSamplePoints, int );
84
86
90 vtkSetMacro( SlabThickness, double );
91 vtkGetMacro( SlabThickness, double );
93
95
99 vtkSetMacro( SlabResolution, double );
100 vtkGetMacro( SlabResolution, double );
102
103protected:
106
114
115 int BlendMode; // can be MIN, MIP, MAX
119
120private:
121 vtkImageSlabReslice(const vtkImageSlabReslice&) VTK_DELETE_FUNCTION;
122 void operator=(const vtkImageSlabReslice&) VTK_DELETE_FUNCTION;
123};
124
125#endif
Reslices a volume along a new set of axes.
Thick slab reformat through data.
void PrintSelf(ostream &os, vtkIndent indent) override
Printself method.
static vtkImageSlabReslice * New()
virtual int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This method simply calls the superclass method.
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
#define VTK_IMAGE_SLAB_MAX
#define VTK_IMAGE_SLAB_MIN
#define VTK_IMAGE_SLAB_MEAN