21 #ifndef __vtkSlicerVolumesLogic_h 22 #define __vtkSlicerVolumesLogic_h 38 #include "vtkSlicerVolumesModuleLogicExport.h" 56 vtkSmartPointer<vtkMRMLVolumeNode>
Node;
59 vtkSmartPointer<vtkMRMLScene>
Scene;
70 void PrintSelf(ostream& os, vtkIndent indent)
override;
80 DiscardOrientation = 16
90 int IsFreeSurferVolume(
const char* filename);
104 void RegisterArchetypeVolumeNodeSetFactory(ArchetypeVolumeNodeSetFactory factory);
115 void PreRegisterArchetypeVolumeNodeSetFactory(ArchetypeVolumeNodeSetFactory factory);
127 return (this->AddArchetypeVolume( filename, volname, loadingOptions,
nullptr));
129 vtkMRMLVolumeNode* AddArchetypeVolume (
const char* filename,
const char* volname,
int loadingOptions, vtkStringArray *fileList);
132 return this->AddArchetypeVolume( filename, volname, 0,
nullptr);
137 vtkMRMLScalarVolumeNode* AddArchetypeScalarVolume(
const char* filename,
const char* volname,
int loadingOptions, vtkStringArray *fileList);
243 bool cloneImageData=
true);
248 bool cloneImageData =
true);
252 void TranslateFreeSurferRegistrationMatrixIntoSlicerRASToRASMatrix(
vtkMRMLVolumeNode *V1Node,
254 vtkMatrix4x4 *FSRegistrationMatrix,
255 vtkMatrix4x4 *ResultsMatrix);
277 vtkGetMacro(CompareVolumeGeometryEpsilon,
double);
281 void SetCompareVolumeGeometryEpsilon(
double epsilon);
286 vtkGetMacro(CompareVolumeGeometryPrecision,
int);
296 void * callData)
override;
300 const char * filename,
301 vtkStringArray *fileList,
305 int labelmap,
const char* filename);
313 const char* filename,
const char* volname,
int loadingOptions,
314 vtkStringArray *fileList);
void PrintSelf(ostream &os, vtkIndent indent) override
static vtkSlicerModuleLogic * New()
The Usual vtk class functions.
vtkSmartPointer< vtkMRMLStorageNode > StorageNode
vtkSlicerVolumesLogic Self
double CompareVolumeGeometryEpsilon
MRML node for representing a label map volume.
vtkSmartPointer< vtkMRMLVolumeDisplayNode > DisplayNode
vtkSmartPointer< vtkMRMLScene > Scene
virtual void ProcessMRMLNodesEvents(vtkObject *caller, unsigned long event, void *callData)
LoadingOptions
Loading options, bitfield.
A set of MRML Nodes that supports serialization and undo/redo.
A superclass for other storage nodes.
MRML node for representing a volume (image stack).
vtkMRMLVolumeNode * AddArchetypeVolume(const char *filename, const char *volname)
int CompareVolumeGeometryPrecision
ArchetypeVolumeNodeSet(const ArchetypeVolumeNodeSet &set)
Abstract class that contains graphical display properties for displayable nodes.
MRML node for representing a volume (image stack).
NodeSetFactoryRegistry VolumeRegistry
vtkSmartPointer< vtkMRMLVolumeNode > ActiveVolumeNode
vtkMRMLVolumeNode * AddArchetypeVolume(const char *filename, const char *volname, int loadingOptions)
ArchetypeVolumeNodeSet(vtkMRMLScene *scene)
MRML node for representing a volume display attributes.
std::list< ArchetypeVolumeNodeSetFactory > NodeSetFactoryRegistry
vtkSmartPointer< vtkMRMLVolumeNode > Node