19#ifndef vtkJoinTables_h
20#define vtkJoinTables_h
23#include "vtkFiltersGeneralModule.h"
31VTK_ABI_NAMESPACE_BEGIN
56 vtkSetClampMacro(Mode,
int, 0, 3);
57 vtkGetMacro(Mode,
int);
65 vtkSetMacro(ReplacementValue,
double);
66 vtkGetMacro(ReplacementValue,
double);
101 template <
typename T>
108 template <
typename ColType,
typename KeyColType,
typename KeyValues>
109 void MergeColumn(ColType*, ColType*, KeyColType*,
const char*, std::map<KeyValues, int>);
111 template <
typename KeyColType,
typename KeyValues>
117 int Mode = JoinMode::INTERSECTION;
120 double ReplacementValue = 0;
128#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 *)