#include <vtkTransferAttributes.h>
The filter requires both a vtkGraph and vtkTree as input. The tree vertices must be a superset of the graph vertices. A common example is when the graph vertices correspond to the leaves of the tree, but the internal vertices of the tree represent groupings of graph vertices. The algorithm matches the vertices using the array "PedigreeId". The user may alternately set the DirectMapping flag to indicate that the two structures must have directly corresponding offsets (i.e. node i in the graph must correspond to node i in the tree).
Definition at line 43 of file vtkTransferAttributes.h.
Reimplemented from vtkPassInputTypeAlgorithm.
Definition at line 53 of file vtkTransferAttributes.h.
vtkTransferAttributes::vtkTransferAttributes | ( | ) | [protected] |
vtkTransferAttributes::~vtkTransferAttributes | ( | ) | [protected] |
static vtkTransferAttributes* vtkTransferAttributes::New | ( | ) | [static] |
Create a vtkTransferAttributes object. Initial values are DirectMapping = false, DefaultValue = 1, SourceArrayName=0, TargetArrayName = 0, SourceFieldType=vtkDataObjectFIELD_ASSOCIATION_POINTS, TargetFieldType=vtkDataObjectFIELD_ASSOCIATION_POINTS
Reimplemented from vtkPassInputTypeAlgorithm.
virtual const char* vtkTransferAttributes::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkPassInputTypeAlgorithm.
static int vtkTransferAttributes::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkPassInputTypeAlgorithm.
virtual int vtkTransferAttributes::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkPassInputTypeAlgorithm.
static vtkTransferAttributes* vtkTransferAttributes::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkPassInputTypeAlgorithm.
void vtkTransferAttributes::PrintSelf | ( | ostream & | os, | |
vtkIndent | indent | |||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkPassInputTypeAlgorithm.
virtual void vtkTransferAttributes::SetDirectMapping | ( | bool | ) | [virtual] |
If on, uses direct mapping from tree to graph vertices. If off, both the graph and tree must contain PedigreeId arrays which are used to match graph and tree vertices. Default is off.
virtual bool vtkTransferAttributes::GetDirectMapping | ( | ) | [virtual] |
If on, uses direct mapping from tree to graph vertices. If off, both the graph and tree must contain PedigreeId arrays which are used to match graph and tree vertices. Default is off.
virtual void vtkTransferAttributes::DirectMappingOn | ( | ) | [virtual] |
If on, uses direct mapping from tree to graph vertices. If off, both the graph and tree must contain PedigreeId arrays which are used to match graph and tree vertices. Default is off.
virtual void vtkTransferAttributes::DirectMappingOff | ( | ) | [virtual] |
If on, uses direct mapping from tree to graph vertices. If off, both the graph and tree must contain PedigreeId arrays which are used to match graph and tree vertices. Default is off.
virtual char* vtkTransferAttributes::GetSourceArrayName | ( | ) | [virtual] |
The field name to use for storing the source array.
virtual void vtkTransferAttributes::SetSourceArrayName | ( | const char * | ) | [virtual] |
The field name to use for storing the source array.
virtual char* vtkTransferAttributes::GetTargetArrayName | ( | ) | [virtual] |
The field name to use for storing the source array.
virtual void vtkTransferAttributes::SetTargetArrayName | ( | const char * | ) | [virtual] |
The field name to use for storing the source array.
virtual int vtkTransferAttributes::GetSourceFieldType | ( | ) | [virtual] |
The source field type for accessing the source array. Valid values are those from enum vtkDataObject::FieldAssociations.
virtual void vtkTransferAttributes::SetSourceFieldType | ( | int | ) | [virtual] |
The source field type for accessing the source array. Valid values are those from enum vtkDataObject::FieldAssociations.
virtual int vtkTransferAttributes::GetTargetFieldType | ( | ) | [virtual] |
The target field type for accessing the target array. Valid values are those from enum vtkDataObject::FieldAssociations.
virtual void vtkTransferAttributes::SetTargetFieldType | ( | int | ) | [virtual] |
The target field type for accessing the target array. Valid values are those from enum vtkDataObject::FieldAssociations.
vtkVariant vtkTransferAttributes::GetDefaultValue | ( | ) |
Method to get/set the default value. BTX
void vtkTransferAttributes::SetDefaultValue | ( | vtkVariant | value | ) |
Method to get/set the default value. BTX
int vtkTransferAttributes::FillInputPortInformation | ( | int | port, | |
vtkInformation * | info | |||
) | [virtual] |
Set the input type of the algorithm to vtkGraph.
Reimplemented from vtkPassInputTypeAlgorithm.
int vtkTransferAttributes::RequestData | ( | vtkInformation * | , | |
vtkInformationVector ** | , | |||
vtkInformationVector * | ||||
) | [protected, virtual] |
Convert the vtkGraph into vtkPolyData.
Reimplemented from vtkPassInputTypeAlgorithm.
bool vtkTransferAttributes::DirectMapping [protected] |
Definition at line 105 of file vtkTransferAttributes.h.
char* vtkTransferAttributes::SourceArrayName [protected] |
Definition at line 106 of file vtkTransferAttributes.h.
char* vtkTransferAttributes::TargetArrayName [protected] |
Definition at line 107 of file vtkTransferAttributes.h.
int vtkTransferAttributes::SourceFieldType [protected] |
Definition at line 108 of file vtkTransferAttributes.h.
int vtkTransferAttributes::TargetFieldType [protected] |
Definition at line 109 of file vtkTransferAttributes.h.
vtkVariant vtkTransferAttributes::DefaultValue [protected] |
Definition at line 112 of file vtkTransferAttributes.h.