69 bool UseSequences{
false};
71 bool UseBranches{
false};
72 bool UseLevels{
false};
75 std::string OutputArrayName{
"Layout"};
78 bool InputIsAMergeTree =
false;
79 bool BranchDecompositionPlanarLayout =
false;
80 double BranchSpacing = 1.;
81 double ImportantPairs = 10.;
82 int MaximumImportantPairs = 0;
83 int MinimumImportantPairs = 0;
84 double ImportantPairsSpacing = 1.;
85 double NonImportantPairsSpacing = 0.1;
86 double NonImportantPairsProximity = 0.05;
87 std::string ExcludeImportantPairsLower =
"";
88 std::string ExcludeImportantPairsHigher =
"";
93 vtkSetMacro(UseSequences,
bool);
94 vtkGetMacro(UseSequences,
bool);
96 vtkSetMacro(UseSizes,
bool);
97 vtkGetMacro(UseSizes,
bool);
99 vtkSetMacro(UseBranches,
bool);
100 vtkGetMacro(UseBranches,
bool);
102 vtkSetMacro(UseLevels,
bool);
103 vtkGetMacro(UseLevels,
bool);
106 vtkSetMacro(OutputArrayName,
const std::string &);
107 vtkGetMacro(OutputArrayName, std::string);
110 vtkSetMacro(InputIsAMergeTree,
bool);
111 vtkGetMacro(InputIsAMergeTree,
bool);
113 vtkSetMacro(BranchDecompositionPlanarLayout,
bool);
114 vtkGetMacro(BranchDecompositionPlanarLayout,
bool);
116 vtkSetMacro(BranchSpacing,
double);
117 vtkGetMacro(BranchSpacing,
double);
119 vtkSetMacro(ImportantPairs,
double);
120 vtkGetMacro(ImportantPairs,
double);
122 vtkSetMacro(MaximumImportantPairs,
int);
123 vtkGetMacro(MaximumImportantPairs,
int);
125 vtkSetMacro(MinimumImportantPairs,
int);
126 vtkGetMacro(MinimumImportantPairs,
int);
128 vtkSetMacro(ImportantPairsSpacing,
double);
129 vtkGetMacro(ImportantPairsSpacing,
double);
131 vtkSetMacro(NonImportantPairsSpacing,
double);
132 vtkGetMacro(NonImportantPairsSpacing,
double);
134 vtkSetMacro(NonImportantPairsProximity,
double);
135 vtkGetMacro(NonImportantPairsProximity,
double);
137 vtkSetMacro(ExcludeImportantPairsLower,
const std::string &);
138 vtkGetMacro(ExcludeImportantPairsLower, std::string);
140 vtkSetMacro(ExcludeImportantPairsHigher,
const std::string &);
141 vtkGetMacro(ExcludeImportantPairsHigher, std::string);
154 vtkInformationVector **inputVector,
155 vtkInformationVector *outputVector)
override;
157 int planarGraphLayoutCall(vtkInformation *request,
158 vtkInformationVector **inputVector,
159 vtkInformationVector *outputVector);
160 int mergeTreePlanarLayoutCall(vtkInformation *request,
161 vtkInformationVector **inputVector,
162 vtkInformationVector *outputVector);
164 template <
class dataType>
165 int mergeTreePlanarLayoutCallTemplate(vtkUnstructuredGrid *treeNodes,
166 vtkUnstructuredGrid *treeArcs,
167 vtkUnstructuredGrid *output);