VTK
9.4.20250126
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Filters
General
vtkExtractArray.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2
// SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3
// SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-NVIDIA-USGov
4
18
#ifndef vtkExtractArray_h
19
#define vtkExtractArray_h
20
21
#include "
vtkArrayDataAlgorithm.h
"
22
#include "vtkFiltersGeneralModule.h"
// For export macro
23
24
VTK_ABI_NAMESPACE_BEGIN
25
class
VTKFILTERSGENERAL_EXPORT
vtkExtractArray
:
public
vtkArrayDataAlgorithm
26
{
27
public
:
28
static
vtkExtractArray
*
New
();
29
vtkTypeMacro(
vtkExtractArray
,
vtkArrayDataAlgorithm
);
30
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
31
33
36
vtkGetMacro(Index,
vtkIdType
);
37
vtkSetMacro(Index,
vtkIdType
);
39
40
protected
:
41
vtkExtractArray
();
42
~vtkExtractArray
()
override
;
43
44
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
45
46
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
47
48
private
:
49
vtkExtractArray
(
const
vtkExtractArray
&) =
delete
;
50
void
operator=(
const
vtkExtractArray
&) =
delete
;
51
52
vtkIdType
Index;
53
};
54
55
VTK_ABI_NAMESPACE_END
56
#endif
vtkArrayDataAlgorithm
Superclass for algorithms that produce vtkArrayDatas as output.
Definition
vtkArrayDataAlgorithm.h:35
vtkExtractArray
Given a vtkArrayData object containing one-or-more vtkArray instances, produces a vtkArrayData contai...
Definition
vtkExtractArray.h:26
vtkExtractArray::~vtkExtractArray
~vtkExtractArray() override
vtkExtractArray::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkExtractArray::vtkExtractArray
vtkExtractArray()
vtkExtractArray::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkExtractArray::New
static vtkExtractArray * New()
vtkExtractArray::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkIndent
a simple class to control print indentation
Definition
vtkIndent.h:108
vtkInformationVector
Store zero or more vtkInformation instances.
Definition
vtkInformationVector.h:140
vtkInformation
Store vtkAlgorithm input/output information.
Definition
vtkInformation.h:172
vtkArrayDataAlgorithm.h
vtkIdType
int vtkIdType
Definition
vtkType.h:315
Generated on Sun Jan 26 2025 09:12:53 for VTK by
1.9.7