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

Method SetPlaneGeometry

Modules/Core/src/DataManagement/mitkSlicedGeometry3D.cpp:128–138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128bool mitk::SlicedGeometry3D::SetPlaneGeometry(mitk::PlaneGeometry *geometry2D, int s)
129{
130 if (this->IsValidSlice(s))
131 {
132 m_PlaneGeometries[s] = geometry2D;
133 if (geometry2D != nullptr)
134 m_PlaneGeometries[s]->SetReferenceGeometry(m_ReferenceGeometry);
135 return true;
136 }
137 return false;
138}
139
140void mitk::SlicedGeometry3D::InitializeSlicedGeometry(unsigned int slices)
141{

Callers 9

AddContourmarkerMethod · 0.45
addPlaneToDataStorageFunction · 0.45
createSlicedGeometryFunction · 0.45
BaseRendererMethod · 0.45
GeneratePlanarPolygonMethod · 0.45

Calls 2

IsValidSliceMethod · 0.95
SetReferenceGeometryMethod · 0.45

Tested by 4

addPlaneToDataStorageFunction · 0.36
createSlicedGeometryFunction · 0.36
GeneratePlanarPolygonMethod · 0.36