Mercurial > hg > orthanc-stone
comparison Framework/Scene2DViewport/CreateLineMeasureTracker.cpp @ 738:8e31b174ab26
removing using namespace
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 22 May 2019 08:54:38 +0200 |
parents | 28b9e3a54200 |
children | e42b491f1fb2 |
comparison
equal
deleted
inserted
replaced
737:4d69256d2a46 | 738:8e31b174ab26 |
---|---|
18 * along with this program. If not, see <http://www.gnu.org/licenses/>. | 18 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
19 **/ | 19 **/ |
20 | 20 |
21 #include "CreateLineMeasureTracker.h" | 21 #include "CreateLineMeasureTracker.h" |
22 #include <Core/OrthancException.h> | 22 #include <Core/OrthancException.h> |
23 | |
24 using namespace Orthanc; | |
25 | 23 |
26 namespace OrthancStone | 24 namespace OrthancStone |
27 { | 25 { |
28 CreateLineMeasureTracker::CreateLineMeasureTracker( | 26 CreateLineMeasureTracker::CreateLineMeasureTracker( |
29 MessageBroker& broker, | 27 MessageBroker& broker, |
47 { | 45 { |
48 assert(GetScene()); | 46 assert(GetScene()); |
49 | 47 |
50 if (!alive_) | 48 if (!alive_) |
51 { | 49 { |
52 throw OrthancException(ErrorCode_InternalError, | 50 throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError, |
53 "Internal error: wrong state in CreateLineMeasureTracker::" | 51 "Internal error: wrong state in CreateLineMeasureTracker::" |
54 "PointerMove: active_ == false"); | 52 "PointerMove: active_ == false"); |
55 } | 53 } |
56 | 54 |
57 ScenePoint2D scenePos = event.GetMainPosition().Apply( | 55 ScenePoint2D scenePos = event.GetMainPosition().Apply( |