Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dox/Graphics/vtkReflectionFilter.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkReflectionFilter.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00031 #ifndef __vtkReflectionFilter_h 00032 #define __vtkReflectionFilter_h 00033 00034 #include "vtkDataSetToUnstructuredGridFilter.h" 00035 00036 #define VTK_USE_X_MIN 0 00037 #define VTK_USE_Y_MIN 1 00038 #define VTK_USE_Z_MIN 2 00039 #define VTK_USE_X_MAX 3 00040 #define VTK_USE_Y_MAX 4 00041 #define VTK_USE_Z_MAX 5 00042 00043 class VTK_GRAPHICS_EXPORT vtkReflectionFilter : public vtkDataSetToUnstructuredGridFilter 00044 { 00045 public: 00046 static vtkReflectionFilter *New(); 00047 00048 vtkTypeRevisionMacro(vtkReflectionFilter, vtkDataSetToUnstructuredGridFilter); 00049 void PrintSelf(ostream &os, vtkIndent indent); 00050 00051 vtkSetClampMacro(Plane, int, 0, 5); 00052 vtkGetMacro(Plane, int); 00053 void SetPlaneToXMin() { this->SetPlane(VTK_USE_X_MIN); }; 00054 void SetPlaneToYMin() { this->SetPlane(VTK_USE_Y_MIN); }; 00055 void SetPlaneToZMin() { this->SetPlane(VTK_USE_Z_MIN); }; 00056 void SetPlaneToXMax() { this->SetPlane(VTK_USE_X_MAX); }; 00057 void SetPlaneToYMax() { this->SetPlane(VTK_USE_Y_MAX); }; 00058 void SetPlaneToZMax() { this->SetPlane(VTK_USE_Z_MAX); }; 00059 00060 protected: 00061 vtkReflectionFilter(); 00062 ~vtkReflectionFilter(); 00063 00064 void Execute(); 00065 00066 int Plane; 00067 00068 private: 00069 vtkReflectionFilter(const vtkReflectionFilter&); // Not implemented 00070 void operator=(const vtkReflectionFilter&); // Not implemented 00071 }; 00072 00073 #endif 00074 00075