VTK  9.1.0
vtkImageDecomposeFilter.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkImageDecomposeFilter.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=========================================================================*/
26#ifndef vtkImageDecomposeFilter_h
27#define vtkImageDecomposeFilter_h
28
30#include "vtkImagingCoreModule.h" // For export macro
31
32class VTKIMAGINGCORE_EXPORT vtkImageDecomposeFilter : public vtkImageIterateFilter
33{
34public:
36
41 void PrintSelf(ostream& os, vtkIndent indent) override;
43
45
49 void SetDimensionality(int dim);
50 vtkGetMacro(Dimensionality, int);
52
54
57 void PermuteIncrements(vtkIdType* increments, vtkIdType& inc0, vtkIdType& inc1, vtkIdType& inc2);
58 void PermuteExtent(int* extent, int& min0, int& max0, int& min1, int& max1, int& min2, int& max2);
60
61protected:
63 ~vtkImageDecomposeFilter() override = default;
64
66
67private:
69 void operator=(const vtkImageDecomposeFilter&) = delete;
70};
71
72#endif
Filters that execute axes in series.
void PermuteIncrements(vtkIdType *increments, vtkIdType &inc0, vtkIdType &inc1, vtkIdType &inc2)
Private methods kept public for template execute functions.
~vtkImageDecomposeFilter() override=default
void SetDimensionality(int dim)
Dimensionality is the number of axes which are considered during execution.
void PermuteExtent(int *extent, int &min0, int &max0, int &min1, int &max1, int &min2, int &max2)
Private methods kept public for template execute functions.
void PrintSelf(ostream &os, vtkIndent indent) override
Construct an instance of vtkImageDecomposeFilter filter with default dimensionality 3.
Multiple executes per update.
a simple class to control print indentation
Definition: vtkIndent.h:113
int vtkIdType
Definition: vtkType.h:332