src
paraview-5.12
VTKExtensions
FiltersGeneral
vtkPVExtractComponent.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-License-Identifier: BSD-3-Clause
10
#ifndef vtkPVExtractComponent_h
11
#define vtkPVExtractComponent_h
12
13
#include "
vtkDataSetAlgorithm.h
"
14
#include "vtkPVVTKExtensionsFiltersGeneralModule.h"
//needed for exports
15
16
class
vtkDataSet
;
17
18
class
VTKPVVTKEXTENSIONSFILTERSGENERAL_EXPORT
vtkPVExtractComponent
:
public
vtkDataSetAlgorithm
19
{
20
public
:
21
static
vtkPVExtractComponent
*
New
();
22
vtkTypeMacro(
vtkPVExtractComponent
,
vtkDataSetAlgorithm
);
23
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
24
25
vtkSetMacro(InputArrayComponent,
int
);
26
vtkGetMacro(InputArrayComponent,
int
);
27
28
vtkSetStringMacro(OutputArrayName);
29
vtkGetStringMacro(OutputArrayName);
30
31
protected
:
32
vtkPVExtractComponent
();
33
~
vtkPVExtractComponent
()
override
;
34
35
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
36
37
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
38
39
int
InputArrayComponent
;
40
char
*
OutputArrayName
;
41
42
private
:
43
vtkPVExtractComponent
(
const
vtkPVExtractComponent
&) =
delete
;
44
void
operator=
(
const
vtkPVExtractComponent
&) =
delete
;
45
};
46
47
#endif
vtkPVExtractComponent::InputArrayComponent
int InputArrayComponent
Definition:
vtkPVExtractComponent.h:39
vtkObjectBase::operator=
void operator=(const vtkObjectBase &)
vtkInformationVector
vtkDataSetAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
vtkDataSetAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkPVExtractComponent
Extract a component of an attribute.
Definition:
vtkPVExtractComponent.h:18
vtkDataSetAlgorithm
vtkIndent
vtkDataSetAlgorithm::New
static vtkDataSetAlgorithm * New()
vtkPVExtractComponent::OutputArrayName
char * OutputArrayName
Definition:
vtkPVExtractComponent.h:40
vtkDataSet
vtkInformation
vtkDataSetAlgorithm.h
vtkDataSetAlgorithm::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
Generated by
1.8.17 on Wed Mar 27 2024