SignImageReslice Class Reference

#include <SignImageReslice.h>

List of all members.


Detailed Description

Image reslicing.

SignImageReslice is used for reslicing an input image either in one of the three main directions, or by providing a vtkMatrix4x4 containing the two axes of the desired slice plane.

Author:
Eigil Samset


Public Member Functions

 SignImageReslice ()
 Constructor.
 ~SignImageReslice ()
 Destructor.
void SetImageData (vtkImageData *im)
 Sets the input image data.
const vtkMatrix4x4 * GetImageMatrix ()
 Returns the reslice matrix.
vtkImageData * GetImageData ()
 Returns a pointer to the resliced image data.
void SetPlane (std::string p)
 Sets the reslice plane. If p is one of the main directions (AxiSlice, CorSlice, SagSlice), the reslice matrix will be set to the given direction. Otherwise, the matrix will not be changed, only the internal name of the reslice plane.
std::string GetPlane ()
 Gets the reslice plane.
void SetLocator (float pos[3])
 Sets the origina of the reslice axes to the locator position.
void SetOrientation (vtkMatrix4x4 *matrix)
 Sets the axes of the reslice plane. If the name of the reslice plane is InPlane0, the axes of the reslice plane will be set to the given matrix. In any other case, this function does nothing.
void Update ()


Constructor & Destructor Documentation

SignImageReslice::SignImageReslice  ) 
 

Constructor.

SignImageReslice::~SignImageReslice  ) 
 

Destructor.


Member Function Documentation

vtkImageData * SignImageReslice::GetImageData  ) 
 

Returns a pointer to the resliced image data.

const vtkMatrix4x4 * SignImageReslice::GetImageMatrix  ) 
 

Returns the reslice matrix.

string SignImageReslice::GetPlane  ) 
 

Gets the reslice plane.

void SignImageReslice::SetImageData vtkImageData *  im  ) 
 

Sets the input image data.

void SignImageReslice::SetLocator float  pos[3]  ) 
 

Sets the origina of the reslice axes to the locator position.

void SignImageReslice::SetOrientation vtkMatrix4x4 *  matrix  ) 
 

Sets the axes of the reslice plane. If the name of the reslice plane is InPlane0, the axes of the reslice plane will be set to the given matrix. In any other case, this function does nothing.

void SignImageReslice::SetPlane std::string  p  ) 
 

Sets the reslice plane. If p is one of the main directions (AxiSlice, CorSlice, SagSlice), the reslice matrix will be set to the given direction. Otherwise, the matrix will not be changed, only the internal name of the reslice plane.

TODO need to implement single angle obliques - can port code from ScanPlaneOrientationTransform in SPLOT

void SignImageReslice::Update  ) 
 


The documentation for this class was generated from the following files:
Generated on Mon Feb 26 12:13:11 2007 for TheSIGN by  doxygen 1.4.6