OSDN Git Service

FIRST REPOSITORY
[eos/hostdependOTHERS.git] / I386LINUX / util / I386LINUX / include / vtk / vtkPPolyDataNormals.h
1 /*=========================================================================
2
3   Program:   Visualization Toolkit
4   Module:    $RCSfile: vtkPPolyDataNormals.h,v $
5   Language:  C++
6   Date:      $Date: 2002/01/22 15:34:49 $
7   Version:   $Revision: 1.7 $
8
9   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
10   All rights reserved.
11   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
12
13      This software is distributed WITHOUT ANY WARRANTY; without even 
14      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
15      PURPOSE.  See the above copyright notice for more information.
16
17 =========================================================================*/
18 // .NAME vtkPPolyDataNormals - compute normals for polygonal mesh
19 // .SECTION Description
20
21 #ifndef __vtkPPolyDataNormals_h
22 #define __vtkPPolyDataNormals_h
23
24 #include "vtkPolyDataNormals.h"
25
26 class VTK_PARALLEL_EXPORT vtkPPolyDataNormals : public vtkPolyDataNormals
27 {
28 public:
29   vtkTypeRevisionMacro(vtkPPolyDataNormals,vtkPolyDataNormals);
30   void PrintSelf(ostream& os, vtkIndent indent);
31
32   // Description:
33   static vtkPPolyDataNormals *New();
34
35   // Description:
36   // To get piece invariance, this filter has to request an 
37   // extra ghost level.  By default piece invariance is on.
38   vtkSetMacro(PieceInvariant, int);
39   vtkGetMacro(PieceInvariant, int);
40   vtkBooleanMacro(PieceInvariant, int);
41
42 protected:
43   vtkPPolyDataNormals();
44   ~vtkPPolyDataNormals() {};
45
46   // Usual data generation method
47   virtual void Execute();
48   void ComputeInputUpdateExtents(vtkDataObject *output);
49
50   int PieceInvariant;
51 private:
52   vtkPPolyDataNormals(const vtkPPolyDataNormals&);  // Not implemented.
53   void operator=(const vtkPPolyDataNormals&);  // Not implemented.
54 };
55
56 #endif