21 #ifndef __vtkSlicerVolumesLogic_h 22 #define __vtkSlicerVolumesLogic_h 36 #include "vtkSlicerVolumesModuleLogicExport.h" 54 vtkSmartPointer<vtkMRMLVolumeNode>
Node;
57 vtkSmartPointer<vtkMRMLScene>
Scene;
68 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
78 DiscardOrientation = 16
91 int IsFreeSurferVolume(
const char* filename);
105 void RegisterArchetypeVolumeNodeSetFactory(ArchetypeVolumeNodeSetFactory factory);
116 void PreRegisterArchetypeVolumeNodeSetFactory(ArchetypeVolumeNodeSetFactory factory);
128 return (this->AddArchetypeVolume( filename, volname, loadingOptions, NULL));
130 vtkMRMLVolumeNode* AddArchetypeVolume (
const char* filename,
const char* volname,
int loadingOptions, vtkStringArray *fileList);
133 return this->AddArchetypeVolume( filename, volname, 0, NULL);
138 vtkMRMLScalarVolumeNode* AddArchetypeScalarVolume(
const char* filename,
const char* volname,
int loadingOptions, vtkStringArray *fileList);
244 bool cloneImageData=
true);
249 bool cloneImageData =
true);
253 void TranslateFreeSurferRegistrationMatrixIntoSlicerRASToRASMatrix(
vtkMRMLVolumeNode *V1Node,
255 vtkMatrix4x4 *FSRegistrationMatrix,
256 vtkMatrix4x4 *ResultsMatrix);
278 vtkGetMacro(CompareVolumeGeometryEpsilon,
double);
282 void SetCompareVolumeGeometryEpsilon(
double epsilon);
287 vtkGetMacro(CompareVolumeGeometryPrecision,
int);
295 virtual void ProcessMRMLNodesEvents(vtkObject * caller,
297 void * callData) VTK_OVERRIDE;
301 const char * filename,
302 vtkStringArray *fileList,
306 int labelmap,
const char* filename);
313 const NodeSetFactoryRegistry& volumeRegistry,
314 const char* filename,
const char* volname,
int loadingOptions,
315 vtkStringArray *fileList);
vtkSmartPointer< vtkMRMLColorLogic > ColorLogic
vtkSmartPointer< vtkMRMLStorageNode > StorageNode
vtkSlicerVolumesLogic Self
double CompareVolumeGeometryEpsilon
MRML node for representing a label map volume.
vtkSmartPointer< vtkMRMLVolumeDisplayNode > DisplayNode
MRML logic class for color manipulation.
vtkSmartPointer< vtkMRMLScene > Scene
LoadingOptions
Loading options, bitfield.
A set of MRML Nodes that supports serialization and undo/redo.
A supercalss 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