Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkLegacyAdaptors.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 #ifndef _mitkLegacyAdaptors_h_
17 #define _mitkLegacyAdaptors_h_
18 
19 #include "mitkCommon.h"
21 
22 #include "mitkImage.h"
23 #include "mitkImageWriteAccessor.h"
24 #include <mitkIpPic.h>
25 
40 namespace mitk
41 {
50  mitkIpPicDescriptor *picDesc);
51 
63  mitkIpPicDescriptor *picDesc);
64 
74  mitkIpPicDescriptor *picDesc));
75 
89 
96 
104 
113 
114 } // end namespace mitk
115 
116 #endif
MITKLEGACYADAPTORS_EXPORT mitk::ImageDescriptor::Pointer CastToImageDescriptor(mitkIpPicDescriptor *desc)
Constructs an ImageDescriptor from legacy mitkIpPicDescriptor.
DataCollection - Class to facilitate loading/accessing structured data.
MITKLEGACYADAPTORS_EXPORT PixelType CastToPixelType(mitkIpPicType_t pictype, vcl_size_t bpe)
Returns a mitk::PixelType object corresponding to given mitkIpPicType_t.
mitkIpPicType_t
Definition: mitkIpPic.h:733
MITKLEGACYADAPTORS_EXPORT mitkIpPicType_t CastToIpPicType(int componentType)
Constructs a legacy type information from mitk::PixelType.
#define DEPRECATED(func)
Definition: mitkCommon.h:183
#define MITKLEGACYADAPTORS_EXPORT
MITKLEGACYADAPTORS_EXPORT mitkIpPicDescriptor * CastToIpPicDescriptor(mitk::Image::Pointer, mitk::ImageWriteAccessor *, mitkIpPicDescriptor *picDesc)
Constructs a legacy mitkIpPicDescriptor from mitk::Image.
unsigned short PixelType
ImageWriteAccessor class to get locked write-access for a particular image part.