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