Mercurial > hg > orthanc-stone
comparison Applications/Samples/Common/RtViewerApp.cpp @ 1573:32e0c007789d
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 21 Sep 2020 18:28:34 +0200 |
parents | 6e0da8370270 |
children | fb5e620430ae |
comparison
equal
deleted
inserted
replaced
1572:1b3039384972 | 1573:32e0c007789d |
---|---|
72 ORTHANC_ASSERT(geometryProvider_->HasGeometry()); | 72 ORTHANC_ASSERT(geometryProvider_->HasGeometry()); |
73 const VolumeImageGeometry& geometry = geometryProvider_->GetImageGeometry(); | 73 const VolumeImageGeometry& geometry = geometryProvider_->GetImageGeometry(); |
74 return geometry; | 74 return geometry; |
75 } | 75 } |
76 | 76 |
77 RtViewerApp::RtViewerApp() | 77 RtViewerApp::RtViewerApp() : |
78 : undoStack_(new UndoStack) | 78 undoStack_(new UndoStack), |
79 { | |
80 // Create the volumes that will be filled later on | 79 // Create the volumes that will be filled later on |
81 ctVolume_ = boost::make_shared<DicomVolumeImage>(); | 80 ctVolume_(boost::make_shared<DicomVolumeImage>()), |
82 doseVolume_ = boost::make_shared<DicomVolumeImage>(); | 81 doseVolume_(boost::make_shared<DicomVolumeImage>()) |
82 { | |
83 } | 83 } |
84 | 84 |
85 boost::shared_ptr<RtViewerApp> RtViewerApp::Create() | 85 boost::shared_ptr<RtViewerApp> RtViewerApp::Create() |
86 { | 86 { |
87 boost::shared_ptr<RtViewerApp> thisOne(new RtViewerApp()); | 87 boost::shared_ptr<RtViewerApp> thisOne(new RtViewerApp()); |