Mercurial > hg > orthanc-stone
annotate Framework/Scene2D/ISceneLayer.h @ 856:a6e17a5a39e7 am-dev
removed ORTHANC_ENABLE_LOGGING_PLUGIN=0
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Wed, 19 Jun 2019 17:36:33 +0200 |
parents | 5430bcffba57 |
children | 55411e7da2f7 |
rev | line source |
---|---|
582 | 1 /** |
2 * Stone of Orthanc | |
3 * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics | |
4 * Department, University Hospital of Liege, Belgium | |
5 * Copyright (C) 2017-2019 Osimis S.A., Belgium | |
6 * | |
7 * This program is free software: you can redistribute it and/or | |
8 * modify it under the terms of the GNU Affero General Public License | |
9 * as published by the Free Software Foundation, either version 3 of | |
10 * the License, or (at your option) any later version. | |
11 * | |
12 * This program is distributed in the hope that it will be useful, but | |
13 * WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
15 * Affero General Public License for more details. | |
16 * | |
17 * You should have received a copy of the GNU Affero General Public License | |
18 * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
19 **/ | |
20 | |
21 | |
22 #pragma once | |
23 | |
24 #include "../Toolbox/Extent2D.h" | |
25 | |
26 #include <boost/noncopyable.hpp> | |
27 #include <stdint.h> | |
28 | |
29 namespace OrthancStone | |
30 { | |
31 class ISceneLayer : public boost::noncopyable | |
32 { | |
33 public: | |
34 enum Type | |
35 { | |
36 Type_InfoPanel, | |
588
2a8ac2d426db
renamed ColorTextureSceneLayer, dropped dependency on boost::chrono
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
582
diff
changeset
|
37 Type_ColorTexture, |
582 | 38 Type_Polyline, |
590
5430bcffba57
FloatTextureSceneLayer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
588
diff
changeset
|
39 Type_Text, |
5430bcffba57
FloatTextureSceneLayer
Sebastien Jodogne <s.jodogne@gmail.com>
parents:
588
diff
changeset
|
40 Type_FloatTexture |
582 | 41 }; |
42 | |
43 virtual ~ISceneLayer() | |
44 { | |
45 } | |
46 | |
47 virtual ISceneLayer* Clone() const = 0; | |
48 | |
49 virtual Type GetType() const = 0; | |
50 | |
51 virtual bool GetBoundingBox(Extent2D& target) const = 0; | |
52 | |
53 virtual uint64_t GetRevision() const = 0; | |
54 }; | |
55 } |