27#ifndef __vtkSlicerSegmentationGeometryLogic_h
28#define __vtkSlicerSegmentationGeometryLogic_h
31#include "vtkSlicerSegmentationsModuleLogicExport.h"
44 void PrintSelf(ostream& os, vtkIndent indent)
override;
MRML node containing segmentations.
Image data containing orientation information.
bool IsSourceSegmentationWithBinaryLabelmapMaster()
Determine if source node is a non-empty segmentation with a labelmap master.
int InputAxisIndexForSourceAxis[3]
bool InputSegmentationCanBeResampled()
Determine if input segmentation is non-empty, and with binary labelmap master.
void ComputeSourceAxisIndexForInputAxis()
std::string CalculateOutputGeometry()
std::string CalculateOutputGeometryFromBounds(bool keepCurrentAxisDirections)
void CalculatePaddedOutputGeometry()
double OversamplingFactor
vtkSlicerSegmentationGeometryLogic()
bool SetReferenceImageGeometryInSegmentationNode()
virtual void SetSourceGeometryNode(vtkMRMLDisplayableNode *node)
vtkMRMLDisplayableNode * SourceGeometryNode
vtkMRMLSegmentationNode * InputSegmentationNode
bool ResampleLabelmapsInSegmentationNode()
void PrintSelf(ostream &os, vtkIndent indent) override
static vtkSlicerSegmentationGeometryLogic * New()
int SourceAxisIndexForInputAxis[3]
~vtkSlicerSegmentationGeometryLogic() override
vtkOrientedImageData * OutputGeometryImageData
std::string CalculateOutputGeometryFromImage()
void ResetGeometryImageData()
Reset geometry image data.