VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkImageDecomposeFilter.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00025 #ifndef __vtkImageDecomposeFilter_h 00026 #define __vtkImageDecomposeFilter_h 00027 00028 00029 #include "vtkImagingCoreModule.h" // For export macro 00030 #include "vtkImageIterateFilter.h" 00031 00032 class VTKIMAGINGCORE_EXPORT vtkImageDecomposeFilter : public vtkImageIterateFilter 00033 { 00034 public: 00036 00038 vtkTypeMacro(vtkImageDecomposeFilter,vtkImageIterateFilter); 00039 void PrintSelf(ostream& os, vtkIndent indent); 00041 00043 00045 void SetDimensionality(int dim); 00046 vtkGetMacro(Dimensionality,int); 00048 00050 00051 void PermuteIncrements(vtkIdType *increments, vtkIdType &inc0, 00052 vtkIdType &inc1, vtkIdType &inc2); 00053 void PermuteExtent(int *extent, int &min0, int &max0, int &min1, int &max1, 00054 int &min2, int &max2); 00056 00057 protected: 00058 vtkImageDecomposeFilter(); 00059 ~vtkImageDecomposeFilter() {}; 00060 00061 int Dimensionality; 00062 00063 00064 private: 00065 vtkImageDecomposeFilter(const vtkImageDecomposeFilter&); // Not implemented. 00066 void operator=(const vtkImageDecomposeFilter&); // Not implemented. 00067 }; 00068 00069 #endif 00070 00071 00072 00073 00074 00075 00076 00077 00078 00079