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
28#ifndef vtkCountFaces_h
29#define vtkCountFaces_h
30
31#include "vtkFiltersGeneralModule.h" // For export macro
33
34class VTKFILTERSGENERAL_EXPORT vtkCountFaces: public vtkPassInputTypeAlgorithm
35{
36public:
37 static vtkCountFaces* New();
39 void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE;
40
42
45 vtkSetStringMacro(OutputArrayName)
46 vtkGetStringMacro(OutputArrayName)
48
49protected:
51 ~vtkCountFaces() VTK_OVERRIDE;
52
53 int RequestData(vtkInformation* request, vtkInformationVector **inInfoVec,
54 vtkInformationVector *outInfoVec) VTK_OVERRIDE;
55
56 int FillOutputPortInformation(int port, vtkInformation* info) VTK_OVERRIDE;
57 int FillInputPortInformation(int port, vtkInformation* info) VTK_OVERRIDE;
58
59 char *OutputArrayName;
60
61private:
62 vtkCountFaces(const vtkCountFaces&) VTK_DELETE_FUNCTION;
63 void operator=(const vtkCountFaces&) VTK_DELETE_FUNCTION;
64};
65
66#endif // vtkCountFaces_h
Add a cell data array containing the number of faces per cell.
Definition: vtkCountFaces.h:35
static vtkCountFaces * New()
a simple class to control print indentation
Definition: vtkIndent.h:40
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce output of the same type as input.
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.