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

Method GantryAngleCallback

Utilities/DICOMParser/DICOMAppHelper.cxx:1284–1295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1282}
1283
1284void DICOMAppHelper::GantryAngleCallback(
1285 DICOMParser* parser, doublebyte, doublebyte, DICOMParser::VRTypes, unsigned char* val, quadbyte)
1286{
1287 float fval = 0;
1288
1289 if (val)
1290 {
1291 fval = DICOMFile::ReturnAsFloat(val, parser->GetDICOMFile()->GetPlatformIsBigEndian());
1292 }
1293
1294 this->GantryAngle = fval;
1295}
1296
1297#ifdef _MSC_VER
1298#pragma warning(pop)

Callers

nothing calls this directly

Calls 1

ReturnAsFloatFunction · 0.85

Tested by

no test coverage detected