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  -------------------------------------------------------------------------*/
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);
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:
137  vtkTransferAttributes(const vtkTransferAttributes&) VTK_DELETE_FUNCTION;
138  void operator=(const vtkTransferAttributes&) VTK_DELETE_FUNCTION;
139 };
140 
141 #endif
vtkTransferAttributes::SetDefaultValue
void SetDefaultValue(vtkVariant value)
vtkVariant.h
vtkPassInputTypeAlgorithm.h
vtkTransferAttributes::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Convert the vtkGraph into vtkPolyData.
vtkX3D::value
@ value
Definition: vtkX3D.h:220
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:42
vtkTransferAttributes::GetDefaultValue
vtkVariant GetDefaultValue()
Method to get/set the default value.
vtkTransferAttributes::SourceArrayName
char * SourceArrayName
Definition: vtkTransferAttributes.h:124
vtkTransferAttributes::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkTransferAttributes::TargetArrayName
char * TargetArrayName
Definition: vtkTransferAttributes.h:125
vtkTransferAttributes::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info)
Set the input type of the algorithm to vtkGraph.
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkTransferAttributes::TargetFieldType
int TargetFieldType
Definition: vtkTransferAttributes.h:127
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkVariant
A atomic type representing the union of many types.
Definition: vtkVariant.h:76
vtkGetStringMacro
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
vtkTransferAttributes
transfer data from a graph representation to a tree representation using direct mapping or pedigree i...
Definition: vtkTransferAttributes.h:46
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:87
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkTransferAttributes::DirectMapping
bool DirectMapping
Definition: vtkTransferAttributes.h:123
vtkTransferAttributes::~vtkTransferAttributes
~vtkTransferAttributes()
vtkTransferAttributes::vtkTransferAttributes
vtkTransferAttributes()
vtkTransferAttributes::SourceFieldType
int SourceFieldType
Definition: vtkTransferAttributes.h:126
vtkTransferAttributes::DefaultValue
vtkVariant DefaultValue
Definition: vtkTransferAttributes.h:129
vtkTransferAttributes::New
static vtkTransferAttributes * New()
Create a vtkTransferAttributes object.
vtkPassInputTypeAlgorithm
Superclass for algorithms that produce output of the same type as input.
Definition: vtkPassInputTypeAlgorithm.h:51