MeVisLab Toolbox Reference
mlDcmtkBaseObjects.h
Go to the documentation of this file.
1// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2// **InsertLicense** code
3//----------------------------------------------------------------------------------
5
11//----------------------------------------------------------------------------------
12
13
14#ifndef __mlDcmtkBaseObjects_H
15#define __mlDcmtkBaseObjects_H
16
17// Local includes
19#include "mlRTBase.h"
20#include <boost/shared_ptr.hpp>
21
22// ML includes
23#include "mlModuleIncludes.h"
24
25
27
29template<typename CT>
30class DICOMCachedIOFileHandleBase;
31typedef DICOMCachedIOFileHandleBase<char> DICOMCachedIOFileHandle;
32
33//----------------------------------------------------------------------------------
35//----------------------------------------------------------------------------------
37
38public:
43 static RTBase* createBaseObject(const DICOMCachedIOFileHandle &fileHandle, std::string *errVal);
44
46
47 static RTBase* createEmptyBaseObject(std::string modality);
48};
49
51
52#endif // __mlDcmtkBaseObjects_H
53
Project global and OS specific declarations.
#define MLDCMTKBASEOBJECTS_EXPORT
The toolkit and factory class DcmtkBaseObjects.
static RTBase * createEmptyBaseObject(std::string modality)
static RTBase * createBaseObject(const DICOMCachedIOFileHandle &fileHandle, std::string *errVal)
Factory method to create BaseObjects depending on the dcm type, currently supported are the modalitie...
static RTBase * createBaseObject(DCMTree::TreePtr dicomTreePtr, std::string *errVal)
DcmtkBase derived base object class for base objects that wrap RT related objects.
Definition mlRTBase.h:34
DcmtkBase derived base object class for base objects that wrap RT related objects.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
boost::shared_ptr< Tree > TreePtr
shared pointer to a DCMTree::Tree
Definition DCMTree_Lib.h:72
DICOMCachedIOFileHandleBase< char > DICOMCachedIOFileHandle
"Forward" to DICOMCachedIOFileHandle.