VTK
9.2.6
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
=========================================================================*/
35
36
#ifndef vtkIdFilter_h
37
#define vtkIdFilter_h
38
39
#include "
vtkDataSetAlgorithm.h
"
40
#include "vtkFiltersCoreModule.h"
// For export macro
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(
PointIdsArrayName
);
89
vtkGetStringMacro(
PointIdsArrayName
);
91
93
97
vtkSetStringMacro(
CellIdsArrayName
);
98
vtkGetStringMacro(
CellIdsArrayName
);
100
protected
:
101
vtkIdFilter
();
102
~vtkIdFilter
()
override
;
103
104
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
105
106
vtkTypeBool
PointIds
;
107
vtkTypeBool
CellIds
;
108
vtkTypeBool
FieldData
;
109
char
*
PointIdsArrayName
;
110
char
*
CellIdsArrayName
;
111
112
private
:
113
vtkIdFilter
(
const
vtkIdFilter
&) =
delete
;
114
void
operator=(
const
vtkIdFilter
&) =
delete
;
115
};
116
117
#endif
vtkDataSetAlgorithm::vtkDataSetAlgorithm
vtkDataSetAlgorithm()
vtkIdFilter::PointIds
vtkTypeBool PointIds
Definition
vtkIdFilter.h:106
vtkIdFilter::New
static vtkIdFilter * New()
Construct object with PointIds and CellIds on; and ids being generated as scalars.
vtkIdFilter::CellIdsArrayName
char * CellIdsArrayName
Definition
vtkIdFilter.h:110
vtkIdFilter::PointIdsArrayName
char * PointIdsArrayName
Definition
vtkIdFilter.h:109
vtkIdFilter::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called within ProcessRequest when a request asks the algorithm to do its work.
vtkIdFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkIdFilter::FieldData
vtkTypeBool FieldData
Definition
vtkIdFilter.h:108
vtkIdFilter::vtkIdFilter
vtkIdFilter()
vtkIdFilter::~vtkIdFilter
~vtkIdFilter() override
vtkIdFilter::CellIds
vtkTypeBool CellIds
Definition
vtkIdFilter.h:107
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:40
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:42
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:74
vtkTypeBool
int vtkTypeBool
Definition
vtkABI.h:69
vtkDataSetAlgorithm.h
Generated on Thu Feb 13 2025 00:00:00 for VTK by
1.13.2