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

Method SetMask

Modules/AlgorithmsExt/src/mitkMaskImageFilter.cpp:39–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void mitk::MaskImageFilter::SetMask(const mitk::Image *mask)
40{
41 // Process object is not const-correct so the const_cast is required here
42 auto nonconstMask = const_cast<mitk::Image *>(mask);
43 this->ProcessObject::SetNthInput(1, nonconstMask);
44}
45
46const mitk::Image *mitk::MaskImageFilter::GetMask() const
47{

Calls

no outgoing calls