comparison Applications/Samples/Common/RtViewerApp.h @ 1640:52b8b96cb55f

cleaning namespaces
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 10 Nov 2020 16:55:22 +0100
parents fb5e620430ae
children 9ac2a65d4172
comparison
equal deleted inserted replaced
1639:5cdc5b98f14d 1640:52b8b96cb55f
71 void PrepareScene(); 71 void PrepareScene();
72 72
73 #if ORTHANC_ENABLE_SDL 73 #if ORTHANC_ENABLE_SDL
74 public: 74 public:
75 void RunSdl(int argc, char* argv[]); 75 void RunSdl(int argc, char* argv[]);
76 void SdlRunLoop(const std::vector<boost::shared_ptr<OrthancStone::RtViewerView> >& views, 76 void SdlRunLoop(const std::vector<boost::shared_ptr<RtViewerView> >& views,
77 OrthancStone::DefaultViewportInteractor& interactor); 77 DefaultViewportInteractor& interactor);
78 private: 78 private:
79 void ProcessOptions(int argc, char* argv[]); 79 void ProcessOptions(int argc, char* argv[]);
80 void HandleApplicationEvent(const SDL_Event& event); 80 void HandleApplicationEvent(const SDL_Event& event);
81 #elif ORTHANC_ENABLE_WASM 81 #elif ORTHANC_ENABLE_WASM
82 public: 82 public:
124 124
125 void HandleGeometryReady(const DicomVolumeImage::GeometryReadyMessage& message); 125 void HandleGeometryReady(const DicomVolumeImage::GeometryReadyMessage& message);
126 126
127 // TODO: wire this 127 // TODO: wire this
128 void HandleCTLoaded(const OrthancSeriesVolumeProgressiveLoader::VolumeImageReadyInHighQuality& message); 128 void HandleCTLoaded(const OrthancSeriesVolumeProgressiveLoader::VolumeImageReadyInHighQuality& message);
129 void HandleCTContentUpdated(const OrthancStone::DicomVolumeImage::ContentUpdatedMessage& message); 129 void HandleCTContentUpdated(const DicomVolumeImage::ContentUpdatedMessage& message);
130 void HandleDoseLoaded(const OrthancStone::DicomVolumeImage::ContentUpdatedMessage& message); 130 void HandleDoseLoaded(const DicomVolumeImage::ContentUpdatedMessage& message);
131 void HandleStructuresReady(const OrthancStone::DicomStructureSetLoader::StructuresReady& message); 131 void HandleStructuresReady(const DicomStructureSetLoader::StructuresReady& message);
132 void HandleStructuresUpdated(const OrthancStone::DicomStructureSetLoader::StructuresUpdated& message); 132 void HandleStructuresUpdated(const DicomStructureSetLoader::StructuresUpdated& message);
133 133
134 134
135 private: 135 private:
136 void RetrieveGeometry(); 136 void RetrieveGeometry();
137 void FitContent(); 137 void FitContent();
154 /** 154 /**
155 another interface to the ctLoader object (that also implements the IVolumeSlicer interface), that serves as the 155 another interface to the ctLoader object (that also implements the IVolumeSlicer interface), that serves as the
156 reference for the geometry (position and dimensions of the volume + size of each voxel). It could be changed to be 156 reference for the geometry (position and dimensions of the volume + size of each voxel). It could be changed to be
157 the dose instead, but the CT is chosen because it usually has a better spatial resolution. 157 the dose instead, but the CT is chosen because it usually has a better spatial resolution.
158 */ 158 */
159 boost::shared_ptr<OrthancStone::IGeometryProvider> geometryProvider_; 159 boost::shared_ptr<IGeometryProvider> geometryProvider_;
160 160
161 boost::shared_ptr<IFlexiblePointerTracker> activeTracker_; 161 boost::shared_ptr<IFlexiblePointerTracker> activeTracker_;
162 162
163 boost::shared_ptr<UndoStack> undoStack_; 163 boost::shared_ptr<UndoStack> undoStack_;
164 }; 164 };