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

vtkReverseSense.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkReverseSense.h,v $
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 =========================================================================*/
00049 #ifndef __vtkReverseSense_h
00050 #define __vtkReverseSense_h
00051 
00052 #include "vtkPolyDataToPolyDataFilter.h"
00053 
00054 class VTK_GRAPHICS_EXPORT vtkReverseSense : public vtkPolyDataToPolyDataFilter
00055 {
00056 public:
00057   vtkTypeRevisionMacro(vtkReverseSense,vtkPolyDataToPolyDataFilter);
00058   void PrintSelf(ostream& os, vtkIndent indent);
00059 
00062   static vtkReverseSense *New();
00063 
00065 
00066   vtkSetMacro(ReverseCells,int);
00067   vtkGetMacro(ReverseCells,int);
00068   vtkBooleanMacro(ReverseCells,int);
00070 
00072 
00073   vtkSetMacro(ReverseNormals,int);
00074   vtkGetMacro(ReverseNormals,int);
00075   vtkBooleanMacro(ReverseNormals,int);
00077 
00078 
00079 protected:
00080   vtkReverseSense();
00081   ~vtkReverseSense() {};
00082 
00083   // Usual data generation method
00084   void Execute();
00085 
00086   int ReverseCells;
00087   int ReverseNormals;
00088 private:
00089   vtkReverseSense(const vtkReverseSense&);  // Not implemented.
00090   void operator=(const vtkReverseSense&);  // Not implemented.
00091 };
00092 
00093 #endif
00094 
00095