#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
◆ 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 |
◆ GetInputAxisIndexForSourceAxis() [2/2]
virtual void vtkSlicerSegmentationGeometryLogic::GetInputAxisIndexForSourceAxis |
( |
int |
data[3] | ) |
|
|
virtual |
◆ GetInputSegmentationNode()
◆ GetIsotropicSpacing()
virtual bool vtkSlicerSegmentationGeometryLogic::GetIsotropicSpacing |
( |
| ) |
|
|
virtual |
◆ GetOutputGeometryImageData()
◆ GetOversamplingFactor()
virtual double vtkSlicerSegmentationGeometryLogic::GetOversamplingFactor |
( |
| ) |
|
|
virtual |
◆ GetSourceAxisIndexForInputAxis() [1/2]
virtual void vtkSlicerSegmentationGeometryLogic::GetSourceAxisIndexForInputAxis |
( |
int |
data[3] | ) |
|
|
virtual |
◆ GetSourceAxisIndexForInputAxis() [2/2]
virtual int* vtkSlicerSegmentationGeometryLogic::GetSourceAxisIndexForInputAxis |
( |
| ) |
|
|
virtual |
◆ GetSourceGeometryNode()
◆ GetUserSpacing() [1/2]
virtual double* vtkSlicerSegmentationGeometryLogic::GetUserSpacing |
( |
| ) |
|
|
virtual |
◆ 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()
◆ PrintSelf()
void vtkSlicerSegmentationGeometryLogic::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
|
override |
◆ 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 |
◆ SetSourceGeometryNode()
◆ SetUserSpacing()
virtual void vtkSlicerSegmentationGeometryLogic::SetUserSpacing |
( |
double |
data[] | ) |
|
|
virtual |
◆ InputAxisIndexForSourceAxis
int vtkSlicerSegmentationGeometryLogic::InputAxisIndexForSourceAxis[3] { 0, 1, 2 } |
|
protected |
◆ InputSegmentationNode
◆ IsotropicSpacing
bool vtkSlicerSegmentationGeometryLogic::IsotropicSpacing |
|
protected |
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.
Definition at line 112 of file vtkSlicerSegmentationGeometryLogic.h.
◆ OutputGeometryImageData
◆ OversamplingFactor
double vtkSlicerSegmentationGeometryLogic::OversamplingFactor |
|
protected |
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.
Definition at line 117 of file vtkSlicerSegmentationGeometryLogic.h.
◆ SourceAxisIndexForInputAxis
int vtkSlicerSegmentationGeometryLogic::SourceAxisIndexForInputAxis[3] { 0, 1, 2 } |
|
protected |
◆ SourceGeometryNode
◆ UserSpacing
double vtkSlicerSegmentationGeometryLogic::UserSpacing[3] { 1.0, 1.0, 1.0 } |
|
protected |
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)
Definition at line 121 of file vtkSlicerSegmentationGeometryLogic.h.
The documentation for this class was generated from the following file: