VTK  9.0.1
vtkTransferAttributes.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: Visualization Toolkit
4 Module: vtkTransferAttributes.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 =========================================================================*/
15 /*-------------------------------------------------------------------------
16  Copyright 2008 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19  -------------------------------------------------------------------------*/
38 #ifndef vtkTransferAttributes_h
39 #define vtkTransferAttributes_h
40 
41 #include "vtkInfovisCoreModule.h" // For export macro
43 #include "vtkVariant.h" //For vtkVariant method arguments
44 
45 class VTKINFOVISCORE_EXPORT vtkTransferAttributes : public vtkPassInputTypeAlgorithm
46 {
47 public:
56 
58  void PrintSelf(ostream& os, vtkIndent indent) override;
59 
61 
67  vtkSetMacro(DirectMapping, bool);
68  vtkGetMacro(DirectMapping, bool);
69  vtkBooleanMacro(DirectMapping, bool);
71 
73 
76  vtkGetStringMacro(SourceArrayName);
77  vtkSetStringMacro(SourceArrayName);
79 
81 
84  vtkGetStringMacro(TargetArrayName);
85  vtkSetStringMacro(TargetArrayName);
87 
89 
93  vtkGetMacro(SourceFieldType, int);
94  vtkSetMacro(SourceFieldType, int);
96 
98 
102  vtkGetMacro(TargetFieldType, int);
103  vtkSetMacro(TargetFieldType, int);
105 
107 
113 
118 
119 protected:
122 
128 
130 
135 
136 private:
138  void operator=(const vtkTransferAttributes&) = delete;
139 };
140 
141 #endif
a simple class to control print indentation
Definition: vtkIndent.h:34
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)
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 atomic type representing the union of many types.
Definition: vtkVariant.h:66
@ info
Definition: vtkX3D.h:382
@ value
Definition: vtkX3D.h:226
@ port
Definition: vtkX3D.h:453