vtkEMSegmentLogic Class Reference

#include <vtkEMSegmentLogic.h>

Inheritance diagram for vtkEMSegmentLogic:
vtkSlicerModuleLogic vtkSlicerLogic vtkObject

List of all members.

Public Member Functions

vtkMRMLScalarVolumeNodeAddArchetypeScalarVolume (const char *filename, const char *volname, vtkSlicerApplicationLogic *appLogic, vtkMRMLScene *mrmlScene)
void AddDefaultTasksToList (const char *FilePath, std::vector< std::string > &DefaultTasksName, std::vector< std::string > &DefaultTasksFile, std::vector< std::string > &DefinePreprocessingTasksName, std::vector< std::string > &DefinePreprocessingTasksFile)
void AutoCorrectSpatialPriorWeight (vtkIdType nodeID)
virtual void CopyDataToSegmenter (vtkImageEMLocalSegmenter *segmenter)
virtual void CreateOutputVolumeNode ()
virtual bool CreatePackageDirectories (const char *packageDirectoryName)
virtual void CreatePackageFilenames (vtkMRMLScene *scene, const char *packageDirectoryName)
void DefineValidSegmentationBoundary ()
std::string GetErrorMessage ()
vtkstd::string GetTclGeneralDirectory ()
virtual vtkIntArray * NewObservableEvents ()
 Additional functionality:.
void PrintText (char *TEXT)
void PrintTextNoNewLine (char *TEXT)
virtual void ProcessMRMLEvents (vtkObject *caller, unsigned long event, void *callData)
virtual void RegisterMRMLNodesWithScene ()
virtual void SetAndObserveMRMLScene (vtkMRMLScene *scene)
virtual bool StartPreprocessingInitializeInputData ()
void StartPreprocessingResampleAndCastToTarget (vtkMRMLVolumeNode *movingVolumeNode, vtkMRMLVolumeNode *fixedVolumeNode, vtkMRMLVolumeNode *outputVolumeNode)
void SubParcelateSegmentation (vtkImageData *segmentation, vtkIdType nodeID)
 vtkGetMacro (ProgressCurrentFractionCompleted, double)
 vtkGetMacro (ProgressGlobalFractionCompleted, double)
 vtkGetObjectMacro (MRMLManager, vtkEMSegmentMRMLManager)
 vtkGetStringMacro (ProgressCurrentAction)
 vtkGetStringMacro (ModuleName)
 vtkSetStringMacro (ModuleName)
 vtkTypeMacro (vtkEMSegmentLogic, vtkSlicerModuleLogic)
virtual bool WritePackagedScene (vtkMRMLScene *scene)

Static Public Member Functions

static double GuessRegistrationBackgroundLevel (vtkMRMLVolumeNode *volumeNode)
static vtkEMSegmentLogicNew ()
 The Usual vtk class functions.
static void SlicerImageReslice (vtkMRMLVolumeNode *inputVolumeNode, vtkMRMLVolumeNode *outputVolumeNode, vtkMRMLVolumeNode *outputVolumeGeometryNode, vtkTransform *outputRASToInputRASTransform, int iterpolationType, double backgroundLevel)
static void SlicerImageResliceWithGrid (vtkMRMLVolumeNode *inputVolumeNode, vtkMRMLVolumeNode *outputVolumeNode, vtkMRMLVolumeNode *outputVolumeGeometryNode, vtkGridTransform *outputRASToInputRASTransform, int iterpolationType, double backgroundLevel)
static void TransferIJKToRAS (vtkMRMLVolumeNode *volumeNode, int ijk[3], double ras[3])
static void TransferRASToIJK (vtkMRMLVolumeNode *volumeNode, double ras[3], int ijk[3])

Protected Member Functions

virtual int ConvertGUIEnumToAlgorithmEnumInterpolationType (int guiEnumValue)
virtual int ConvertGUIEnumToAlgorithmEnumStoppingConditionType (int guiEnumValue)
virtual void CopyAtlasDataToSegmenter (vtkImageEMLocalSegmenter *segmenter)
virtual void CopyGlobalDataToSegmenter (vtkImageEMLocalSegmenter *segmenter)
virtual void CopyTargetDataToSegmenter (vtkImageEMLocalSegmenter *segmenter)
virtual void CopyTreeDataToSegmenter (vtkImageEMLocalSuperClass *node, vtkIdType nodeID)
virtual void CopyTreeGenericDataToSegmenter (vtkImageEMLocalGenericClass *node, vtkIdType nodeID)
virtual void CopyTreeLeafDataToSegmenter (vtkImageEMLocalClass *node, vtkIdType nodeID)
virtual void CopyTreeParentDataToSegmenter (vtkImageEMLocalSuperClass *node, vtkIdType nodeID)
 vtkEMSegmentLogic ()
 vtkSetMacro (ProgressCurrentFractionCompleted, double)
 vtkSetMacro (ProgressGlobalFractionCompleted, double)
 vtkSetObjectMacro (MRMLManager, vtkEMSegmentMRMLManager)
 vtkSetStringMacro (ProgressCurrentAction)
 ~vtkEMSegmentLogic ()

Static Protected Member Functions

static void ComposeGridTransform (vtkGridTransform *inGrid, vtkMatrix4x4 *preMultiply, vtkMatrix4x4 *postMultiply, vtkGridTransform *outGrid)
template<class T >
static T GuessRegistrationBackgroundLevel (vtkImageData *imageData)
static bool IsVolumeGeometryEqual (vtkMRMLVolumeNode *lhs, vtkMRMLVolumeNode *rhs)
static void PrintImageInfo (vtkImageData *image)
static void PrintImageInfo (vtkMRMLVolumeNode *volumeNode)

Protected Attributes

std::string ErrorMsg
charModuleName
vtkEMSegmentMRMLManagerMRMLManager
charProgressCurrentAction
double ProgressCurrentFractionCompleted
double ProgressGlobalFractionCompleted

Private Member Functions

void operator= (const vtkEMSegmentLogic &)
 vtkEMSegmentLogic (const vtkEMSegmentLogic &)

Constructor & Destructor Documentation

vtkEMSegmentLogic::vtkEMSegmentLogic (  )  [protected]
vtkEMSegmentLogic::~vtkEMSegmentLogic (  )  [protected]
vtkEMSegmentLogic::vtkEMSegmentLogic ( const vtkEMSegmentLogic  )  [private]

Member Function Documentation

vtkMRMLScalarVolumeNode * vtkEMSegmentLogic::AddArchetypeScalarVolume ( const char filename,
const char volname,
vtkSlicerApplicationLogic appLogic,
vtkMRMLScene mrmlScene 
)
void vtkEMSegmentLogic::AddDefaultTasksToList ( const char FilePath,
std::vector< std::string > &  DefaultTasksName,
std::vector< std::string > &  DefaultTasksFile,
std::vector< std::string > &  DefinePreprocessingTasksName,
std::vector< std::string > &  DefinePreprocessingTasksFile 
)
void vtkEMSegmentLogic::AutoCorrectSpatialPriorWeight ( vtkIdType  nodeID  ) 
void vtkEMSegmentLogic::ComposeGridTransform ( vtkGridTransform *  inGrid,
vtkMatrix4x4 *  preMultiply,
vtkMatrix4x4 *  postMultiply,
vtkGridTransform *  outGrid 
) [static, protected]
int vtkEMSegmentLogic::ConvertGUIEnumToAlgorithmEnumInterpolationType ( int  guiEnumValue  )  [protected, virtual]
int vtkEMSegmentLogic::ConvertGUIEnumToAlgorithmEnumStoppingConditionType ( int  guiEnumValue  )  [protected, virtual]
void vtkEMSegmentLogic::CopyAtlasDataToSegmenter ( vtkImageEMLocalSegmenter segmenter  )  [protected, virtual]

References MRMLManager.

Referenced by CopyDataToSegmenter().

void vtkEMSegmentLogic::CopyDataToSegmenter ( vtkImageEMLocalSegmenter segmenter  )  [virtual]
void vtkEMSegmentLogic::CopyGlobalDataToSegmenter ( vtkImageEMLocalSegmenter segmenter  )  [protected, virtual]
void vtkEMSegmentLogic::CopyTargetDataToSegmenter ( vtkImageEMLocalSegmenter segmenter  )  [protected, virtual]
void vtkEMSegmentLogic::CopyTreeDataToSegmenter ( vtkImageEMLocalSuperClass node,
vtkIdType  nodeID 
) [protected, virtual]
void vtkEMSegmentLogic::CopyTreeGenericDataToSegmenter ( vtkImageEMLocalGenericClass node,
vtkIdType  nodeID 
) [protected, virtual]
void vtkEMSegmentLogic::CopyTreeLeafDataToSegmenter ( vtkImageEMLocalClass node,
vtkIdType  nodeID 
) [protected, virtual]
void vtkEMSegmentLogic::CopyTreeParentDataToSegmenter ( vtkImageEMLocalSuperClass node,
vtkIdType  nodeID 
) [protected, virtual]
void vtkEMSegmentLogic::CreateOutputVolumeNode (  )  [virtual]
bool vtkEMSegmentLogic::CreatePackageDirectories ( const char packageDirectoryName  )  [virtual]
virtual void vtkEMSegmentLogic::CreatePackageFilenames ( vtkMRMLScene scene,
const char packageDirectoryName 
) [virtual]
void vtkEMSegmentLogic::DefineValidSegmentationBoundary (  ) 
std::string vtkEMSegmentLogic::GetErrorMessage (  )  [inline]
vtkstd::string vtkEMSegmentLogic::GetTclGeneralDirectory (  ) 
template<class T >
T vtkEMSegmentLogic::GuessRegistrationBackgroundLevel ( vtkImageData imageData  )  [inline, static, protected]

References j, and k.

double vtkEMSegmentLogic::GuessRegistrationBackgroundLevel ( vtkMRMLVolumeNode volumeNode  )  [static]
bool vtkEMSegmentLogic::IsVolumeGeometryEqual ( vtkMRMLVolumeNode lhs,
vtkMRMLVolumeNode rhs 
) [static, protected]
vtkEMSegmentLogic * vtkEMSegmentLogic::New (  )  [static]
vtkIntArray * vtkEMSegmentLogic::NewObservableEvents (  )  [virtual]

Additional functionality:.

Overload in modules that observe events, used during Loadable Module discovery. CLIENT MUST DELETE!

Reimplemented from vtkSlicerLogic.

References New(), vtkMRMLScene::NodeAddedEvent, and vtkMRMLScene::NodeRemovedEvent.

void vtkEMSegmentLogic::operator= ( const vtkEMSegmentLogic  )  [private]

Reimplemented from vtkSlicerModuleLogic.

void vtkEMSegmentLogic::PrintImageInfo ( vtkImageData image  )  [static, protected]
void vtkEMSegmentLogic::PrintImageInfo ( vtkMRMLVolumeNode volumeNode  )  [static, protected]
void vtkEMSegmentLogic::PrintText ( char TEXT  ) 
void vtkEMSegmentLogic::PrintTextNoNewLine ( char TEXT  ) 
virtual void vtkEMSegmentLogic::ProcessMRMLEvents ( vtkObject caller,
unsigned long  event,
void *  callData 
) [inline, virtual]

Reimplemented from vtkSlicerLogic.

virtual void vtkEMSegmentLogic::RegisterMRMLNodesWithScene (  )  [inline, virtual]
virtual void vtkEMSegmentLogic::SetAndObserveMRMLScene ( vtkMRMLScene scene  )  [inline, virtual]

Reimplemented from vtkSlicerLogic.

Referenced by GenerateEmptyMRMLScene(), and main().

void vtkEMSegmentLogic::SlicerImageReslice ( vtkMRMLVolumeNode inputVolumeNode,
vtkMRMLVolumeNode outputVolumeNode,
vtkMRMLVolumeNode outputVolumeGeometryNode,
vtkTransform outputRASToInputRASTransform,
int  iterpolationType,
double  backgroundLevel 
) [static]
void vtkEMSegmentLogic::SlicerImageResliceWithGrid ( vtkMRMLVolumeNode inputVolumeNode,
vtkMRMLVolumeNode outputVolumeNode,
vtkMRMLVolumeNode outputVolumeGeometryNode,
vtkGridTransform *  outputRASToInputRASTransform,
int  iterpolationType,
double  backgroundLevel 
) [static]
bool vtkEMSegmentLogic::StartPreprocessingInitializeInputData (  )  [virtual]
void vtkEMSegmentLogic::StartPreprocessingResampleAndCastToTarget ( vtkMRMLVolumeNode movingVolumeNode,
vtkMRMLVolumeNode fixedVolumeNode,
vtkMRMLVolumeNode outputVolumeNode 
)
void vtkEMSegmentLogic::SubParcelateSegmentation ( vtkImageData segmentation,
vtkIdType  nodeID 
)
void vtkEMSegmentLogic::TransferIJKToRAS ( vtkMRMLVolumeNode volumeNode,
int  ijk[3],
double  ras[3] 
) [static]
void vtkEMSegmentLogic::TransferRASToIJK ( vtkMRMLVolumeNode volumeNode,
double  ras[3],
int  ijk[3] 
) [static]
vtkEMSegmentLogic::vtkGetMacro ( ProgressCurrentFractionCompleted  ,
double   
)
vtkEMSegmentLogic::vtkGetMacro ( ProgressGlobalFractionCompleted  ,
double   
)
vtkEMSegmentLogic::vtkGetObjectMacro ( MRMLManager  ,
vtkEMSegmentMRMLManager   
)
vtkEMSegmentLogic::vtkGetStringMacro ( ProgressCurrentAction   ) 
vtkEMSegmentLogic::vtkGetStringMacro ( ModuleName   ) 

The name of the Module

Reimplemented from vtkSlicerModuleLogic.

vtkEMSegmentLogic::vtkSetMacro ( ProgressCurrentFractionCompleted  ,
double   
) [protected]
vtkEMSegmentLogic::vtkSetMacro ( ProgressGlobalFractionCompleted  ,
double   
) [protected]
vtkEMSegmentLogic::vtkSetObjectMacro ( MRMLManager  ,
vtkEMSegmentMRMLManager   
) [protected]
vtkEMSegmentLogic::vtkSetStringMacro ( ProgressCurrentAction   )  [protected]
vtkEMSegmentLogic::vtkSetStringMacro ( ModuleName   ) 

Reimplemented from vtkSlicerModuleLogic.

vtkEMSegmentLogic::vtkTypeMacro ( vtkEMSegmentLogic  ,
vtkSlicerModuleLogic   
)
bool vtkEMSegmentLogic::WritePackagedScene ( vtkMRMLScene scene  )  [virtual]

Member Data Documentation

std::string vtkEMSegmentLogic::ErrorMsg [protected]

Reimplemented from vtkSlicerModuleLogic.

Referenced by vtkEMSegmentLogic().

Referenced by vtkEMSegmentLogic().

Referenced by vtkEMSegmentLogic().

Referenced by vtkEMSegmentLogic().


The documentation for this class was generated from the following files:

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1