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

# Graphics/vtkReverseSense.h

Go to the documentation of this file.

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