Mercurial > hg > orthanc-stone
annotate OrthancStone/Sources/Volumes/IGeometryProvider.h @ 1512:244ad1e4e76a
reorganization of folders
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 07 Jul 2020 16:21:02 +0200 |
parents | Framework/Volumes/IGeometryProvider.h@556b4bc19118 |
children | 4fb8fdf03314 |
rev | line source |
---|---|
1303
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
1 /** |
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
2 * Stone of Orthanc |
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
3 * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics |
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
4 * Department, University Hospital of Liege, Belgium |
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
5 * Copyright (C) 2017-2020 Osimis S.A., Belgium |
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
6 * |
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
7 * This program is free software: you can redistribute it and/or |
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
8 * modify it under the terms of the GNU Affero General Public License |
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
9 * as published by the Free Software Foundation, either version 3 of |
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
10 * the License, or (at your option) any later version. |
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
11 * |
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
12 * This program is distributed in the hope that it will be useful, but |
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
13 * WITHOUT ANY WARRANTY; without even the implied warranty of |
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
15 * Affero General Public License for more details. |
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
16 * |
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
17 * You should have received a copy of the GNU Affero General Public License |
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
18 * along with this program. If not, see <http://www.gnu.org/licenses/>. |
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
19 **/ |
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
20 |
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
21 |
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
22 #pragma once |
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
23 |
1339
556b4bc19118
The loaders have been adapter to the nobroker architecture
Benjamin Golinvaux <bgo@osimis.io>
parents:
1303
diff
changeset
|
24 #include "../Volumes/VolumeImageGeometry.h" |
1303
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
25 |
1339
556b4bc19118
The loaders have been adapter to the nobroker architecture
Benjamin Golinvaux <bgo@osimis.io>
parents:
1303
diff
changeset
|
26 namespace OrthancStone |
1303
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
27 { |
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
28 class IGeometryProvider |
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
29 { |
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
30 public: |
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
31 virtual ~IGeometryProvider() {} |
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
32 virtual bool HasGeometry() const = 0; |
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
33 virtual const OrthancStone::VolumeImageGeometry& GetImageGeometry() const = 0; |
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
34 }; |
83af7e562b45
IGeometryProvider interface for deprecated loaders (required for AB testing in older app)
Benjamin Golinvaux <bgo@osimis.io>
parents:
diff
changeset
|
35 } |