VTK
vtkCountFaces.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkCountFaces.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 
25 #ifndef vtkCountFaces_h
26 #define vtkCountFaces_h
27 
28 #include "vtkFiltersGeneralModule.h" // For export macro
30 
31 class VTKFILTERSGENERAL_EXPORT vtkCountFaces: public vtkPassInputTypeAlgorithm
32 {
33 public:
34  static vtkCountFaces* New();
36  void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE;
37 
39 
42  vtkSetStringMacro(OutputArrayName)
43  vtkGetStringMacro(OutputArrayName)
45 
46 protected:
47  vtkCountFaces();
48  ~vtkCountFaces() VTK_OVERRIDE;
49 
50  int RequestData(vtkInformation* request, vtkInformationVector **inInfoVec,
51  vtkInformationVector *outInfoVec) VTK_OVERRIDE;
52 
53  int FillOutputPortInformation(int port, vtkInformation* info) VTK_OVERRIDE;
54  int FillInputPortInformation(int port, vtkInformation* info) VTK_OVERRIDE;
55 
56  char *OutputArrayName;
57 
58 private:
59  vtkCountFaces(const vtkCountFaces&) VTK_DELETE_FUNCTION;
60  void operator=(const vtkCountFaces&) VTK_DELETE_FUNCTION;
61 };
62 
63 #endif // vtkCountFaces_h
Superclass for algorithms that produce output of the same type as input.
Store vtkAlgorithm input/output information.
Add a cell data array containing the number of faces per cell.
Definition: vtkCountFaces.h:31
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
Store zero or more vtkInformation instances.
static vtkPassInputTypeAlgorithm * New()