31#ifndef vtkJoinTables_h
32#define vtkJoinTables_h
35#include "vtkFiltersGeneralModule.h"
67 vtkSetClampMacro(Mode,
int, 0, 3);
68 vtkGetMacro(Mode,
int);
76 vtkSetMacro(ReplacementValue,
double);
77 vtkGetMacro(ReplacementValue,
double);
112 template <
typename T>
119 template <
typename ColType,
typename KeyColType,
typename KeyValues>
120 void MergeColumn(ColType*, ColType*, KeyColType*,
const char*, std::map<KeyValues, int>);
122 template <
typename KeyColType,
typename KeyValues>
128 int Mode = JoinMode::INTERSECTION;
131 double ReplacementValue = 0;
138#include "vtkJoinTables.txx"
Proxy object to connect input/output ports.
a simple class to control print indentation
SQL-style Join operation on two tables.
vtkGetCharFromStdStringMacro(LeftKey)
Specifies which column of the left table to use for the join operation.
vtkSetStdStringFromCharMacro(LeftKey)
Specifies which column of the left table to use for the join operation.
void SetSourceData(vtkTable *source)
Specify input data on port 1 for the right table.
void SetSourceConnection(vtkAlgorithmOutput *source)
Set a pipeline connection on port 1 for the right table.
vtkGetCharFromStdStringMacro(RightKey)
Specifies which column of the right table to use for the join operation.
vtkSetStdStringFromCharMacro(RightKey)
Specifies which column of the right table to use for the join operation.
int FillInputPortInformation(int, vtkInformation *) override
Fill the input port information objects for this algorithm.
void JoinAlgorithm(vtkTable *, vtkTable *, vtkTable *, KeyColType *, KeyColType *, Maps< KeyValues > *)
static vtkJoinTables * New()
~vtkJoinTables() override=default
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
void MergeColumn(ColType *, ColType *, KeyColType *, const char *, std::map< KeyValues, int >)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Superclass for algorithms that produce only vtkTables as output.
A table, which contains similar-typed columns of data.
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)