#include <SignImageReslice.h>
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.
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.
|
|
|
Returns a pointer to the resliced image data.
|
|
|
Returns the reslice matrix.
|
|
|
Gets the reslice plane.
|
|
|
Sets the input image data.
|
|
|
Sets the origina of the reslice axes to the locator position.
|
|
|
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.
|
|
|
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 |
|
|
|
1.4.6