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
=========================================================================*/
30
#ifndef vtkIdFilter_h
31
#define vtkIdFilter_h
32
33
#include "vtkFiltersCoreModule.h"
// For export macro
34
#include "
vtkDataSetAlgorithm.h
"
35
36
class
VTKFILTERSCORE_EXPORT
vtkIdFilter
:
public
vtkDataSetAlgorithm
37
{
38
public
:
39
vtkTypeMacro(
vtkIdFilter
,
vtkDataSetAlgorithm
);
40
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
41
46
static
vtkIdFilter
*
New
();
47
49
52
vtkSetMacro(PointIds,
vtkTypeBool
);
53
vtkGetMacro(PointIds,
vtkTypeBool
);
54
vtkBooleanMacro(PointIds,
vtkTypeBool
);
56
58
61
vtkSetMacro(CellIds,
vtkTypeBool
);
62
vtkGetMacro(CellIds,
vtkTypeBool
);
63
vtkBooleanMacro(CellIds,
vtkTypeBool
);
65
67
72
vtkSetMacro(FieldData,
vtkTypeBool
);
73
vtkGetMacro(FieldData,
vtkTypeBool
);
74
vtkBooleanMacro(FieldData,
vtkTypeBool
);
76
78
82
vtkSetStringMacro(IdsArrayName);
83
vtkGetStringMacro(IdsArrayName);
85
86
protected
:
87
vtkIdFilter
();
88
~
vtkIdFilter
()
override
;
89
90
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
91
92
vtkTypeBool
PointIds
;
93
vtkTypeBool
CellIds
;
94
vtkTypeBool
FieldData
;
95
char
*
IdsArrayName
;
96
97
private
:
98
vtkIdFilter
(
const
vtkIdFilter
&) =
delete
;
99
void
operator=(
const
vtkIdFilter
&) =
delete
;
100
};
101
102
#endif
103
104
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:35
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:92
vtkDataSetAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition:
vtkDataSetAlgorithm.h:48
vtkIdFilter::IdsArrayName
char * IdsArrayName
Definition:
vtkIdFilter.h:95
vtkIdFilter
generate scalars or field data from point and cell ids
Definition:
vtkIdFilter.h:36
vtkIdFilter::CellIds
vtkTypeBool CellIds
Definition:
vtkIdFilter.h:93
vtkIdFilter::FieldData
vtkTypeBool FieldData
Definition:
vtkIdFilter.h:94
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkDataSetAlgorithm::New
static vtkDataSetAlgorithm * New()
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:80
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