VTK
vtkCountVertices.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkCountVertices.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 
26 #ifndef vtkCountVertices_h
27 #define vtkCountVertices_h
28 
29 #include "vtkFiltersGeneralModule.h" // For export macro
31 
32 class VTKFILTERSGENERAL_EXPORT vtkCountVertices: public vtkPassInputTypeAlgorithm
33 {
34 public:
35  static vtkCountVertices* New();
37  void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE;
38 
40 
43  vtkSetStringMacro(OutputArrayName)
44  vtkGetStringMacro(OutputArrayName)
46 
47 protected:
49  ~vtkCountVertices() VTK_OVERRIDE;
50 
51  int RequestData(vtkInformation* request, vtkInformationVector **inInfoVec,
52  vtkInformationVector *outInfoVec) VTK_OVERRIDE;
53 
54  int FillOutputPortInformation(int port, vtkInformation* info) VTK_OVERRIDE;
55  int FillInputPortInformation(int port, vtkInformation* info) VTK_OVERRIDE;
56 
57  char *OutputArrayName;
58 
59 private:
60  vtkCountVertices(const vtkCountVertices&) VTK_DELETE_FUNCTION;
61  void operator=(const vtkCountVertices&) VTK_DELETE_FUNCTION;
62 };
63 
64 #endif // vtkCountVertices_h
Superclass for algorithms that produce output of the same type as input.
Store vtkAlgorithm input/output information.
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Add a cell data array containing the number of vertices per cell.
Store zero or more vtkInformation instances.
static vtkPassInputTypeAlgorithm * New()