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

Method GetStudyID

IO/Image/vtkDICOMImageReader.cxx:576–586  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

574
575//------------------------------------------------------------------------------
576const char* vtkDICOMImageReader::GetStudyID()
577{
578 std::string tmp = this->AppHelper->GetStudyID();
579
580 delete[] this->StudyID;
581 this->StudyID = new char[tmp.length() + 1];
582 strcpy(this->StudyID, tmp.c_str());
583 this->StudyID[tmp.length()] = '\0';
584
585 return this->StudyID;
586}
587
588//------------------------------------------------------------------------------
589float vtkDICOMImageReader::GetGantryAngle()

Callers 5

DeepCopyMethod · 0.80
GetStudyMethod · 0.80
TestDICOMImageReaderFunction · 0.80

Calls 2

lengthMethod · 0.45
c_strMethod · 0.45

Tested by 3

TestDICOMImageReaderFunction · 0.64