CTK
0.1.0
The Common Toolkit is a community effort to provide support code for medical image analysis, surgical navigation, and related projects.
Libs
XNAT
Core
ctkXnatScan.h
Go to the documentation of this file.
1
/*=============================================================================
2
3
Library: XNAT/Core
4
5
Copyright (c) University College London,
6
Centre for Medical Image Computing
7
8
Licensed under the Apache License, Version 2.0 (the "License");
9
you may not use this file except in compliance with the License.
10
You may obtain a copy of the License at
11
12
http://www.apache.org/licenses/LICENSE-2.0
13
14
Unless required by applicable law or agreed to in writing, software
15
distributed under the License is distributed on an "AS IS" BASIS,
16
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
See the License for the specific language governing permissions and
18
limitations under the License.
19
20
=============================================================================*/
21
22
#ifndef ctkXnatScan_h
23
#define ctkXnatScan_h
24
25
#include "ctkXNATCoreExport.h"
26
27
#include "
ctkXnatObject.h
"
28
#include "
ctkXnatDefaultSchemaTypes.h
"
29
30
class
ctkXnatConnection;
31
class
ctkXnatScanFolder
;
32
class
ctkXnatScanPrivate;
33
37
class
CTK_XNAT_CORE_EXPORT
ctkXnatScan
:
public
ctkXnatObject
38
{
39
40
public
:
41
42
ctkXnatScan
(
ctkXnatObject
* parent = 0,
const
QString& schemaType =
ctkXnatDefaultSchemaTypes::XSI_SCAN
);
43
44
virtual
~
ctkXnatScan
();
45
46
void
setQuality(
const
QString& quality);
47
QString quality()
const
;
48
49
void
setSeriesDescription(
const
QString& seriesDescription);
50
QString seriesDescription()
const
;
51
52
void
setType (
const
QString&
type
);
53
QString
type
()
const
;
54
55
virtual
QString
resourceUri
()
const
;
56
57
void
reset
();
58
59
static
const
QString
QUALITY
;
60
static
const
QString
SERIES_DESCRIPTION
;
61
static
const
QString
TYPE
;
62
63
private
:
64
65
friend
class
qRestResult;
66
67
virtual
void
fetchImpl();
68
69
virtual
void
downloadImpl(
const
QString&);
70
71
Q_DECLARE_PRIVATE(
ctkXnatScan
)
72
};
73
74
#endif
ctkXnatScan::QUALITY
static const QString QUALITY
Definition:
ctkXnatScan.h:59
ctkXnatDefaultSchemaTypes::XSI_SCAN
static QString XSI_SCAN
Definition:
ctkXnatDefaultSchemaTypes.h:39
ctkXnatObject.h
ctkXnatScanFolder
Definition:
ctkXnatScanFolder.h:36
ctkXnatDefaultSchemaTypes.h
ctkXnatObject::resourceUri
virtual QString resourceUri() const =0
ctkXnatScan::TYPE
static const QString TYPE
Definition:
ctkXnatScan.h:61
ctkXnatObject::reset
virtual void reset()
ctkXnatScan::SERIES_DESCRIPTION
static const QString SERIES_DESCRIPTION
Definition:
ctkXnatScan.h:60
ctkXnatObject
Definition:
ctkXnatObject.h:44
ctkWrapPythonQt.type
type
Definition:
ctkWrapPythonQt.py:214
ctkXnatScan
Definition:
ctkXnatScan.h:37
Generated on Sat Dec 1 2018 15:40:07 for CTK by
1.8.14