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

Method SetFloatBounds

Modules/Core/src/DataManagement/mitkBaseGeometry.cpp:102–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102void mitk::BaseGeometry::SetFloatBounds(const float bounds[6])
103{
104 mitk::BoundingBox::BoundsArrayType b;
105 const float *input = bounds;
106 int i = 0;
107 for (mitk::BoundingBox::BoundsArrayType::Iterator it = b.Begin(); i < 6; ++i)
108 *it++ = (mitk::ScalarType)*input++;
109 SetBounds(b);
110}
111
112void mitk::BaseGeometry::SetFloatBounds(const double bounds[6])
113{

Callers 13

testGeometry3DFunction · 0.80
TestSetFloatBoundsMethod · 0.80
TestConstructorsMethod · 0.80
TestGetCornerPointMethod · 0.80
TestGetAxisVectorMethod · 0.80
TestGetCenterMethod · 0.80
TestGetDiagonalLengthMethod · 0.80
TestGetExtentMethod · 0.80
TestIsInsideMethod · 0.80
TestSurfaceLoadingMethod · 0.80

Calls 1

BeginMethod · 0.45

Tested by 12

testGeometry3DFunction · 0.64
TestSetFloatBoundsMethod · 0.64
TestConstructorsMethod · 0.64
TestGetCornerPointMethod · 0.64
TestGetAxisVectorMethod · 0.64
TestGetCenterMethod · 0.64
TestGetDiagonalLengthMethod · 0.64
TestGetExtentMethod · 0.64
TestIsInsideMethod · 0.64
TestSurfaceLoadingMethod · 0.64