feat: add Laterality property to ExtendMedicalImageProperties class

This commit is contained in:
kradchen
2025-10-24 13:32:01 +08:00
parent 2ec3ed9143
commit 70d6740571
2 changed files with 12 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ void ExtendMedicalImageProperties::Clear() {
vtkMedicalImageProperties::Clear(); vtkMedicalImageProperties::Clear();
this->SetStudyUID(nullptr); this->SetStudyUID(nullptr);
this->SetSeriesUID(nullptr); this->SetSeriesUID(nullptr);
this->SetLaterality(nullptr);
} }
void ExtendMedicalImageProperties::ComputeTransformMatrix() { void ExtendMedicalImageProperties::ComputeTransformMatrix() {

View File

@@ -48,6 +48,16 @@ public:
vtkSetStringMacro(SeriesUID); vtkSetStringMacro(SeriesUID);
//@} //@}
//@{
/**
* Series Instance UID
* DICOM (0020,000e)
*/
vtkGetStringMacro(Laterality);
vtkSetStringMacro(Laterality);
//@}
//@{ //@{
/** /**
* Acquisition Number * Acquisition Number
@@ -291,6 +301,7 @@ protected:
long ImageSetNumber = 0; long ImageSetNumber = 0;
long Rows = 0; long Rows = 0;
long Columns = 0; long Columns = 0;
char* Laterality = nullptr;
unsigned short SamplePerPixel; unsigned short SamplePerPixel;
unsigned short BitsAllocated; unsigned short BitsAllocated;
unsigned short PixelRepresentation; unsigned short PixelRepresentation;