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

Method Initialize

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

Source from the content-addressed store, hash-verified

35 }
36
37 void ShowSegmentationAsSurface::Initialize(const NonBlockingAlgorithm *other)
38 {
39 Superclass::Initialize(other);
40
41 bool syncVisibility(false);
42
43 if (other)
44 {
45 other->GetParameter("Sync visibility", syncVisibility);
46 }
47
48 SetParameter("Sync visibility", syncVisibility);
49 SetParameter("Median kernel size", 3u);
50 SetParameter("Apply median", true);
51 SetParameter("Smooth", true);
52 SetParameter("Gaussian SD", 1.5);
53 SetParameter("Decimate mesh", true);
54 SetParameter("Decimation rate", 0.8);
55 SetParameter("Wireframe", false);
56
57 m_SurfaceNodes.clear();
58 }
59
60 bool ShowSegmentationAsSurface::ReadyToRun()
61 {

Callers 13

mainFunction · 0.45
GenerateInternalFunction · 0.45
GenerateFillImageMethod · 0.45
WriteImageMethod · 0.45
PaintbrushToolMethod · 0.45
ResetWorkingSliceMethod · 0.45
GenerateFillImageMethod · 0.45
RunTestWithParametersMethod · 0.45

Calls 4

InitializeFunction · 0.85
SetParameterFunction · 0.85
GetParameterMethod · 0.45
clearMethod · 0.45

Tested by 2

RunTestWithParametersMethod · 0.36
setUpMethod · 0.36