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

Method SetPlaneGeometry

Modules/Core/src/DataManagement/mitkPlaneGeometryData.cpp:39–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39void mitk::PlaneGeometryData::SetPlaneGeometry(mitk::PlaneGeometry *geometry2d)
40{
41 if (geometry2d != nullptr)
42 {
43 ProportionalTimeGeometry::Pointer timeGeometry = ProportionalTimeGeometry::New();
44 timeGeometry->Initialize(geometry2d, 1);
45 SetTimeGeometry(timeGeometry);
46 Modified();
47 }
48 else
49 Superclass::SetGeometry(geometry2d);
50}
51
52void mitk::PlaneGeometryData::UpdateOutputInformation()
53{

Callers

nothing calls this directly

Calls 3

ModifiedFunction · 0.85
NewFunction · 0.50
InitializeMethod · 0.45

Tested by

no test coverage detected