VTK  9.3.20240329
vtkTransferAttributes.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-USGov
22 #ifndef vtkTransferAttributes_h
23 #define vtkTransferAttributes_h
24 
25 #include "vtkInfovisCoreModule.h" // For export macro
27 #include "vtkVariant.h" //For vtkVariant method arguments
28 
29 VTK_ABI_NAMESPACE_BEGIN
30 class VTKINFOVISCORE_EXPORT vtkTransferAttributes : public vtkPassInputTypeAlgorithm
31 {
32 public:
41 
43  void PrintSelf(ostream& os, vtkIndent indent) override;
44 
46 
52  vtkSetMacro(DirectMapping, bool);
53  vtkGetMacro(DirectMapping, bool);
54  vtkBooleanMacro(DirectMapping, bool);
56 
58 
61  vtkGetStringMacro(SourceArrayName);
62  vtkSetStringMacro(SourceArrayName);
64 
66 
69  vtkGetStringMacro(TargetArrayName);
70  vtkSetStringMacro(TargetArrayName);
72 
74 
78  vtkGetMacro(SourceFieldType, int);
79  vtkSetMacro(SourceFieldType, int);
81 
83 
87  vtkGetMacro(TargetFieldType, int);
88  vtkSetMacro(TargetFieldType, int);
90 
92 
98 
103 
104 protected:
107 
113 
115 
120 
121 private:
123  void operator=(const vtkTransferAttributes&) = delete;
124 };
125 
126 VTK_ABI_NAMESPACE_END
127 #endif
a simple class to control print indentation
Definition: vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce output of the same type as input.
transfer data from a graph representation to a tree representation using direct mapping or pedigree i...
vtkVariant GetDefaultValue()
Method to get/set the default value.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkTransferAttributes * New()
Create a vtkTransferAttributes object.
~vtkTransferAttributes() override
void SetDefaultValue(vtkVariant value)
Method to get/set the default value.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Convert the vtkGraph into vtkPolyData.
int FillInputPortInformation(int port, vtkInformation *info) override
Set the input type of the algorithm to vtkGraph.
A type representing the union of many types.
Definition: vtkVariant.h:162
@ info
Definition: vtkX3D.h:376
@ value
Definition: vtkX3D.h:220
@ port
Definition: vtkX3D.h:447