VTK  9.1.0
vtkTransferAttributes.h
Go to the documentation of this file.
1/*=========================================================================
2
3Program: Visualization Toolkit
4Module: vtkTransferAttributes.h
5
6Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7All rights reserved.
8See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10This software is distributed WITHOUT ANY WARRANTY; without even
11the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12PURPOSE. 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
45class VTKINFOVISCORE_EXPORT vtkTransferAttributes : public vtkPassInputTypeAlgorithm
46{
47public:
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
119protected:
122
128
130
135
136private:
138 void operator=(const vtkTransferAttributes&) = delete;
139};
140
141#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
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.
~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.
static vtkTransferAttributes * New()
Create a vtkTransferAttributes object.
A atomic type representing the union of many types.
Definition: vtkVariant.h:145
@ info
Definition: vtkX3D.h:382
@ value
Definition: vtkX3D.h:226
@ port
Definition: vtkX3D.h:453