VTK
dox/Filters/Parallel/vtkPPolyDataNormals.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkPPolyDataNormals.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 =========================================================================*/
00020 #ifndef __vtkPPolyDataNormals_h
00021 #define __vtkPPolyDataNormals_h
00022 
00023 #include "vtkFiltersParallelModule.h" // For export macro
00024 #include "vtkPolyDataNormals.h"
00025 
00026 class VTKFILTERSPARALLEL_EXPORT vtkPPolyDataNormals : public vtkPolyDataNormals
00027 {
00028 public:
00029   vtkTypeMacro(vtkPPolyDataNormals,vtkPolyDataNormals);
00030   void PrintSelf(ostream& os, vtkIndent indent);
00031 
00032   static vtkPPolyDataNormals *New();
00033 
00035 
00037   vtkSetMacro(PieceInvariant, int);
00038   vtkGetMacro(PieceInvariant, int);
00039   vtkBooleanMacro(PieceInvariant, int);
00041 
00042 protected:
00043   vtkPPolyDataNormals();
00044   ~vtkPPolyDataNormals() {};
00045 
00046   // Usual data generation method
00047   virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00048   virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
00049 
00050   int PieceInvariant;
00051 private:
00052   vtkPPolyDataNormals(const vtkPPolyDataNormals&);  // Not implemented.
00053   void operator=(const vtkPPolyDataNormals&);  // Not implemented.
00054 };
00055 
00056 #endif