From 573527393400fcb42fd8f98f8d4410c78c7953dd Mon Sep 17 00:00:00 2001 From: viar Date: Mon, 19 Sep 2022 11:26:58 +0200 Subject: [PATCH] Closing issue #36. Fixed bugs on Manual transformation coloring XYZwidget orange --- .../itkDTRrecon/itkImageProcessor.cpp | 52 +++++++++---------- 1 file changed, 24 insertions(+), 28 deletions(-) diff --git a/reg23Topograms/itkDTRrecon/itkImageProcessor.cpp b/reg23Topograms/itkDTRrecon/itkImageProcessor.cpp index d4e67f5..a89f9da 100644 --- a/reg23Topograms/itkDTRrecon/itkImageProcessor.cpp +++ b/reg23Topograms/itkDTRrecon/itkImageProcessor.cpp @@ -1589,8 +1589,8 @@ void itkImageProcessor::loadRTPlanInfo( m_RTMetaInfo->SetIsocenterLPS(Point); Point[0] = dLAT; - Point[1] = dVRT; - Point[2] = dLNG; + Point[1] = dLNG; + Point[2] = dVRT; m_RTMetaInfo->SetIsocenterIECS(Point); @@ -1647,21 +1647,17 @@ void itkImageProcessor::UpdateProjectionGeometryMeta(){ m_DRTGeometryMetaInfo->GetProjectionCenter() ); -// std::cout<< "///////////////// PGEOM META BEG ///////////////" <GetProjectionCenter() <ConvertIECPointToLPSPoint( m_DRTGeometryMetaInfo->GetProjectionCenterOffset1()); - - std::cout<<"CALIBRATION IsocenterOffsetLPS "<GetProjectionCenter() <GetProjectionOriginLPS() ); - std::cout<<"Bounds1: " - <SetSizeWithBounds( vBounds.data(), @@ -1737,16 +1733,16 @@ void itkImageProcessor::UpdateProjectionGeometryMeta(){ Std_DRT2LPS) ); - std::cout<<"IsocenterOffsetLPS"<< IsocenterOffsetLPS <GetSize()"<< m_DRTImage1MetaInfo->GetSize() <GetSpacing()"<< m_DRTImage1MetaInfo->GetSpacing() <GetOrigin()"<< m_DRTImage1MetaInfo->GetOrigin() <GetCOV()"<< m_DRTImage1MetaInfo->GetCOV() <GetOriginLPS()"<< m_DRTImage1MetaInfo->GetOriginLPS() <GetProjectionAngleLPS()"<GetProjectionAngleLPS()<GetImageDirectionsLPS()"<< m_DRTImage1MetaInfo->GetImageDirectionsLPS() <GetSize()"<< m_DRTImage1MetaInfo->GetSize() <GetSpacing()"<< m_DRTImage1MetaInfo->GetSpacing() <GetOrigin()"<< m_DRTImage1MetaInfo->GetOrigin() <GetCOV()"<< m_DRTImage1MetaInfo->GetCOV() <GetOriginLPS()"<< m_DRTImage1MetaInfo->GetOriginLPS() <GetProjectionAngleLPS()"<GetProjectionAngleLPS()<GetImageDirectionsLPS()"<< m_DRTImage1MetaInfo->GetImageDirectionsLPS() <