20#ifndef __vtkSlicerTransformLogic_h
21#define __vtkSlicerTransformLogic_h
25#include "vtkSlicerTransformsModuleLogicExport.h"
51class vtkUnstructuredGrid;
79 vtkMatrix4x4* sliceToRAS,
80 double* fieldOfViewOrigin,
81 double* fieldOfViewSize,
82 vtkPoints* samplePositions_RAS =
nullptr);
107 bool magnitude =
true,
125 vtkMatrix4x4* ijkToRAS,
126 bool transformToWorld =
true);
136 vtkMatrix4x4* ijkToRAS,
137 bool transformToWorld =
true);
149 static void GetNodesRASBounds(
const std::vector<vtkMRMLDisplayableNode*>& nodes,
double bounds[6]);
155 static void GetNodesBounds(
const std::vector<vtkMRMLDisplayableNode*>& nodes,
double bounds[6]);
184 vtkMatrix4x4* sliceToRAS,
185 double* fieldOfViewOrigin,
186 double* fieldOfViewSize,
187 vtkPoints* samplePositions_RAS =
nullptr);
193 vtkMatrix4x4* roiToRAS,
195 vtkPoints* samplePositions_RAS =
nullptr);
201 vtkMatrix4x4* sliceToRAS,
202 double* fieldOfViewOrigin,
203 double* fieldOfViewSize);
212 vtkMatrix4x4* sliceToRAS,
213 double* fieldOfViewOrigin,
214 double* fieldOfViewSize);
237 vtkMatrix4x4* gridToRAS,
239 bool transformToWorld =
true);
247 vtkMatrix4x4* sliceToRAS,
248 double* fieldOfViewOrigin,
249 double* fieldOfViewSize,
251 int pointGroupSize = 1,
252 int* numGridPoints =
nullptr,
253 vtkPoints* samplePositions_RAS =
nullptr);
260 vtkMatrix4x4* roiToRAS,
262 double pointSpacingMm,
263 int pointGroupSize = 1,
264 int* numGridPoints =
nullptr);
void PrintSelf(ostream &os, vtkIndent indent) override
Abstract Superclass for all specific types of MRML nodes.
MRML node for representing a volume (image stack).
A set of MRML Nodes that supports serialization and undo/redo.
MRML node for storing a slice through RAS space.
MRML node for representing a volume (image stack).