27 #ifndef __vtkSlicerSegmentationGeometryLogic_h 28 #define __vtkSlicerSegmentationGeometryLogic_h 31 #include "vtkSlicerSegmentationsModuleLogicExport.h" 45 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
49 std::string CalculateOutputGeometry();
52 bool IsSourceSegmentationWithBinaryLabelmapMaster();
55 bool InputSegmentationCanBeResampled();
59 void ComputeSourceAxisIndexForInputAxis();
64 void ResetGeometryImageData();
72 vtkGetMacro(IsotropicSpacing,
bool);
73 vtkSetMacro(IsotropicSpacing,
bool);
74 vtkBooleanMacro(IsotropicSpacing,
bool);
76 vtkGetMacro(OversamplingFactor,
double);
77 vtkSetMacro(OversamplingFactor,
double);
79 vtkGetVectorMacro(UserSpacing,
double, 3);
80 vtkSetVectorMacro(UserSpacing,
double, 3);
82 vtkGetVectorMacro(InputAxisIndexForSourceAxis,
int, 3);
84 vtkGetVectorMacro(SourceAxisIndexForInputAxis,
int, 3);
109 double UserSpacing[3];
115 int InputAxisIndexForSourceAxis[3];
117 int SourceAxisIndexForInputAxis[3];
vtkMRMLDisplayableNode * SourceGeometryNode
MRML node specifying the source geometry.
Image data containing orientation information.
double OversamplingFactor
vtkMRMLSegmentationNode * InputSegmentationNode
Input segmentation MRML node to modify the labelmap geometry of.
vtkOrientedImageData * OutputGeometryImageData
Oriented image data containing output geometry. This is what the class calculates from the inputs...
MRML node containing segmentationsSegmentation node stores a set of segments (also known as contours ...