MCPcopy Create free account
hub / github.com/Kitware/VTK / ReturnAsFloat

Function ReturnAsFloat

Utilities/DICOMParser/DICOMFile.h:158–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156 }
157
158 static float ReturnAsFloat(unsigned char* data, bool)
159 {
160 return vtk::scan_value<float>(std::string_view(reinterpret_cast<const char*>(data)))->value();
161 }
162
163 bool GetPlatformIsBigEndian() { return PlatformIsBigEndian; }
164

Callers 4

PixelSpacingCallbackMethod · 0.85
RescaleOffsetCallbackMethod · 0.85
RescaleSlopeCallbackMethod · 0.85
GantryAngleCallbackMethod · 0.85

Calls 1

valueMethod · 0.45

Tested by

no test coverage detected