00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkPPolyDataNormals.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 =========================================================================*/ 00020 #ifndef __vtkPPolyDataNormals_h 00021 #define __vtkPPolyDataNormals_h 00022 00023 #include "vtkPolyDataNormals.h" 00024 00025 class VTK_PARALLEL_EXPORT vtkPPolyDataNormals : public vtkPolyDataNormals 00026 { 00027 public: 00028 vtkTypeRevisionMacro(vtkPPolyDataNormals,vtkPolyDataNormals); 00029 void PrintSelf(ostream& os, vtkIndent indent); 00030 00031 static vtkPPolyDataNormals *New(); 00032 00034 00036 vtkSetMacro(PieceInvariant, int); 00037 vtkGetMacro(PieceInvariant, int); 00038 vtkBooleanMacro(PieceInvariant, int); 00040 00041 protected: 00042 vtkPPolyDataNormals(); 00043 ~vtkPPolyDataNormals() {}; 00044 00045 // Usual data generation method 00046 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00047 virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *); 00048 00049 int PieceInvariant; 00050 private: 00051 vtkPPolyDataNormals(const vtkPPolyDataNormals&); // Not implemented. 00052 void operator=(const vtkPPolyDataNormals&); // Not implemented. 00053 }; 00054 00055 #endif