00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkPPolyDataNormals.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 =========================================================================*/ 00035 #ifndef __vtkPPolyDataNormals_h 00036 #define __vtkPPolyDataNormals_h 00037 00038 #include "vtkPolyDataNormals.h" 00039 00040 class VTK_PARALLEL_EXPORT vtkPPolyDataNormals : public vtkPolyDataNormals 00041 { 00042 public: 00043 vtkTypeRevisionMacro(vtkPPolyDataNormals,vtkPolyDataNormals); 00044 void PrintSelf(ostream& os, vtkIndent indent); 00045 00046 static vtkPPolyDataNormals *New(); 00047 00049 00051 vtkSetMacro(PieceInvariant, int); 00052 vtkGetMacro(PieceInvariant, int); 00053 vtkBooleanMacro(PieceInvariant, int); 00055 00056 protected: 00057 vtkPPolyDataNormals(); 00058 ~vtkPPolyDataNormals() {}; 00059 00060 // Usual data generation method 00061 virtual void Execute(); 00062 void ComputeInputUpdateExtents(vtkDataObject *output); 00063 00064 int PieceInvariant; 00065 private: 00066 vtkPPolyDataNormals(const vtkPPolyDataNormals&); // Not implemented. 00067 void operator=(const vtkPPolyDataNormals&); // Not implemented. 00068 }; 00069 00070 #endif