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

Method GetExtentInWorld

Modules/Core/src/DataManagement/mitkTimeGeometry.cpp:150–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150mitk::ScalarType mitk::TimeGeometry::GetExtentInWorld(unsigned int direction) const
151{
152 assert(direction < 3);
153 assert(m_BoundingBox.IsNotNull());
154 auto& bounds = m_BoundingBox->GetBounds();
155 return bounds[direction * 2 + 1] - bounds[direction * 2];
156}
157
158void mitk::TimeGeometry::Update()
159{

Callers 4

GetVolumeMethod · 0.80
GetVolumeMethod · 0.80
GetVolumeMethod · 0.80

Calls 2

IsNotNullMethod · 0.80
GetBoundsMethod · 0.45

Tested by 1