VTK  9.0.20210301
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) override;
37 
39 
42  vtkSetStringMacro(OutputArrayName);
43  vtkGetStringMacro(OutputArrayName);
45 
46 protected:
48  ~vtkCountFaces() override;
49 
50  int RequestData(vtkInformation* request, vtkInformationVector** inInfoVec,
51  vtkInformationVector* outInfoVec) override;
52 
55 
57 
58 private:
59  vtkCountFaces(const vtkCountFaces&) = delete;
60  void operator=(const vtkCountFaces&) = delete;
61 };
62 
63 #endif // vtkCountFaces_h
vtkPassInputTypeAlgorithm.h
vtkCountFaces::RequestData
int RequestData(vtkInformation *request, vtkInformationVector **inInfoVec, vtkInformationVector *outInfoVec) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:36
vtkCountFaces::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkCountFaces::~vtkCountFaces
~vtkCountFaces() override
vtkCountFaces::New
static vtkCountFaces * New()
vtkX3D::port
@ port
Definition: vtkX3D.h:453
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:34
vtkCountFaces::FillOutputPortInformation
int FillOutputPortInformation(int port, vtkInformation *info) override
Fill the output port information objects for this algorithm.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:74
vtkX3D::info
@ info
Definition: vtkX3D.h:382
vtkCountFaces
Add a cell data array containing the number of faces per cell.
Definition: vtkCountFaces.h:32
vtkCountFaces::OutputArrayName
char * OutputArrayName
Definition: vtkCountFaces.h:56
vtkPassInputTypeAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkPassInputTypeAlgorithm.h:52
vtkCountFaces::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkCountFaces::vtkCountFaces
vtkCountFaces()