VTK
dox
Filters
Core
vtkIdFilter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkIdFilter.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
=========================================================================*/
36
#ifndef vtkIdFilter_h
37
#define vtkIdFilter_h
38
39
#include "vtkFiltersCoreModule.h"
// For export macro
40
#include "
vtkDataSetAlgorithm.h
"
41
42
class
VTKFILTERSCORE_EXPORT
vtkIdFilter
:
public
vtkDataSetAlgorithm
43
{
44
public
:
45
vtkTypeMacro(
vtkIdFilter
,
vtkDataSetAlgorithm
);
46
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
47
52
static
vtkIdFilter
*
New
();
53
55
58
vtkSetMacro(PointIds,
vtkTypeBool
);
59
vtkGetMacro(PointIds,
vtkTypeBool
);
60
vtkBooleanMacro(PointIds,
vtkTypeBool
);
62
64
67
vtkSetMacro(CellIds,
vtkTypeBool
);
68
vtkGetMacro(CellIds,
vtkTypeBool
);
69
vtkBooleanMacro(CellIds,
vtkTypeBool
);
71
73
78
vtkSetMacro(FieldData,
vtkTypeBool
);
79
vtkGetMacro(FieldData,
vtkTypeBool
);
80
vtkBooleanMacro(FieldData,
vtkTypeBool
);
82
84
88
vtkSetStringMacro(IdsArrayName);
89
vtkGetStringMacro(IdsArrayName);
91
92
protected
:
93
vtkIdFilter
();
94
~
vtkIdFilter
()
override
;
95
96
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
97
98
vtkTypeBool
PointIds
;
99
vtkTypeBool
CellIds
;
100
vtkTypeBool
FieldData
;
101
char
*
IdsArrayName
;
102
103
private
:
104
vtkIdFilter
(
const
vtkIdFilter
&) =
delete
;
105
void
operator=(
const
vtkIdFilter
&) =
delete
;
106
};
107
108
#endif
109
110
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:41
vtkDataSetAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called within ProcessRequest when a request asks the algorithm to do its work.
Definition:
vtkDataSetAlgorithm.h:180
vtkIdFilter::PointIds
vtkTypeBool PointIds
Definition:
vtkIdFilter.h:98
vtkDataSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition:
vtkDataSetAlgorithm.h:48
vtkIdFilter::IdsArrayName
char * IdsArrayName
Definition:
vtkIdFilter.h:101
vtkIdFilter
generate scalars or field data from point and cell ids
Definition:
vtkIdFilter.h:42
vtkIdFilter::CellIds
vtkTypeBool CellIds
Definition:
vtkIdFilter.h:99
vtkIdFilter::FieldData
vtkTypeBool FieldData
Definition:
vtkIdFilter.h:100
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkDataSetAlgorithm::New
static vtkDataSetAlgorithm * New()
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:86
vtkDataSetAlgorithm.h
vtkDataSetAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTypeBool
int vtkTypeBool
Definition:
vtkABI.h:69
Generated by
1.8.16