Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkLegacyAdaptors.h File Reference
#include "mitkCommon.h"
#include <MitkLegacyAdaptorsExports.h>
#include "mitkImage.h"
#include "mitkImageWriteAccessor.h"
#include <mitkIpPic.h>

Go to the source code of this file.

Namespaces

 mitk
 DataCollection - Class to facilitate loading/accessing structured data.
 

Functions

MITKLEGACYADAPTORS_EXPORT mitkIpPicDescriptormitk::CastToIpPicDescriptor (mitk::Image::Pointer, mitk::ImageWriteAccessor *, mitkIpPicDescriptor *picDesc)
 Constructs a legacy mitkIpPicDescriptor from mitk::Image. More...
 
MITKLEGACYADAPTORS_EXPORT mitkIpPicDescriptormitk::CastToIpPicDescriptor (itk::SmartPointer< mitk::ImageDataItem >, mitk::ImageWriteAccessor *, mitkIpPicDescriptor *picDesc)
 Constructs a legacy mitkIpPicDescriptor from mitk::ImageDataItem. More...
 
MITKLEGACYADAPTORS_EXPORT mitkIpPicDescriptormitk::CastToIpPicDescriptor (mitk::Image::Pointer, mitkIpPicDescriptor *picDesc)
 Constructs a deprecated legacy mitkIpPicDescriptor from mitk::Image. More...
 
MITKLEGACYADAPTORS_EXPORT mitkIpPicDescriptormitk::CastToIpPicDescriptor (itk::SmartPointer< mitk::ImageDataItem >, mitkIpPicDescriptor *picDesc)
 Constructs a deprecated legacy mitkIpPicDescriptor from mitk::ImageDataItem. More...
 
MITKLEGACYADAPTORS_EXPORT mitk::ImageDescriptor::Pointer mitk::CastToImageDescriptor (mitkIpPicDescriptor *desc)
 Constructs an ImageDescriptor from legacy mitkIpPicDescriptor. More...
 
MITKLEGACYADAPTORS_EXPORT mitkIpPicType_t mitk::CastToIpPicType (int componentType)
 Constructs a legacy type information from mitk::PixelType. More...
 
MITKLEGACYADAPTORS_EXPORT PixelType mitk::CastToPixelType (mitkIpPicType_t pictype, vcl_size_t bpe)
 Returns a mitk::PixelType object corresponding to given mitkIpPicType_t. More...
 

Detailed Description

The LegacyAdaptors module is intended to provide an interface to deprecated types/objects/methods as part of backward compatibility Currently the module offers methods for casting an Image or an ImageDataItem respectively to a mitkIpPicDescriptor object since several Algorigthms in MITK Modules still use the deprecated IpPic format and algorithms.

Warning
The IpPic-related classes are no more accessible through the Core Module. The dependencies needs to be set directly for the affected module. Furthermore, if you want to cast information between mitk::Image and mitkIpPicDescriptor, also the dependency to the LegacyAdaptors module needs to be set.

Definition in file mitkLegacyAdaptors.h.