VTK  9.3.20240424
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
22#include "vtkFiltersGeneralModule.h" // For export macro
23
24VTK_ABI_NAMESPACE_BEGIN
25class VTKFILTERSGENERAL_EXPORT vtkExtractArray : public vtkArrayDataAlgorithm
26{
27public:
30 void PrintSelf(ostream& os, vtkIndent indent) override;
31
33
36 vtkGetMacro(Index, vtkIdType);
37 vtkSetMacro(Index, vtkIdType);
39
40protected:
42 ~vtkExtractArray() override;
43
44 int FillInputPortInformation(int port, vtkInformation* info) override;
45
47
48private:
49 vtkExtractArray(const vtkExtractArray&) = delete;
50 void operator=(const vtkExtractArray&) = delete;
51
52 vtkIdType Index;
53};
54
55VTK_ABI_NAMESPACE_END
56#endif
Superclass for algorithms that produce vtkArrayDatas as output.
Given a vtkArrayData object containing one-or-more vtkArray instances, produces a vtkArrayData contai...
~vtkExtractArray() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
static vtkExtractArray * New()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
int vtkIdType
Definition vtkType.h:315