VTK  9.3.20240424
vtkImageSlabReslice.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
35#ifndef vtkImageSlabReslice_h
36#define vtkImageSlabReslice_h
37
38#include "vtkImageReslice.h"
39#include "vtkImagingGeneralModule.h" // For export macro
40
41VTK_ABI_NAMESPACE_BEGIN
42class VTKIMAGINGGENERAL_EXPORT vtkImageSlabReslice : public vtkImageReslice
43{
44public:
47
51 void PrintSelf(ostream& os, vtkIndent indent) override;
52
54
57 vtkSetMacro(BlendMode, int);
58 vtkGetMacro(BlendMode, int);
59 void SetBlendModeToMin() { this->SetBlendMode(VTK_IMAGE_SLAB_MIN); }
60 void SetBlendModeToMax() { this->SetBlendMode(VTK_IMAGE_SLAB_MAX); }
61 void SetBlendModeToMean() { this->SetBlendMode(VTK_IMAGE_SLAB_MEAN); }
63
65
70 vtkGetMacro(NumBlendSamplePoints, int);
72
74
78 vtkSetMacro(SlabThickness, double);
79 vtkGetMacro(SlabThickness, double);
81
83
87 vtkSetMacro(SlabResolution, double);
88 vtkGetMacro(SlabResolution, double);
90
91protected:
94
101
102 int BlendMode; // can be MIN, MIP, MAX
106
107private:
109 void operator=(const vtkImageSlabReslice&) = delete;
110};
111
112VTK_ABI_NAMESPACE_END
113#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()
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This method simply calls the superclass method.
~vtkImageSlabReslice() override
void SetBlendModeToMin()
Set/Get the blend mode.
void SetBlendModeToMean()
Set/Get the blend mode.
void SetBlendModeToMax()
Set/Get the blend mode.
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
#define VTK_IMAGE_SLAB_MAX
#define VTK_IMAGE_SLAB_MIN
#define VTK_IMAGE_SLAB_MEAN