------------------------------------------------------------------------------
| 359 | |
| 360 | //------------------------------------------------------------------------------ |
| 361 | void vtkMedicalImageProperties::DeepCopy(vtkMedicalImageProperties* p) |
| 362 | { |
| 363 | if (p == nullptr) |
| 364 | { |
| 365 | return; |
| 366 | } |
| 367 | |
| 368 | this->Clear(); |
| 369 | |
| 370 | this->SetStudyDate(p->GetStudyDate()); |
| 371 | this->SetAcquisitionDate(p->GetAcquisitionDate()); |
| 372 | this->SetStudyTime(p->GetStudyTime()); |
| 373 | this->SetAcquisitionTime(p->GetAcquisitionTime()); |
| 374 | this->SetConvolutionKernel(p->GetConvolutionKernel()); |
| 375 | this->SetEchoTime(p->GetEchoTime()); |
| 376 | this->SetEchoTrainLength(p->GetEchoTrainLength()); |
| 377 | this->SetExposure(p->GetExposure()); |
| 378 | this->SetExposureTime(p->GetExposureTime()); |
| 379 | this->SetGantryTilt(p->GetGantryTilt()); |
| 380 | this->SetImageDate(p->GetImageDate()); |
| 381 | this->SetImageNumber(p->GetImageNumber()); |
| 382 | this->SetImageTime(p->GetImageTime()); |
| 383 | this->SetInstitutionName(p->GetInstitutionName()); |
| 384 | this->SetKVP(p->GetKVP()); |
| 385 | this->SetManufacturerModelName(p->GetManufacturerModelName()); |
| 386 | this->SetManufacturer(p->GetManufacturer()); |
| 387 | this->SetModality(p->GetModality()); |
| 388 | this->SetPatientAge(p->GetPatientAge()); |
| 389 | this->SetPatientBirthDate(p->GetPatientBirthDate()); |
| 390 | this->SetPatientID(p->GetPatientID()); |
| 391 | this->SetPatientName(p->GetPatientName()); |
| 392 | this->SetPatientSex(p->GetPatientSex()); |
| 393 | this->SetRepetitionTime(p->GetRepetitionTime()); |
| 394 | this->SetSeriesDescription(p->GetSeriesDescription()); |
| 395 | this->SetSeriesNumber(p->GetSeriesNumber()); |
| 396 | this->SetSliceThickness(p->GetSliceThickness()); |
| 397 | this->SetStationName(p->GetStationName()); |
| 398 | this->SetStudyDescription(p->GetStudyDescription()); |
| 399 | this->SetStudyID(p->GetStudyID()); |
| 400 | this->SetXRayTubeCurrent(p->GetXRayTubeCurrent()); |
| 401 | this->SetDirectionCosine(p->GetDirectionCosine()); |
| 402 | |
| 403 | this->Internals->DeepCopy(p->Internals); |
| 404 | } |
| 405 | |
| 406 | //------------------------------------------------------------------------------ |
| 407 | int vtkMedicalImageProperties::AddWindowLevelPreset(double w, double l) |
nothing calls this directly
no test coverage detected