------------------------------------------------------------------------------
| 548 | |
| 549 | //------------------------------------------------------------------------------ |
| 550 | const char* vtkDICOMImageReader::GetPatientName() |
| 551 | { |
| 552 | std::string tmp = this->AppHelper->GetPatientName(); |
| 553 | |
| 554 | delete[] this->PatientName; |
| 555 | this->PatientName = new char[tmp.length() + 1]; |
| 556 | strcpy(this->PatientName, tmp.c_str()); |
| 557 | this->PatientName[tmp.length()] = '\0'; |
| 558 | |
| 559 | return this->PatientName; |
| 560 | } |
| 561 | |
| 562 | //------------------------------------------------------------------------------ |
| 563 | const char* vtkDICOMImageReader::GetStudyUID() |