Lines Matching refs:threshold

52   vtkSmartPointer<vtkMultiThreshold> threshold =  in TestPrint()  local
56 threshold->Print(std::cout); in TestPrint()
62 threshold->SetInputData(0, sg); in TestPrint()
63 threshold->Update(); in TestPrint()
66 threshold->Print(std::cout); in TestPrint()
153 vtkSmartPointer<vtkMultiThreshold> threshold = in TestFilter() local
156 threshold->SetInputData(0, sg); in TestFilter()
161 intervalSets.push_back(threshold->AddIntervalSet( in TestFilter()
168 intervalSets.push_back(threshold->AddIntervalSet( in TestFilter()
175 intervalSets.push_back(threshold->AddIntervalSet( in TestFilter()
182 intervalSets.push_back(threshold->AddIntervalSet( in TestFilter()
192 intervalSets.push_back(threshold->AddBooleanSet(vtkMultiThreshold::AND, 2, intersection)); in TestFilter()
196 intervalSets.push_back(threshold->AddBooleanSet(vtkMultiThreshold::OR, 2, intersection)); in TestFilter()
200 intervalSets.push_back(threshold->AddBooleanSet(vtkMultiThreshold::XOR, 2, intersection)); in TestFilter()
204 intervalSets.push_back(threshold->AddBooleanSet(vtkMultiThreshold::WOR, 2, intersection)); in TestFilter()
208 intervalSets.push_back(threshold->AddBooleanSet(vtkMultiThreshold::NAND, 2, intersection)); in TestFilter()
212 intervalSets.push_back(threshold->AddLowpassIntervalSet( in TestFilter()
217 intervalSets.push_back(threshold->AddHighpassIntervalSet( in TestFilter()
222 intervalSets.push_back(threshold->AddBandpassIntervalSet( in TestFilter()
227 intervalSets.push_back(threshold->AddNotchIntervalSet( in TestFilter()
233 intervalSets.push_back(threshold->AddIntervalSet( in TestFilter()
239 intervalSets.push_back(threshold->AddIntervalSet( in TestFilter()
245 intervalSets.push_back(threshold->AddIntervalSet( in TestFilter()
251 intervalSets.push_back(threshold->AddIntervalSet( in TestFilter()
260 << threshold->OutputSet(intervalSets[n]) << std::endl; in TestFilter()
265 << threshold->OutputSet(intervalSets[0]) << std::endl; in TestFilter()
266 threshold->Update(); in TestFilter()
268 int blocksBefore = threshold->GetOutput()->GetNumberOfBlocks(); in TestFilter()
272 << GetBlockCellCount(threshold->GetOutput(), b) << " cells"; in TestFilter()
274 expectedCellCounts[b] != GetBlockCellCount(threshold->GetOutput(), b)) in TestFilter()
284 << threshold->OutputSet(intervalSets[0]) << std::endl; in TestFilter()
285 threshold->Update(); in TestFilter()
286 int blocksAfter = threshold->GetOutput()->GetNumberOfBlocks(); in TestFilter()
294 threshold->Print(std::cout); in TestFilter()
309 vtkSmartPointer<vtkMultiThreshold> threshold = in TestErrorsAndWarnings() local
311 threshold->SetInputData(sg); in TestErrorsAndWarnings()
312 threshold->AddObserver(vtkCommand::ErrorEvent, filterObserver); in TestErrorsAndWarnings()
313 threshold->AddObserver(vtkCommand::WarningEvent, filterObserver); in TestErrorsAndWarnings()
316 intervalSets.push_back(threshold->AddIntervalSet( in TestErrorsAndWarnings()
320 intervalSets.push_back(threshold->AddIntervalSet( in TestErrorsAndWarnings()
324 intervalSets.push_back(threshold->AddIntervalSet( in TestErrorsAndWarnings()
330 intervalSets.push_back(threshold->AddIntervalSet( in TestErrorsAndWarnings()
348 intervalSets.push_back(threshold->AddIntervalSet( in TestErrorsAndWarnings()
368 intervalSets.push_back(threshold->AddBooleanSet(vtkMultiThreshold::AND, 0, intersection)); in TestErrorsAndWarnings()
382 intervalSets.push_back(threshold->AddBooleanSet(10, 1, intersection)); in TestErrorsAndWarnings()
397 intervalSets.push_back(threshold->AddBooleanSet(vtkMultiThreshold::XOR, 2, intersection)); in TestErrorsAndWarnings()
411 intervalSets.push_back(threshold->AddBooleanSet(vtkMultiThreshold::XOR, 2, intersection)); in TestErrorsAndWarnings()
414 intervalSets.push_back(threshold->AddIntervalSet( in TestErrorsAndWarnings()
418 intervalSets.push_back(threshold->AddIntervalSet( in TestErrorsAndWarnings()
424 intervalSets.push_back(threshold->AddIntervalSet( in TestErrorsAndWarnings()
443 intervalSets.push_back(threshold->AddIntervalSet( in TestErrorsAndWarnings()
461 intervalSets.push_back(threshold->AddIntervalSet( in TestErrorsAndWarnings()
480 intervalSets.push_back(threshold->AddIntervalSet( in TestErrorsAndWarnings()
499 threshold->OutputSet(1000); in TestErrorsAndWarnings()
515 threshold->GetExecutive()->AddObserver(vtkCommand::ErrorEvent, executiveObserver); in TestErrorsAndWarnings()
516 threshold->Update(); in TestErrorsAndWarnings()