19 #include <itkCommand.h>
24 unsigned int timeStep,
25 unsigned int sliceDimension,
26 unsigned int sliceIndex)
29 m_SliceIndex(sliceIndex),
30 m_SliceDimension(sliceDimension),
33 m_ImageStillValid(false),
36 if (image && diffImage)
44 m_DeleteTag = image->AddObserver(itk::DeleteEvent(), command);
54 if (m_ImageStillValid)
56 m_Image->RemoveObserver(m_DeleteTag);
62 m_ImageStillValid =
false;
itk::SmartPointer< Self > Pointer
virtual ~ApplyDiffImageOperation()
Base class of all Operation-classes.
ApplyDiffImageOperation(OperationType operationType, Image *image, Image *diffImage, unsigned int timeStep=0, unsigned int sliceDimension=2, unsigned int sliceIndex=0)
CompressedImageContainer::Pointer zlibContainer
Image class for storing images.
unsigned long m_DeleteTag
Image::Pointer GetDiffImage()
static itkEventMacro(BoundingShapeInteractionEvent, itk::AnyEvent) class MITKBOUNDINGSHAPE_EXPORT BoundingShapeInteractor Pointer New()
Basic interaction methods for mitk::GeometryData.