41 vtkContourFilter* contour = vtkContourFilter::New();
51 vtkPointData* pointData = dataSet->GetPointData();
54 pointData->GetScalars()->GetRange(range);
61 range[0] = std::numeric_limits<double>::lowest();
62 range[1] = std::numeric_limits<double>::max();
66 contour->GenerateValues(10, range[0], range[1]);
69 QList<QVariant> contourRangeList;
71 contourRangeList.push_back(range[0]);
72 contourRangeList.push_back(range[1]);
74 (*_algorithmUserVectorProperties)[
"Range"] = contourRangeList;
77 (*_algorithmUserProperties)[
"Number of Contours"] = 10;