Slicer 5.9
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
vtkSlicerReformatLogic Class Reference

#include <Modules/Loadable/Reformat/Logic/vtkSlicerReformatLogic.h>

Inheritance diagram for vtkSlicerReformatLogic:
Collaboration diagram for vtkSlicerReformatLogic:

Public Types

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

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
- Public Member Functions inherited from vtkSlicerModuleLogic
virtual vtkSlicerApplicationLogicGetApplicationLogic ()
 Get access to overall application state.
 
virtual vtkMRMLAbstractLogicGetModuleLogic (const char *moduleName)
 Convenience method for getting another module's logic from the application logic.
 
std::string GetModuleShareDirectory () const
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
void SetModuleShareDirectory (const std::string &shareDirectory)
 
- Public Member Functions inherited from vtkMRMLAbstractLogic
virtual vtkMRMLApplicationLogicGetMRMLApplicationLogic () const
 Get access to overall application state.
 
vtkMRMLSceneGetMRMLScene () const
 Return a reference to the current MRML scene.
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
virtual void SetMRMLApplicationLogic (vtkMRMLApplicationLogic *logic)
 
void SetMRMLScene (vtkMRMLScene *newScene)
 Set and observe the MRMLScene.
 

Static Public Member Functions

static void GetCenterFromBounds (double bounds[6], double center[3])
 Compute the center from a bounds.
 
static void GetVolumeBounds (vtkMRMLSliceNode *node, double bounds[6])
 Compute and return the volume bounding box.
 
static int IsTypeOf (const char *type)
 
static vtkSlicerReformatLogicNew ()
 
static void RotateSlice (vtkMRMLSliceNode *node, int axisIndex, double rotationAngleDeg)
 
static vtkSlicerReformatLogicSafeDownCast (vtkObject *o)
 
static void SetSliceNormal (vtkMRMLSliceNode *node, double normal[3])
 
static void SetSliceNormal (vtkMRMLSliceNode *node, double x, double y, double z)
 Set the normal to the plane of the slice node.
 
static void SetSliceOrigin (vtkMRMLSliceNode *node, double position[3])
 
static void SetSliceOrigin (vtkMRMLSliceNode *node, double x, double y, double z)
 Set the world coordinate origin position.
 
- Static Public Member Functions inherited from vtkSlicerModuleLogic
static int IsTypeOf (const char *type)
 
static vtkSlicerModuleLogicNew ()
 The Usual vtk class functions.
 
static vtkSlicerModuleLogicSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkMRMLAbstractLogic
static int IsTypeOf (const char *type)
 
static vtkMRMLAbstractLogicNew ()
 
static vtkMRMLAbstractLogicSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkSlicerReformatLogic ()
 
 ~vtkSlicerReformatLogic () override
 
- Protected Member Functions inherited from vtkSlicerModuleLogic
 vtkSlicerModuleLogic ()
 
 ~vtkSlicerModuleLogic () override
 
- 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.
 
int InvokePendingModifiedEvent ()
 
void Modified () 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=nullptr)
 
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 ()
 
 ~vtkMRMLAbstractLogic () override
 

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.
 
static void MRMLNodesCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData)
 MRMLNodesCallback is a static function to relay modified events from the nodes.
 
static void MRMLSceneCallback (vtkObject *caller, unsigned long eid, void *clientData, void *callData)
 

Detailed Description

Definition at line 41 of file vtkSlicerReformatLogic.h.

Member Typedef Documentation

◆ Self

◆ Superclass

Constructor & Destructor Documentation

◆ vtkSlicerReformatLogic()

vtkSlicerReformatLogic::vtkSlicerReformatLogic ( )
protected

◆ ~vtkSlicerReformatLogic()

vtkSlicerReformatLogic::~vtkSlicerReformatLogic ( )
overrideprotected

Member Function Documentation

◆ GetCenterFromBounds()

static void vtkSlicerReformatLogic::GetCenterFromBounds ( double bounds[6],
double center[3] )
static

Compute the center from a bounds.

◆ GetClassName()

virtual const char * vtkSlicerReformatLogic::GetClassName ( )
virtual

Reimplemented from vtkSlicerModuleLogic.

◆ GetVolumeBounds()

static void vtkSlicerReformatLogic::GetVolumeBounds ( vtkMRMLSliceNode * node,
double bounds[6] )
static

Compute and return the volume bounding box.

◆ IsA()

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

Reimplemented from vtkSlicerModuleLogic.

◆ IsTypeOf()

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

◆ New()

static vtkSlicerReformatLogic * vtkSlicerReformatLogic::New ( )
static

◆ PrintSelf()

void vtkSlicerReformatLogic::PrintSelf ( ostream & os,
vtkIndent indent )
override

◆ RotateSlice()

static void vtkSlicerReformatLogic::RotateSlice ( vtkMRMLSliceNode * node,
int axisIndex,
double rotationAngleDeg )
static

Rotate slice along an axis (0 = horizontal, 1 = vertical, 2 = slice normal) Flip: axisIndex = 0 (vertical) or 1 (horizontal), rotationAngleDeg = 180. In-plane rotation: axisIndex = 2, rotationAngleDeg > 0 for clockwise.

◆ SafeDownCast()

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

◆ SetSliceNormal() [1/2]

static void vtkSlicerReformatLogic::SetSliceNormal ( vtkMRMLSliceNode * node,
double normal[3] )
static

◆ SetSliceNormal() [2/2]

static void vtkSlicerReformatLogic::SetSliceNormal ( vtkMRMLSliceNode * node,
double x,
double y,
double z )
static

Set the normal to the plane of the slice node.

◆ SetSliceOrigin() [1/2]

static void vtkSlicerReformatLogic::SetSliceOrigin ( vtkMRMLSliceNode * node,
double position[3] )
static

◆ SetSliceOrigin() [2/2]

static void vtkSlicerReformatLogic::SetSliceOrigin ( vtkMRMLSliceNode * node,
double x,
double y,
double z )
static

Set the world coordinate origin position.


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