31 #ifndef __vtkMRMLSliceLayerLogic_h 32 #define __vtkMRMLSliceLayerLogic_h 46 #include <vtkImageLogic.h> 47 #include <vtkImageExtractComponents.h> 48 #include <vtkVersion.h> 50 class vtkAssignAttribute;
51 class vtkImageReslice;
52 class vtkGeneralTransform;
68 void PrintSelf(ostream& os, vtkIndent indent)
override;
89 vtkGetObjectMacro (Reslice, vtkImageReslice);
90 vtkGetObjectMacro (ResliceUVW, vtkImageReslice);
95 vtkGetMacro (IsLabelLayer,
int);
96 vtkSetMacro (IsLabelLayer,
int);
97 vtkBooleanMacro (IsLabelLayer,
int);
105 vtkImageData *GetImageData();
106 vtkAlgorithmOutput *GetImageDataConnection();
110 vtkImageData *GetImageDataUVW();
111 vtkAlgorithmOutput *GetImageDataConnectionUVW();
113 void UpdateImageDisplay();
118 void UpdateTransforms();
126 void UpdateNodeReferences();
130 vtkGetObjectMacro (XYToIJKTransform, vtkGeneralTransform);
135 vtkGetMacro(InterpolationMode,
int);
136 vtkSetMacro(InterpolationMode,
int);
152 void* callData)
override;
155 void* callData)
override;
158 vtkAlgorithmOutput* GetSliceImageDataConnection();
159 vtkAlgorithmOutput* GetSliceImageDataConnectionUVW();
162 void UpdateVolumeDisplayNode();
vtkImageLabelOutline * LabelOutlineUVW
vtkGeneralTransform * UVWToIJKTransform
Superclass for MRML logic classes.
vtkAssignAttribute * AssignAttributeScalarsToTensorsUVW
void PrintSelf(ostream &os, vtkIndent indent) override
MRML node for representing a volume display attributes.
MRML node for storing a slice through RAS space.
vtkGeneralTransform * XYToIJKTransform
TODO: make this a vtkAbstractTransform for non-linear.
vtkAssignAttribute * AssignAttributeTensorsToScalars
Display labelmap outlines.
virtual void ProcessMRMLNodesEvents(vtkObject *caller, unsigned long event, void *callData)
virtual void OnMRMLNodeModified(vtkMRMLNode *)
A set of MRML Nodes that supports serialization and undo/redo.
vtkAssignAttribute * AssignAttributeScalarsToTensors
vtkImageReslice * Reslice
the VTK class instances that implement this Logic's operations
virtual void SetMRMLSceneInternal(vtkMRMLScene *newScene)
virtual void ProcessMRMLSceneEvents(vtkObject *caller, unsigned long event, void *callData)
vtkMRMLSliceNode * SliceNode
vtkMRMLVolumeNode * VolumeNode
the MRML Nodes that define this Logic's parameters
MRML node for representing a volume (image stack).
vtkMRMLVolumeDisplayNode * VolumeDisplayNodeUVW
vtkMRMLVolumeDisplayNode * VolumeDisplayNode
vtkMRMLVolumeDisplayNode * VolumeDisplayNodeObserved
vtkImageLabelOutline * LabelOutline
Abstract Superclass for all specific types of MRML nodes.
static vtkMRMLAbstractLogic * New()
vtkImageReslice * ResliceUVW