Medical Imaging Interaction Toolkit  2018.4.99-1640525a
Medical Imaging Interaction Toolkit
mitkImageVtkAccessor.cpp
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #include "mitkImageVtkAccessor.h"
14 
15 #include "mitkImage.h"
16 
18  : mitk::ImageVtkWriteAccessor(iP, iDI, nullptr)
19 {
20 }
21 
23 {
24  return new ImageVtkAccessor(iP, iDI);
25 }
DataCollection - Class to facilitate loading/accessing structured data.
ImageVtkAccessor class provides any image read access which is required by Vtk methods.
static ImageVtkAccessor * New(ImagePointer, const ImageDataItem *)
ImageVtkAccessor(ImagePointer iP, const ImageDataItem *iDI)
Internal class for managing references on sub-images.
ImageVtkWriteAccessor class provides any image write access which is required by Vtk methods...