46 (*_algorithmUserProperties)[
"LengthScaleFactor"] = 1.0;
51 vtkDataSet::SafeDownCast(
_lineFilter->GetOutputDataObject(0))
56 vtkLookupTable* colormap = vtkLookupTable::New();
57 colormap->SetTableRange(range[0], range[1]);
58 colormap->SetHueRange(0.0, 0.666);
59 colormap->SetNumberOfTableValues(256);
60 colormap->ForceBuild();
61 QList<QVariant> tableRangeList;
62 tableRangeList.push_back(range[0]);
63 tableRangeList.push_back(range[1]);
64 QList<QVariant> hueRangeList;
65 hueRangeList.push_back(0.0);
66 hueRangeList.push_back(0.666);
67 (*_algorithmUserVectorProperties)[
"TableRange"] = tableRangeList;
68 (*_algorithmUserVectorProperties)[
"HueRange"] = hueRangeList;
72 vtkTubeFilter* tubeFilter = vtkTubeFilter::New();
73 tubeFilter->SetInputConnection(
_lineFilter->GetOutputPort());
74 tubeFilter->CappingOn();
75 tubeFilter->SetNumberOfSides(6);
76 tubeFilter->SetRadius(
_lineFilter->GetImageSpacing() * 0.25);
77 (*_algorithmUserProperties)[
"NumberOfColors"] = 256;
78 (*_algorithmUserProperties)[
"Capping"] =
true;
79 (*_algorithmUserProperties)[
"NumberOfSides"] = 6;
80 (*_algorithmUserProperties)[
"RadiusFactor"] = 0.25;