VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkReverseSense.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 =========================================================================*/ 00036 #ifndef __vtkReverseSense_h 00037 #define __vtkReverseSense_h 00038 00039 #include "vtkFiltersCoreModule.h" // For export macro 00040 #include "vtkPolyDataAlgorithm.h" 00041 00042 class VTKFILTERSCORE_EXPORT vtkReverseSense : public vtkPolyDataAlgorithm 00043 { 00044 public: 00045 vtkTypeMacro(vtkReverseSense,vtkPolyDataAlgorithm); 00046 void PrintSelf(ostream& os, vtkIndent indent); 00047 00050 static vtkReverseSense *New(); 00051 00053 00054 vtkSetMacro(ReverseCells,int); 00055 vtkGetMacro(ReverseCells,int); 00056 vtkBooleanMacro(ReverseCells,int); 00058 00060 00061 vtkSetMacro(ReverseNormals,int); 00062 vtkGetMacro(ReverseNormals,int); 00063 vtkBooleanMacro(ReverseNormals,int); 00065 00066 00067 protected: 00068 vtkReverseSense(); 00069 ~vtkReverseSense() {}; 00070 00071 // Usual data generation method 00072 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00073 00074 int ReverseCells; 00075 int ReverseNormals; 00076 private: 00077 vtkReverseSense(const vtkReverseSense&); // Not implemented. 00078 void operator=(const vtkReverseSense&); // Not implemented. 00079 }; 00080 00081 #endif