VTK
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  -------------------------------------------------------------------------*/
37 #ifndef vtkTransferAttributes_h
38 #define vtkTransferAttributes_h
39 
40 #include "vtkInfovisCoreModule.h" // For export macro
42 #include "vtkVariant.h" //For vtkVariant method arguments
43 
45 {
46 public:
52  static vtkTransferAttributes *New();
53 
55  void PrintSelf(ostream& os, vtkIndent indent);
56 
58 
61  vtkSetMacro(DirectMapping, bool);
62  vtkGetMacro(DirectMapping, bool);
63  vtkBooleanMacro(DirectMapping, bool);
65 
67 
68  vtkGetStringMacro(SourceArrayName);
69  vtkSetStringMacro(SourceArrayName);
71 
73 
74  vtkGetStringMacro(TargetArrayName);
75  vtkSetStringMacro(TargetArrayName);
77 
79 
81  vtkGetMacro(SourceFieldType, int);
82  vtkSetMacro(SourceFieldType, int);
84 
86 
88  vtkGetMacro(TargetFieldType, int);
89  vtkSetMacro(TargetFieldType, int);
91 
93 
94  vtkVariant GetDefaultValue();
95  void SetDefaultValue(vtkVariant value);
97 
100 
101 protected:
104 
110 
112 
114 
116 private:
117  vtkTransferAttributes(const vtkTransferAttributes&); // Not implemented.
118  void operator=(const vtkTransferAttributes&); // Not implemented.
119 };
121 
122 #endif
Superclass for algorithms that produce output of the same type as input.
Store vtkAlgorithm input/output information.
A atomic type representing the union of many types.
Definition: vtkVariant.h:78
virtual int FillInputPortInformation(int port, vtkInformation *info)
a simple class to control print indentation
Definition: vtkIndent.h:38
transfer data from a graph representation to a tree representation using direct mapping or pedigree i...
#define VTKINFOVISCORE_EXPORT
void PrintSelf(ostream &os, vtkIndent indent)
Store zero or more vtkInformation instances.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkPassInputTypeAlgorithm * New()