Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::ImageVtkAccessor Class Reference

ImageVtkAccessor class provides any image read access which is required by Vtk methods. More...

#include <mitkImageVtkAccessor.h>

Inheritance diagram for mitk::ImageVtkAccessor:
Collaboration diagram for mitk::ImageVtkAccessor:

Static Public Member Functions

static ImageVtkAccessorNew (ImagePointer, const ImageDataItem *)
 

Protected Member Functions

 ImageVtkAccessor (ImagePointer iP, const ImageDataItem *iDI)
 
- Protected Member Functions inherited from mitk::ImageVtkWriteAccessor
virtual const ImageGetImage () const override
 
- Protected Member Functions inherited from mitk::ImageAccessorBase
 ImageAccessorBase (ImageConstPointer iP, const ImageDataItem *iDI=nullptr, int OptionFlags=DefaultBehavior)
 Checks validity of given parameters from inheriting classes and stores those parameters in member variables. More...
 
void Increment ()
 Increments m_WaiterCount. A call of this method is prohibited unless the Mutex m_ReadWriteLock in the mitk::Image class is Locked. More...
 
bool Overlap (const ImageAccessorBase *iAB)
 Computes if there is an Overlap of the image part between this instantiation and another ImageAccessor object. More...
 
void WaitForReleaseOf (ImageAccessorWaitLock *wL)
 Uses the WaitLock to wait for another ImageAccessor. More...
 
void PreventRecursiveMutexLock (ImageAccessorBase *iAB)
 Prevents a recursive mutex lock by comparing thread ids of competing image accessors. More...
 

Additional Inherited Members

- Public Types inherited from mitk::ImageVtkWriteAccessor
typedef itk::SmartPointer< ImageImagePointer
 
- Public Types inherited from mitk::ImageAccessorBase
enum  Options { DefaultBehavior, ExceptionIfLocked, ForceCoherentMemory, IgnoreLock }
 defines different flags for the ImageAccessor constructors More...
 
typedef itk::SmartPointer< const mitk::ImageImageConstPointer
 
- Public Member Functions inherited from mitk::ImageVtkWriteAccessor
 ImageVtkWriteAccessor (ImagePointer iP, const ImageDataItem *iDI, vtkImageData *imageDataVtk)
 Creates an ImageVtkWriteAccessor for a whole Image. More...
 
 ~ImageVtkWriteAccessor ()
 
vtkImageData * GetVtkImageData () const
 
- Public Member Functions inherited from mitk::ImageAccessorBase
virtual ~ImageAccessorBase ()
 
const void * GetData () const
 Gives const access to the data. More...
 
- Protected Attributes inherited from mitk::ImageAccessorBase
itk::ImageRegion< 4 > * m_SubRegion
 
void * m_AddressBegin
 
void * m_AddressEnd
 
int m_Options
 Stores all extended properties of an ImageAccessor. The different flags in mitk::ImageAccessorBase::Options can be unified by bitwise operations. More...
 
bool m_CoherentMemory
 
ImageAccessorWaitLockm_WaitLock
 Pointer to a WaitLock struct, that allows other ImageAccessors to wait for this ImageAccessor. More...
 
ThreadIDType m_Thread
 

Detailed Description

ImageVtkAccessor class provides any image read access which is required by Vtk methods.

Deprecated:
(as of 2014_10) Use ImageVtkWriteAccessor instead

Definition at line 29 of file mitkImageVtkAccessor.h.

Constructor & Destructor Documentation

mitk::ImageVtkAccessor::ImageVtkAccessor ( ImagePointer  iP,
const ImageDataItem iDI 
)
protected

Definition at line 21 of file mitkImageVtkAccessor.cpp.

Member Function Documentation

mitk::ImageVtkAccessor * mitk::ImageVtkAccessor::New ( ImagePointer  iP,
const ImageDataItem iDI 
)
static

Definition at line 26 of file mitkImageVtkAccessor.cpp.


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