VTK  9.3.1
vtkCountVertices.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
3 
17 #ifndef vtkCountVertices_h
18 #define vtkCountVertices_h
19 
20 #include "vtkFiltersGeneralModule.h" // For export macro
22 
23 VTK_ABI_NAMESPACE_BEGIN
24 class VTKFILTERSGENERAL_EXPORT vtkCountVertices : public vtkPassInputTypeAlgorithm
25 {
26 public:
27  static vtkCountVertices* New();
29  void PrintSelf(ostream& os, vtkIndent indent) override;
30 
32 
35  vtkSetStringMacro(OutputArrayName);
36  vtkGetStringMacro(OutputArrayName);
38 
39 protected:
41  ~vtkCountVertices() override;
42 
43  int RequestData(vtkInformation* request, vtkInformationVector** inInfoVec,
44  vtkInformationVector* outInfoVec) override;
45 
48 
50 
51 private:
52  vtkCountVertices(const vtkCountVertices&) = delete;
53  void operator=(const vtkCountVertices&) = delete;
54 };
55 
56 VTK_ABI_NAMESPACE_END
57 #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:28
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
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.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
static vtkPassInputTypeAlgorithm * New()