20#ifndef __vtkSlicerTransformLogic_h
21#define __vtkSlicerTransformLogic_h
25#include "vtkSlicerTransformsModuleLogicExport.h"
49class vtkUnstructuredGrid;
77 vtkMatrix4x4* sliceToRAS,
78 double* fieldOfViewOrigin,
79 double* fieldOfViewSize,
80 vtkPoints* samplePositions_RAS =
nullptr);
105 bool magnitude =
true,
123 vtkMatrix4x4* ijkToRAS,
124 bool transformToWorld =
true);
134 vtkMatrix4x4* ijkToRAS,
135 bool transformToWorld =
true);
147 static void GetNodesRASBounds(
const std::vector<vtkMRMLDisplayableNode*>& nodes,
double bounds[6]);
153 static void GetNodesBounds(
const std::vector<vtkMRMLDisplayableNode*>& nodes,
double bounds[6]);
185 vtkMatrix4x4* sliceToRAS,
186 double* fieldOfViewOrigin,
187 double* fieldOfViewSize,
188 vtkPoints* samplePositions_RAS =
nullptr);
194 vtkMatrix4x4* roiToRAS,
196 vtkPoints* samplePositions_RAS =
nullptr);
202 vtkMatrix4x4* sliceToRAS,
203 double* fieldOfViewOrigin,
204 double* fieldOfViewSize);
213 vtkMatrix4x4* sliceToRAS,
214 double* fieldOfViewOrigin,
215 double* fieldOfViewSize);
238 vtkMatrix4x4* gridToRAS,
240 bool transformToWorld =
true);
248 vtkMatrix4x4* sliceToRAS,
249 double* fieldOfViewOrigin,
250 double* fieldOfViewSize,
252 int pointGroupSize = 1,
253 int* numGridPoints =
nullptr,
254 vtkPoints* samplePositions_RAS =
nullptr);
261 vtkMatrix4x4* roiToRAS,
263 double pointSpacingMm,
264 int pointGroupSize = 1,
265 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).