------------------------------------------------------------------------------
| 574 | |
| 575 | //------------------------------------------------------------------------------ |
| 576 | const 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 | //------------------------------------------------------------------------------ |
| 589 | float vtkDICOMImageReader::GetGantryAngle() |