Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
itk::ImportMitkImageContainer< TElementIdentifier, TElement > Class Template Reference

Defines an itk::Image front-end to an mitk::Image. More...

#include <itkImportMitkImageContainer.h>

Inheritance diagram for itk::ImportMitkImageContainer< TElementIdentifier, TElement >:
Collaboration diagram for itk::ImportMitkImageContainer< TElementIdentifier, TElement >:

Public Types

typedef ImportMitkImageContainer Self
 
typedef Object Superclass
 
typedef SmartPointer< Self > Pointer
 
typedef SmartPointer< const Self > ConstPointer
 
typedef TElementIdentifier ElementIdentifier
 
typedef TElement Element
 

Public Member Functions

Pointer Clone () const
 
virtual const char * GetClassName () const
 
void SetImageAccessor (mitk::ImageAccessorBase *imageAccess, size_t noBytes)
 ‍** Get the pointer from which the image data is imported. *‍/ More...
 

Static Public Member Functions

static Pointer New ()
 

Protected Member Functions

 ImportMitkImageContainer ()
 Default constructor. Initializes the image accessor to nullptr. More...
 
 ~ImportMitkImageContainer () override
 Destructor. Deletes the owned image accessor. More...
 
void PrintSelf (std::ostream &os, Indent indent) const override
 

Detailed Description

template<typename TElementIdentifier, typename TElement>
class itk::ImportMitkImageContainer< TElementIdentifier, TElement >

Defines an itk::Image front-end to an mitk::Image.

This container conforms to the ImageContainerInterface. This is a full-fledged Object, so there is modification time, debug, and reference count information.

Template parameters for ImportMitkImageContainer:

TElementIdentifier = An INTEGRAL type for use in indexing the imported buffer.

TElement = The element type stored in the container.

Definition at line 38 of file itkImportMitkImageContainer.h.

Member Typedef Documentation

◆ ConstPointer

template<typename TElementIdentifier , typename TElement >
typedef SmartPointer<const Self> itk::ImportMitkImageContainer< TElementIdentifier, TElement >::ConstPointer

Definition at line 45 of file itkImportMitkImageContainer.h.

◆ Element

template<typename TElementIdentifier , typename TElement >
typedef TElement itk::ImportMitkImageContainer< TElementIdentifier, TElement >::Element

Definition at line 49 of file itkImportMitkImageContainer.h.

◆ ElementIdentifier

template<typename TElementIdentifier , typename TElement >
typedef TElementIdentifier itk::ImportMitkImageContainer< TElementIdentifier, TElement >::ElementIdentifier

Save the template parameters.

Definition at line 48 of file itkImportMitkImageContainer.h.

◆ Pointer

template<typename TElementIdentifier , typename TElement >
typedef SmartPointer<Self> itk::ImportMitkImageContainer< TElementIdentifier, TElement >::Pointer

Definition at line 44 of file itkImportMitkImageContainer.h.

◆ Self

template<typename TElementIdentifier , typename TElement >
typedef ImportMitkImageContainer itk::ImportMitkImageContainer< TElementIdentifier, TElement >::Self

Standard class typedefs.

Definition at line 42 of file itkImportMitkImageContainer.h.

◆ Superclass

template<typename TElementIdentifier , typename TElement >
typedef Object itk::ImportMitkImageContainer< TElementIdentifier, TElement >::Superclass

Definition at line 43 of file itkImportMitkImageContainer.h.

Constructor & Destructor Documentation

◆ ImportMitkImageContainer()

template<typename TElementIdentifier , typename TElement >
itk::ImportMitkImageContainer< TElementIdentifier, TElement >::ImportMitkImageContainer ( )
protected

Default constructor. Initializes the image accessor to nullptr.

◆ ~ImportMitkImageContainer()

template<typename TElementIdentifier , typename TElement >
itk::ImportMitkImageContainer< TElementIdentifier, TElement >::~ImportMitkImageContainer ( )
overrideprotected

Destructor. Deletes the owned image accessor.

Member Function Documentation

◆ Clone()

template<typename TElementIdentifier , typename TElement >
Pointer itk::ImportMitkImageContainer< TElementIdentifier, TElement >::Clone ( ) const

◆ GetClassName()

template<typename TElementIdentifier , typename TElement >
virtual const char* itk::ImportMitkImageContainer< TElementIdentifier, TElement >::GetClassName ( ) const
virtual

Standard part of every itk Object.

◆ New()

template<typename TElementIdentifier , typename TElement >
static Pointer itk::ImportMitkImageContainer< TElementIdentifier, TElement >::New ( )
static

Method for creation through the object factory.

◆ PrintSelf()

template<typename TElementIdentifier , typename TElement >
void itk::ImportMitkImageContainer< TElementIdentifier, TElement >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotected

PrintSelf routine. Normally this is a protected internal method. It is made public here so that Image can call this method. Users should not call this method but should call Print() instead.

◆ SetImageAccessor()

template<typename TElementIdentifier , typename TElement >
void itk::ImportMitkImageContainer< TElementIdentifier, TElement >::SetImageAccessor ( mitk::ImageAccessorBase *  imageAccess,
size_t  noBytes 
)

‍** Get the pointer from which the image data is imported. *‍/

Set the image accessor from which data is imported.

Stores the given image accessor and configures the import pointer to reference its underlying data buffer.

Parameters
imageAccessPointer to the mitk::ImageAccessorBase providing access to the image data.
noBytesSize of the image data buffer in bytes.

The documentation for this class was generated from the following file: