00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
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&);
00070
void operator=(
const vtkReflectionFilter&);
00071 };
00072
00073
#endif
00074
00075