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

Method SetGeometry

Modules/Core/src/DataManagement/mitkBaseData.cpp:105–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105void mitk::BaseData::SetGeometry(BaseGeometry *geometry)
106{
107 ProportionalTimeGeometry::Pointer timeGeometry = ProportionalTimeGeometry::New();
108 if (geometry != nullptr)
109 {
110 timeGeometry->Initialize(geometry, 1);
111 }
112 SetTimeGeometry(timeGeometry);
113 return;
114}
115
116void mitk::BaseData::SetTimeGeometry(TimeGeometry *geometry)
117{

Callers

nothing calls this directly

Calls 2

NewFunction · 0.50
InitializeMethod · 0.45

Tested by

no test coverage detected