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
=========================================================================*/
29
30
#ifndef vtkIdFilter_h
31
#define vtkIdFilter_h
32
33
#include "
vtkDataSetAlgorithm.h
"
34
#include "vtkFiltersCoreModule.h"
// For export macro
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(
PointIdsArrayName
);
83
vtkGetStringMacro(
PointIdsArrayName
);
85
87
91
vtkSetStringMacro(
CellIdsArrayName
);
92
vtkGetStringMacro(
CellIdsArrayName
);
94
protected
:
95
vtkIdFilter
();
96
~vtkIdFilter
()
override
;
97
98
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
99
100
vtkTypeBool
PointIds
;
101
vtkTypeBool
CellIds
;
102
vtkTypeBool
FieldData
;
103
char
*
PointIdsArrayName
;
104
char
*
CellIdsArrayName
;
105
106
private
:
107
vtkIdFilter
(
const
vtkIdFilter
&) =
delete
;
108
void
operator=(
const
vtkIdFilter
&) =
delete
;
109
};
110
111
#endif
vtkDataSetAlgorithm::vtkDataSetAlgorithm
vtkDataSetAlgorithm()
vtkIdFilter::PointIds
vtkTypeBool PointIds
Definition
vtkIdFilter.h:100
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:104
vtkIdFilter::PointIdsArrayName
char * PointIdsArrayName
Definition
vtkIdFilter.h:103
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:102
vtkIdFilter::vtkIdFilter
vtkIdFilter()
vtkIdFilter::~vtkIdFilter
~vtkIdFilter() override
vtkIdFilter::CellIds
vtkTypeBool CellIds
Definition
vtkIdFilter.h:101
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:34
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:36
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:68
vtkTypeBool
int vtkTypeBool
Definition
vtkABI.h:69
vtkDataSetAlgorithm.h
Generated on Sun Mar 2 2025 00:00:00 for VTK by
1.13.2