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

Method Clear

IO/Image/vtkMedicalImageProperties.cxx:319–358  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

317
318//------------------------------------------------------------------------------
319void vtkMedicalImageProperties::Clear()
320{
321 this->SetStudyDate(nullptr);
322 this->SetAcquisitionDate(nullptr);
323 this->SetStudyTime(nullptr);
324 this->SetAcquisitionTime(nullptr);
325 this->SetConvolutionKernel(nullptr);
326 this->SetEchoTime(nullptr);
327 this->SetEchoTrainLength(nullptr);
328 this->SetExposure(nullptr);
329 this->SetExposureTime(nullptr);
330 this->SetGantryTilt(nullptr);
331 this->SetImageDate(nullptr);
332 this->SetImageNumber(nullptr);
333 this->SetImageTime(nullptr);
334 this->SetInstitutionName(nullptr);
335 this->SetKVP(nullptr);
336 this->SetManufacturerModelName(nullptr);
337 this->SetManufacturer(nullptr);
338 this->SetModality(nullptr);
339 this->SetPatientAge(nullptr);
340 this->SetPatientBirthDate(nullptr);
341 this->SetPatientID(nullptr);
342 this->SetPatientName(nullptr);
343 this->SetPatientSex(nullptr);
344 this->SetRepetitionTime(nullptr);
345 this->SetSeriesDescription(nullptr);
346 this->SetSeriesNumber(nullptr);
347 this->SetSliceThickness(nullptr);
348 this->SetStationName(nullptr);
349 this->SetStudyDescription(nullptr);
350 this->SetStudyID(nullptr);
351 this->SetXRayTubeCurrent(nullptr);
352
353 this->RemoveAllWindowLevelPresets();
354 this->RemoveAllUserDefinedValues();
355
356 this->Internals->Orientation.clear();
357 this->Internals->UID.clear();
358}
359
360//------------------------------------------------------------------------------
361void vtkMedicalImageProperties::DeepCopy(vtkMedicalImageProperties* p)

Callers 5

DeepCopyMethod · 0.95
ExecuteInformationMethod · 0.45
TestTIFFReaderMultipleFunction · 0.45

Calls 7

SetImageNumberMethod · 0.80
SetModalityMethod · 0.80
SetPatientIDMethod · 0.80
SetPatientNameMethod · 0.80
clearMethod · 0.45

Tested by 1

TestTIFFReaderMultipleFunction · 0.36