MCPcopy Create free account
hub / github.com/MITK/MITK / ReadyToRun

Method ReadyToRun

Modules/Segmentation/src/Algorithms/mitkShowSegmentationAsSurface.cpp:60–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58 }
59
60 bool ShowSegmentationAsSurface::ReadyToRun()
61 {
62 try
63 {
64 Image::Pointer image;
65 GetPointerParameter("Input", image);
66 MultiLabelSegmentation::Pointer labelSetImage;
67 GetPointerParameter("Input", labelSetImage);
68
69 return (labelSetImage.IsNotNull() || image.IsNotNull()) && GetGroupNode();
70 }
71 catch (std::invalid_argument &)
72 {
73 return false;
74 }
75 }
76
77 bool ShowSegmentationAsSurface::ThreadedUpdateFunction()
78 {

Callers

nothing calls this directly

Calls 2

GetPointerParameterFunction · 0.85
IsNotNullMethod · 0.80

Tested by

no test coverage detected