PlusLib  2.9.0
Software library for tracked ultrasound image acquisition, calibration, and processing.
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkPlusBrachyStepperPhantomRegistrationAlgo Class Reference

Phantom registration algorithm for image to probe calibration with brachy stepper. More...

#include <src/PlusCalibration/vtkBrachyStepperPhantomRegistrationAlgo/vtkPlusBrachyStepperPhantomRegistrationAlgo.h>

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

Public Types

typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual char * GetPhantomCoordinateFrame ()
 
virtual PlusStatus GetPhantomToReferenceTransformMatrix (vtkMatrix4x4 *phantomToReferenceTransform)
 
virtual char * GetReferenceCoordinateFrame ()
 
virtual int IsA (const char *type)
 
virtual void PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE
 
PlusStatus ReadConfiguration (vtkXMLDataElement *aConfig)
 
virtual void SetInputs (vtkIGSIOTrackedFrameList *trackedFrameList, double spacing[2], double centerOfRotationPx[2], vtkIGSIOTransformRepository *transformRepository, const std::vector< PlusNWire > &nWires)
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkPlusBrachyStepperPhantomRegistrationAlgoNew ()
 
static vtkPlusBrachyStepperPhantomRegistrationAlgoSafeDownCast (vtkObject *o)
 

Protected Member Functions

virtual vtkIGSIOTrackedFrameList * GetTrackedFrameList ()
 
virtual void SetCenterOfRotationPx (double, double)
 
void SetCenterOfRotationPx (double [2])
 
virtual void SetPhantomCoordinateFrame (const char *)
 
virtual void SetReferenceCoordinateFrame (const char *)
 
virtual void SetSpacing (double, double)
 
void SetSpacing (double [2])
 
virtual void SetTrackedFrameList (vtkIGSIOTrackedFrameList *)
 
void SetTransformRepository (vtkIGSIOTransformRepository *)
 
virtual PlusStatus Update ()
 
 vtkPlusBrachyStepperPhantomRegistrationAlgo ()
 
virtual ~vtkPlusBrachyStepperPhantomRegistrationAlgo ()
 

Protected Attributes

double CenterOfRotationPx [2]
 
std::vector< PlusNWireNWires
 
char * PhantomCoordinateFrame
 
vtkMatrix4x4 * PhantomToReferenceTransformMatrix
 
char * ReferenceCoordinateFrame
 
double Spacing [2]
 
vtkIGSIOTrackedFrameList * TrackedFrameList
 
vtkIGSIOTransformRepository * TransformRepository
 
vtkTimeStamp UpdateTime
 

Detailed Description

Phantom registration algorithm for image to probe calibration with brachy stepper.

This algorithm determines the phantom to reference transform (the spatial relationship between the phantom and the stepper coordinate system). The images shall be taken of a calibration phantom and the frames shall be segmented (the fiducial point coordinates shall be computed) before calling this algorithm.

Definition at line 31 of file vtkPlusBrachyStepperPhantomRegistrationAlgo.h.

Member Typedef Documentation

◆ Superclass

Constructor & Destructor Documentation

◆ vtkPlusBrachyStepperPhantomRegistrationAlgo()

vtkPlusBrachyStepperPhantomRegistrationAlgo::vtkPlusBrachyStepperPhantomRegistrationAlgo ( )
protected

◆ ~vtkPlusBrachyStepperPhantomRegistrationAlgo()

vtkPlusBrachyStepperPhantomRegistrationAlgo::~vtkPlusBrachyStepperPhantomRegistrationAlgo ( )
protectedvirtual

Member Function Documentation

◆ GetClassName()

virtual const char* vtkPlusBrachyStepperPhantomRegistrationAlgo::GetClassName ( )
virtual

◆ GetPhantomCoordinateFrame()

virtual char* vtkPlusBrachyStepperPhantomRegistrationAlgo::GetPhantomCoordinateFrame ( )
virtual

Get phantom coordinate frame

◆ GetPhantomToReferenceTransformMatrix()

PlusStatus vtkPlusBrachyStepperPhantomRegistrationAlgo::GetPhantomToReferenceTransformMatrix ( vtkMatrix4x4 *  phantomToReferenceTransform)
virtual

Get phantom to reference transform

Definition at line 101 of file vtkPlusBrachyStepperPhantomRegistrationAlgo.cxx.

◆ GetReferenceCoordinateFrame()

virtual char* vtkPlusBrachyStepperPhantomRegistrationAlgo::GetReferenceCoordinateFrame ( )
virtual

Get reference coordinate frame

◆ GetTrackedFrameList()

virtual vtkIGSIOTrackedFrameList* vtkPlusBrachyStepperPhantomRegistrationAlgo::GetTrackedFrameList ( )
protectedvirtual

Get the input tracked frame list

◆ IsA()

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

◆ IsTypeOf()

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

◆ New()

static vtkPlusBrachyStepperPhantomRegistrationAlgo* vtkPlusBrachyStepperPhantomRegistrationAlgo::New ( )
static

◆ PrintSelf()

void vtkPlusBrachyStepperPhantomRegistrationAlgo::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual

◆ ReadConfiguration()

PlusStatus vtkPlusBrachyStepperPhantomRegistrationAlgo::ReadConfiguration ( vtkXMLDataElement *  aConfig)

Read phantom definition (landmarks)

Parameters
aConfigRoot XML data element containing the tool calibration

Definition at line 262 of file vtkPlusBrachyStepperPhantomRegistrationAlgo.cxx.

◆ SafeDownCast()

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

◆ SetCenterOfRotationPx() [1/2]

virtual void vtkPlusBrachyStepperPhantomRegistrationAlgo::SetCenterOfRotationPx ( double  ,
double   
)
protectedvirtual

Set center of rotation in px

◆ SetCenterOfRotationPx() [2/2]

void vtkPlusBrachyStepperPhantomRegistrationAlgo::SetCenterOfRotationPx ( double  [2])
protected

◆ SetInputs()

void vtkPlusBrachyStepperPhantomRegistrationAlgo::SetInputs ( vtkIGSIOTrackedFrameList *  trackedFrameList,
double  spacing[2],
double  centerOfRotationPx[2],
vtkIGSIOTransformRepository *  transformRepository,
const std::vector< PlusNWire > &  nWires 
)
virtual

Set all algorithm inputs.

Parameters
trackedFrameListTracked frames with segmentation results
spacingImage spacing (mm/px)
centerOfRotationPxUltrasound image rotation center in px
transformRepositoryTransform repository to set the result into
nWiresPhantom definition structure

Definition at line 88 of file vtkPlusBrachyStepperPhantomRegistrationAlgo.cxx.

◆ SetPhantomCoordinateFrame()

virtual void vtkPlusBrachyStepperPhantomRegistrationAlgo::SetPhantomCoordinateFrame ( const char *  )
protectedvirtual

Set phantom coordinate frame

◆ SetReferenceCoordinateFrame()

virtual void vtkPlusBrachyStepperPhantomRegistrationAlgo::SetReferenceCoordinateFrame ( const char *  )
protectedvirtual

Set reference coordinate frame

◆ SetSpacing() [1/2]

virtual void vtkPlusBrachyStepperPhantomRegistrationAlgo::SetSpacing ( double  ,
double   
)
protectedvirtual

Set spacing

◆ SetSpacing() [2/2]

void vtkPlusBrachyStepperPhantomRegistrationAlgo::SetSpacing ( double  [2])
protected

◆ SetTrackedFrameList()

virtual void vtkPlusBrachyStepperPhantomRegistrationAlgo::SetTrackedFrameList ( vtkIGSIOTrackedFrameList *  )
protectedvirtual

Set the input tracked frame list

◆ SetTransformRepository()

void vtkPlusBrachyStepperPhantomRegistrationAlgo::SetTransformRepository ( vtkIGSIOTransformRepository *  )
protected

Set input transform repository

◆ Update()

PlusStatus vtkPlusBrachyStepperPhantomRegistrationAlgo::Update ( )
protectedvirtual

Bring this algorithm's outputs up-to-date.

Definition at line 117 of file vtkPlusBrachyStepperPhantomRegistrationAlgo.cxx.

Member Data Documentation

◆ CenterOfRotationPx

double vtkPlusBrachyStepperPhantomRegistrationAlgo::CenterOfRotationPx[2]
protected

Rotation center position of the image in px

Definition at line 97 of file vtkPlusBrachyStepperPhantomRegistrationAlgo.h.

◆ NWires

std::vector<PlusNWire> vtkPlusBrachyStepperPhantomRegistrationAlgo::NWires
protected

Phantom definition structure

Definition at line 103 of file vtkPlusBrachyStepperPhantomRegistrationAlgo.h.

◆ PhantomCoordinateFrame

char* vtkPlusBrachyStepperPhantomRegistrationAlgo::PhantomCoordinateFrame
protected

Name of the phantom coordinate frame (eg. Phantom)

Definition at line 115 of file vtkPlusBrachyStepperPhantomRegistrationAlgo.h.

◆ PhantomToReferenceTransformMatrix

vtkMatrix4x4* vtkPlusBrachyStepperPhantomRegistrationAlgo::PhantomToReferenceTransformMatrix
protected

Phantom to Reference transform

Definition at line 106 of file vtkPlusBrachyStepperPhantomRegistrationAlgo.h.

◆ ReferenceCoordinateFrame

char* vtkPlusBrachyStepperPhantomRegistrationAlgo::ReferenceCoordinateFrame
protected

Name of the reference coordinate frame (eg. Reference)

Definition at line 118 of file vtkPlusBrachyStepperPhantomRegistrationAlgo.h.

◆ Spacing

double vtkPlusBrachyStepperPhantomRegistrationAlgo::Spacing[2]
protected

Image spacing (mm/pixel). Spacing[0]: lateral axis, Spacing[1]: axial axis

Definition at line 94 of file vtkPlusBrachyStepperPhantomRegistrationAlgo.h.

◆ TrackedFrameList

vtkIGSIOTrackedFrameList* vtkPlusBrachyStepperPhantomRegistrationAlgo::TrackedFrameList
protected

Tracked frame list with segmentation results

Definition at line 100 of file vtkPlusBrachyStepperPhantomRegistrationAlgo.h.

◆ TransformRepository

vtkIGSIOTransformRepository* vtkPlusBrachyStepperPhantomRegistrationAlgo::TransformRepository
protected

Transform repository object into that the result is set

Definition at line 112 of file vtkPlusBrachyStepperPhantomRegistrationAlgo.h.

◆ UpdateTime

vtkTimeStamp vtkPlusBrachyStepperPhantomRegistrationAlgo::UpdateTime
protected

When the results were computed. The result is recomputed only if the inputs changed more recently than UpdateTime.

Definition at line 109 of file vtkPlusBrachyStepperPhantomRegistrationAlgo.h.


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