| 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 | { |
nothing calls this directly
no test coverage detected