15 #ifndef __vtkMRMLCropVolumeParametersNode_h 16 #define __vtkMRMLCropVolumeParametersNode_h 21 #include "vtkSlicerCropVolumeModuleMRMLExport.h" 33 InterpolationNearestNeighbor = 1,
34 InterpolationLinear = 2,
35 InterpolationWindowedSinc = 3,
36 InterpolationBSpline = 4
41 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
46 virtual
void ReadXMLAttributes( const
char** atts) VTK_OVERRIDE;
49 virtual
void WriteXML(ostream& of,
int indent) VTK_OVERRIDE;
55 virtual const
char* GetNodeTagName() VTK_OVERRIDE {
return "CropVolumeParameters";}
58 void SetInputVolumeNodeID(
const char *nodeID);
60 const char *GetInputVolumeNodeID();
64 void SetOutputVolumeNodeID(
const char *nodeID);
66 const char* GetOutputVolumeNodeID();
70 void SetROINodeID(
const char *nodeID);
72 const char* GetROINodeID();
77 void SetROIAlignmentTransformNodeID(
const char *nodeID);
78 const char* GetROIAlignmentTransformNodeID();
80 void DeleteROIAlignmentTransformNode();
82 vtkSetMacro(IsotropicResampling,
bool);
83 vtkGetMacro(IsotropicResampling,
bool);
84 vtkBooleanMacro(IsotropicResampling,
bool);
86 vtkSetMacro(VoxelBased,
bool);
87 vtkGetMacro(VoxelBased,
bool);
88 vtkBooleanMacro(VoxelBased,
bool);
90 vtkSetMacro(InterpolationMode,
int);
91 vtkGetMacro(InterpolationMode,
int);
93 vtkSetMacro(SpacingScalingConst,
double);
94 vtkGetMacro(SpacingScalingConst,
double);
96 vtkSetMacro(FillValue,
double);
97 vtkGetMacro(FillValue,
double);
void operator=(const vtkMRMLNode &)
virtual vtkMRMLNode * CreateNodeInstance()=0
Create instance of the default node. Like New only virtual.
MRML node for representing a volume (image stack).
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
Abstract Superclass for all specific types of MRML nodes.
double SpacingScalingConst