#include <Modules/Loadable/Segmentations/Logic/vtkSlicerSegmentationGeometryLogic.h>
◆ Superclass
◆ vtkSlicerSegmentationGeometryLogic()
vtkSlicerSegmentationGeometryLogic::vtkSlicerSegmentationGeometryLogic |
( |
| ) |
|
|
protected |
◆ ~vtkSlicerSegmentationGeometryLogic()
vtkSlicerSegmentationGeometryLogic::~vtkSlicerSegmentationGeometryLogic |
( |
| ) |
|
|
overrideprotected |
◆ CalculateOutputGeometry()
std::string vtkSlicerSegmentationGeometryLogic::CalculateOutputGeometry |
( |
| ) |
|
Calculate output geometry into
- See also
- GeometryImageData with current options
- Returns
- Error message. Empty when successful
◆ CalculateOutputGeometryFromBounds()
std::string vtkSlicerSegmentationGeometryLogic::CalculateOutputGeometryFromBounds |
( |
bool |
keepCurrentAxisDirections | ) |
|
|
protected |
Calculate output geometry into
- See also
- GeometryImageData with current options from node bounds. If keepCurrentAxisDirections is true then the current axes directions will be preserved, otherwise the source axes directions are used.
- Returns
- Error message. Empty when successful
◆ CalculateOutputGeometryFromImage()
std::string vtkSlicerSegmentationGeometryLogic::CalculateOutputGeometryFromImage |
( |
| ) |
|
|
protected |
Calculate output geometry into
- See also
- GeometryImageData with current options from image or segmentation that uses labelmap as master representation.
- Returns
- Error message. Empty when successful
◆ CalculatePaddedOutputGeometry()
void vtkSlicerSegmentationGeometryLogic::CalculatePaddedOutputGeometry |
( |
| ) |
|
|
protected |
◆ ComputeSourceAxisIndexForInputAxis()
void vtkSlicerSegmentationGeometryLogic::ComputeSourceAxisIndexForInputAxis |
( |
| ) |
|
Match the axes of the input labelmap to the axes of the transformed source node. Use this calculated permutation for updating spacing widget from geometry and interpreting spacing input
◆ GetClassName()
virtual const char* vtkSlicerSegmentationGeometryLogic::GetClassName |
( |
| ) |
|
|
virtual |
◆ GetInputAxisIndexForSourceAxis() [1/2]
virtual int* vtkSlicerSegmentationGeometryLogic::GetInputAxisIndexForSourceAxis |
( |
| ) |
|
|
virtual |
Source to input axes mapping.
- See also
- matchInputAndSourceAxes
◆ GetInputAxisIndexForSourceAxis() [2/2]
virtual void vtkSlicerSegmentationGeometryLogic::GetInputAxisIndexForSourceAxis |
( |
int |
data[3] | ) |
|
|
virtual |
◆ GetInputSegmentationNode()
Input segmentation MRML node to modify the labelmap geometry of.
◆ GetIsotropicSpacing()
virtual bool vtkSlicerSegmentationGeometryLogic::GetIsotropicSpacing |
( |
| ) |
|
|
virtual |
Flag indicating whether isotropic spacing is requested. Off by default Resample the volume to have isotropic spacing, which means the voxels will be cubes. Use smallest spacing. Useful if the volume has elongated voxels.
◆ GetOutputGeometryImageData()
Oriented image data containing output geometry. This is what the class calculates from the inputs.
◆ GetOversamplingFactor()
virtual double vtkSlicerSegmentationGeometryLogic::GetOversamplingFactor |
( |
| ) |
|
|
virtual |
Oversampling factor: Split each voxel of the volume to this many voxels along each direction. Useful when increasing the resolution is needed 1 by default.
◆ GetPadOutputGeometry()
virtual bool vtkSlicerSegmentationGeometryLogic::GetPadOutputGeometry |
( |
| ) |
|
|
virtual |
If enabled then the output geometry extent is padded as needed to ensure that the input segmentation extent fits into the output. Enabled by default.
◆ GetSourceAxisIndexForInputAxis() [1/2]
virtual int* vtkSlicerSegmentationGeometryLogic::GetSourceAxisIndexForInputAxis |
( |
| ) |
|
|
virtual |
Source to input axes mapping.
- See also
- matchInputAndSourceAxes
◆ GetSourceAxisIndexForInputAxis() [2/2]
virtual void vtkSlicerSegmentationGeometryLogic::GetSourceAxisIndexForInputAxis |
( |
int |
data[3] | ) |
|
|
virtual |
◆ GetSourceGeometryNode()
MRML node specifying the source geometry.
◆ GetUserSpacing() [1/2]
virtual double* vtkSlicerSegmentationGeometryLogic::GetUserSpacing |
( |
| ) |
|
|
virtual |
Explicitly specified spacing. Only applied if
- See also
- SourceGeometryNode does not contain volume data (i.e. not a volume node nor a segmentation node with labelmap master, but an ROI, model, or segmentation with poly data master)
◆ GetUserSpacing() [2/2]
virtual void vtkSlicerSegmentationGeometryLogic::GetUserSpacing |
( |
double |
data[3] | ) |
|
|
virtual |
◆ InputSegmentationCanBeResampled()
bool vtkSlicerSegmentationGeometryLogic::InputSegmentationCanBeResampled |
( |
| ) |
|
Determine if input segmentation is non-empty, and with binary labelmap master.
◆ IsA()
virtual int vtkSlicerSegmentationGeometryLogic::IsA |
( |
const char * |
type | ) |
|
|
virtual |
◆ IsotropicSpacingOff()
virtual void vtkSlicerSegmentationGeometryLogic::IsotropicSpacingOff |
( |
| ) |
|
|
virtual |
◆ IsotropicSpacingOn()
virtual void vtkSlicerSegmentationGeometryLogic::IsotropicSpacingOn |
( |
| ) |
|
|
virtual |
◆ IsSourceSegmentationWithBinaryLabelmapMaster()
bool vtkSlicerSegmentationGeometryLogic::IsSourceSegmentationWithBinaryLabelmapMaster |
( |
| ) |
|
Determine if source node is a non-empty segmentation with a labelmap master.
◆ IsTypeOf()
static int vtkSlicerSegmentationGeometryLogic::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
◆ New()
◆ PadOutputGeometryOff()
virtual void vtkSlicerSegmentationGeometryLogic::PadOutputGeometryOff |
( |
| ) |
|
|
virtual |
◆ PadOutputGeometryOn()
virtual void vtkSlicerSegmentationGeometryLogic::PadOutputGeometryOn |
( |
| ) |
|
|
virtual |
◆ PrintSelf()
void vtkSlicerSegmentationGeometryLogic::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
|
override |
◆ ResampleLabelmapsInSegmentationNode()
bool vtkSlicerSegmentationGeometryLogic::ResampleLabelmapsInSegmentationNode |
( |
| ) |
|
Resample labelmap representation the input segmentation node according to the current output geometry setting.
◆ ResetGeometryImageData()
void vtkSlicerSegmentationGeometryLogic::ResetGeometryImageData |
( |
| ) |
|
Reset geometry image data.
- See also
- GeometryImageData
◆ SafeDownCast()
◆ SetInputSegmentationNode()
◆ SetIsotropicSpacing()
virtual void vtkSlicerSegmentationGeometryLogic::SetIsotropicSpacing |
( |
bool |
| ) |
|
|
virtual |
◆ SetOversamplingFactor()
virtual void vtkSlicerSegmentationGeometryLogic::SetOversamplingFactor |
( |
double |
| ) |
|
|
virtual |
◆ SetPadOutputGeometry()
virtual void vtkSlicerSegmentationGeometryLogic::SetPadOutputGeometry |
( |
bool |
| ) |
|
|
virtual |
◆ SetSourceGeometryNode()
◆ SetUserSpacing()
virtual void vtkSlicerSegmentationGeometryLogic::SetUserSpacing |
( |
double |
data[] | ) |
|
|
virtual |
◆ InputAxisIndexForSourceAxis
int vtkSlicerSegmentationGeometryLogic::InputAxisIndexForSourceAxis[3] { 0, 1, 2 } |
|
protected |
◆ InputSegmentationNode
◆ IsotropicSpacing
bool vtkSlicerSegmentationGeometryLogic::IsotropicSpacing { false } |
|
protected |
◆ OutputGeometryImageData
◆ OversamplingFactor
double vtkSlicerSegmentationGeometryLogic::OversamplingFactor { 1.0 } |
|
protected |
◆ PadOutputGeometry
bool vtkSlicerSegmentationGeometryLogic::PadOutputGeometry { true } |
|
protected |
◆ SourceAxisIndexForInputAxis
int vtkSlicerSegmentationGeometryLogic::SourceAxisIndexForInputAxis[3] { 0, 1, 2 } |
|
protected |
◆ SourceGeometryNode
◆ UserSpacing
double vtkSlicerSegmentationGeometryLogic::UserSpacing[3] { 1.0, 1.0, 1.0 } |
|
protected |
The documentation for this class was generated from the following file: