Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkSlicerFiducialsLogic Class Reference

#include <Base/Logic/vtkSlicerFiducialsLogic.h>

Inheritance diagram for vtkSlicerFiducialsLogic:
Inheritance graph
[legend]
Collaboration diagram for vtkSlicerFiducialsLogic:
Collaboration graph
[legend]

Public Types

typedef vtkMRMLAbstractLogic Superclass
 
- Public Types inherited from vtkMRMLAbstractLogic
typedef vtkObject Superclass
 
typedef void(vtkMRMLAbstractLogic::* TaskFunctionPointer) (void *clientdata)
 

Public Member Functions

int AddFiducial (float x, float y, float z)
 
vtkMRMLFiducialListNodeAddFiducialList ()
 
void AddFiducialListSelected ()
 Create new mrml node for a full list, make it the selected list, and clear up local pointers. More...
 
int AddFiducialPicked (float x, float y, float z, int selected=0)
 
int AddFiducialSelected (float x, float y, float z, int selected)
 
virtual const char * GetClassName ()
 
vtkMRMLFiducialListNodeGetSelectedList ()
 
virtual int IsA (const char *type)
 
vtkMRMLFiducialListNodeLoadFiducialList (const char *path)
 Load a fiducial list from file, returns NULL on failure. More...
 
void PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE
 
- Public Member Functions inherited from vtkMRMLAbstractLogic
virtual vtkMRMLApplicationLogicGetMRMLApplicationLogic () const
 Get access to overall application state. More...
 
vtkMRMLSceneGetMRMLScene () const
 Return a reference to the current MRML scene. More...
 
void PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE
 
virtual void SetMRMLApplicationLogic (vtkMRMLApplicationLogic *logic)
 
void SetMRMLScene (vtkMRMLScene *newScene)
 Set and observe the MRMLScene. More...
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkSlicerFiducialsLogicNew ()
 The Usual vtk class functions. More...
 
static vtkSlicerFiducialsLogicSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkMRMLAbstractLogic
static int IsTypeOf (const char *type)
 
static vtkMRMLAbstractLogicNew ()
 
static vtkMRMLAbstractLogicSafeDownCast (vtkObject *o)
 

Protected Member Functions

void operator= (const vtkSlicerFiducialsLogic &)
 
 vtkSlicerFiducialsLogic ()
 
 vtkSlicerFiducialsLogic (const vtkSlicerFiducialsLogic &)
 
 ~vtkSlicerFiducialsLogic ()
 
- Protected Member Functions inherited from vtkMRMLAbstractLogic
int EndModify (bool wasModifying)
 
virtual bool EnterMRMLLogicsCallback () const
 
virtual bool EnterMRMLNodesCallback () const
 
virtual bool EnterMRMLSceneCallback () const
 
bool GetDisableModifiedEvent () const
 
int GetInMRMLLogicsCallbackFlag () const
 
int GetInMRMLNodesCallbackFlag () const
 
int GetInMRMLSceneCallbackFlag () const
 
vtkCallbackCommand * GetMRMLLogicsCallbackCommand ()
 
vtkObserverManagerGetMRMLLogicsObserverManager () const
 
vtkCallbackCommand * GetMRMLNodesCallbackCommand ()
 
vtkObserverManagerGetMRMLNodesObserverManager () const
 
vtkCallbackCommand * GetMRMLSceneCallbackCommand ()
 
vtkObserverManagerGetMRMLSceneObserverManager () const
 
int GetPendingModifiedEventCount () const
 
int GetProcessingMRMLSceneEvent () const
 Return the event id currently processed or 0 if any. More...
 
int InvokePendingModifiedEvent ()
 
virtual void Modified () VTK_OVERRIDE
 
virtual void ObserveMRMLScene ()
 
virtual void OnMRMLNodeModified (vtkMRMLNode *)
 
virtual void OnMRMLSceneEndBatchProcess ()
 
virtual void OnMRMLSceneEndClose ()
 
virtual void OnMRMLSceneEndImport ()
 
virtual void OnMRMLSceneEndRestore ()
 
virtual void OnMRMLSceneNew ()
 
virtual void OnMRMLSceneNodeAdded (vtkMRMLNode *)
 
virtual void OnMRMLSceneNodeRemoved (vtkMRMLNode *)
 
virtual void OnMRMLSceneStartBatchProcess ()
 
virtual void OnMRMLSceneStartClose ()
 
virtual void OnMRMLSceneStartImport ()
 
virtual void OnMRMLSceneStartRestore ()
 
virtual void ProcessMRMLLogicsEvents (vtkObject *caller, unsigned long event, void *callData)
 
virtual void ProcessMRMLNodesEvents (vtkObject *caller, unsigned long event, void *callData)
 
virtual void ProcessMRMLSceneEvents (vtkObject *caller, unsigned long event, void *callData)
 
virtual void RegisterNodes ()
 
void SetAndObserveMRMLSceneEventsInternal (vtkMRMLScene *newScene, vtkIntArray *events, vtkFloatArray *priorities=0)
 
void SetDisableModifiedEvent (bool onOff)
 
void SetInMRMLLogicsCallbackFlag (int flag)
 
void SetInMRMLNodesCallbackFlag (int flag)
 
void SetInMRMLSceneCallbackFlag (int flag)
 
virtual void SetMRMLSceneInternal (vtkMRMLScene *newScene)
 
void SetProcessingMRMLSceneEvent (int event)
 
bool StartModify ()
 
virtual void UnobserveMRMLScene ()
 
virtual void UpdateFromMRMLScene ()
 
 vtkMRMLAbstractLogic ()
 
virtual ~vtkMRMLAbstractLogic ()
 

Additional Inherited Members

- Static Protected Member Functions inherited from vtkMRMLAbstractLogic
static void MRMLLogicsCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData)
 MRMLLogicCallback is a static function to relay modified events from the logics. More...
 
static void MRMLNodesCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData)
 MRMLNodesCallback is a static function to relay modified events from the nodes. More...
 
static void MRMLSceneCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData)
 

Detailed Description

Definition at line 31 of file vtkSlicerFiducialsLogic.h.

Member Typedef Documentation

◆ Superclass

Definition at line 37 of file vtkSlicerFiducialsLogic.h.

Constructor & Destructor Documentation

◆ vtkSlicerFiducialsLogic() [1/2]

vtkSlicerFiducialsLogic::vtkSlicerFiducialsLogic ( )
protected

◆ ~vtkSlicerFiducialsLogic()

vtkSlicerFiducialsLogic::~vtkSlicerFiducialsLogic ( )
protected

◆ vtkSlicerFiducialsLogic() [2/2]

vtkSlicerFiducialsLogic::vtkSlicerFiducialsLogic ( const vtkSlicerFiducialsLogic )
protected

Member Function Documentation

◆ AddFiducial()

int vtkSlicerFiducialsLogic::AddFiducial ( float  x,
float  y,
float  z 
)

Add a fiducial to the currently selected list, as kept in the vtkMRMLSelectionNode Returns the index of the new fiducial in the list, -1 on failure AddFiducialSelected includes a selected flag option, AddFiducial calls AddFiducialSelected with selected set to false.

◆ AddFiducialList()

vtkMRMLFiducialListNode* vtkSlicerFiducialsLogic::AddFiducialList ( )

Create new mrml node and associated display node for a full list, return the node

◆ AddFiducialListSelected()

void vtkSlicerFiducialsLogic::AddFiducialListSelected ( )

Create new mrml node for a full list, make it the selected list, and clear up local pointers.

◆ AddFiducialPicked()

int vtkSlicerFiducialsLogic::AddFiducialPicked ( float  x,
float  y,
float  z,
int  selected = 0 
)

Add a fiducial, but transform it first by the inverse of any transformation node on the list. Called by Pick methods. Calls AddFiducialSelected with the transformed x,y,z and same selected flag (defaults to 0).

◆ AddFiducialSelected()

int vtkSlicerFiducialsLogic::AddFiducialSelected ( float  x,
float  y,
float  z,
int  selected 
)

◆ GetClassName()

virtual const char* vtkSlicerFiducialsLogic::GetClassName ( )
virtual

Reimplemented from vtkMRMLAbstractLogic.

◆ GetSelectedList()

vtkMRMLFiducialListNode* vtkSlicerFiducialsLogic::GetSelectedList ( )

Get the currently selected list from the scene. Returns NULL if no selection node or no active fiducial list id is set on the selection node.

◆ IsA()

virtual int vtkSlicerFiducialsLogic::IsA ( const char *  type)
virtual

Reimplemented from vtkMRMLAbstractLogic.

◆ IsTypeOf()

static int vtkSlicerFiducialsLogic::IsTypeOf ( const char *  type)
static

◆ LoadFiducialList()

vtkMRMLFiducialListNode* vtkSlicerFiducialsLogic::LoadFiducialList ( const char *  path)

Load a fiducial list from file, returns NULL on failure.

◆ New()

static vtkSlicerFiducialsLogic* vtkSlicerFiducialsLogic::New ( )
static

The Usual vtk class functions.

◆ operator=()

void vtkSlicerFiducialsLogic::operator= ( const vtkSlicerFiducialsLogic )
protected

◆ PrintSelf()

void vtkSlicerFiducialsLogic::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

◆ SafeDownCast()

static vtkSlicerFiducialsLogic* vtkSlicerFiducialsLogic::SafeDownCast ( vtkObject *  o)
static

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