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

Method BitsAllocatedCallback

Utilities/DICOMParser/DICOMAppHelper.cxx:693–701  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

691}
692
693void DICOMAppHelper::BitsAllocatedCallback(
694 DICOMParser* parser, doublebyte, doublebyte, DICOMParser::VRTypes, unsigned char* val, quadbyte)
695{
696 this->BitsAllocated =
697 DICOMFile::ReturnAsUnsignedShort(val, parser->GetDICOMFile()->GetPlatformIsBigEndian());
698#ifdef DEBUG_DICOM_APP_HELPER
699 std::cout << "Bits allocated: " << this->BitsAllocated << std::endl;
700#endif
701}
702
703void DICOMAppHelper::ToggleSwapBytesCallback(
704 DICOMParser* parser, doublebyte, doublebyte, DICOMParser::VRTypes, unsigned char*, quadbyte len)

Callers

nothing calls this directly

Calls 1

ReturnAsUnsignedShortFunction · 0.85

Tested by

no test coverage detected