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 
41 #include "vtkVariant.h" //For vtkVariant method arguments
42 
44 {
45 public:
51  static vtkTransferAttributes *New();
52 
54  void PrintSelf(ostream& os, vtkIndent indent);
55 
57 
60  vtkSetMacro(DirectMapping, bool);
61  vtkGetMacro(DirectMapping, bool);
62  vtkBooleanMacro(DirectMapping, bool);
64 
66 
67  vtkGetStringMacro(SourceArrayName);
68  vtkSetStringMacro(SourceArrayName);
70 
72 
73  vtkGetStringMacro(TargetArrayName);
74  vtkSetStringMacro(TargetArrayName);
76 
78 
80  vtkGetMacro(SourceFieldType, int);
81  vtkSetMacro(SourceFieldType, int);
83 
85 
87  vtkGetMacro(TargetFieldType, int);
88  vtkSetMacro(TargetFieldType, int);
90 
92 
93  vtkVariant GetDefaultValue();
94  void SetDefaultValue(vtkVariant value);
96 
99 
100 protected:
103 
109 
111 
113 
115 private:
116  vtkTransferAttributes(const vtkTransferAttributes&); // Not implemented.
117  void operator=(const vtkTransferAttributes&); // Not implemented.
118 };
120 
121 #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:72
virtual int FillInputPortInformation(int port, vtkInformation *info)
a simple class to control print indentation
Definition: vtkIndent.h:37
transfer data from a graph representation to a tree representation using direct mapping or pedigree i...
void PrintSelf(ostream &os, vtkIndent indent)
#define VTK_INFOVIS_EXPORT
Store zero or more vtkInformation instances.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
static vtkPassInputTypeAlgorithm * New()