VTK
|
Display an image along with a reslice cursor. More...
#include <vtkResliceImageViewer.h>
Display an image along with a reslice cursor.
This class is similar to vtkImageViewer2. It displays the image along with a two cross hairs for reslicing. The cross hairs may be interactively manipulated and are typically used to reslice two other views of vtkResliceImageViewer. See QtVTKRenderWindows for an example. The reslice cursor is used to perform thin or thick MPR through data. The class can also default to the behaviour of vtkImageViewer2 if the Reslice mode is set to RESLICE_AXIS_ALIGNED.
Definition at line 49 of file vtkResliceImageViewer.h.
Standard VTK methods.
Reimplemented from vtkImageViewer2.
Definition at line 56 of file vtkResliceImageViewer.h.
anonymous enum |
Set/get the slice orientation BTX
Definition at line 83 of file vtkResliceImageViewer.h.
anonymous enum |
Definition at line 147 of file vtkResliceImageViewer.h.
vtkResliceImageViewer::vtkResliceImageViewer | ( | ) | [protected] |
vtkResliceImageViewer::~vtkResliceImageViewer | ( | ) | [protected] |
static vtkResliceImageViewer* vtkResliceImageViewer::New | ( | ) | [static] |
Standard VTK methods.
Reimplemented from vtkImageViewer2.
static int vtkResliceImageViewer::IsTypeOf | ( | const char * | type | ) | [static] |
Standard VTK methods.
Reimplemented from vtkImageViewer2.
virtual int vtkResliceImageViewer::IsA | ( | const char * | type | ) | [virtual] |
Standard VTK methods.
Reimplemented from vtkImageViewer2.
static vtkResliceImageViewer* vtkResliceImageViewer::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Standard VTK methods.
Reimplemented from vtkImageViewer2.
virtual vtkObjectBase* vtkResliceImageViewer::NewInstanceInternal | ( | ) | const [protected, virtual] |
Standard VTK methods.
Reimplemented from vtkImageViewer2.
Standard VTK methods.
Reimplemented from vtkImageViewer2.
void vtkResliceImageViewer::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Standard VTK methods.
Reimplemented from vtkImageViewer2.
virtual void vtkResliceImageViewer::Render | ( | ) | [virtual] |
Render the resulting image.
Reimplemented from vtkImageViewer2.
virtual void vtkResliceImageViewer::SetInputData | ( | vtkImageData * | in | ) | [virtual] |
Set/Get the input image to the viewer.
Reimplemented from vtkImageViewer2.
virtual void vtkResliceImageViewer::SetInputConnection | ( | vtkAlgorithmOutput * | input | ) | [virtual] |
Set/Get the input image to the viewer.
Reimplemented from vtkImageViewer2.
virtual void vtkResliceImageViewer::SetColorWindow | ( | double | s | ) | [virtual] |
Set window and level for mapping pixels to colors.
Reimplemented from vtkImageViewer2.
virtual void vtkResliceImageViewer::SetColorLevel | ( | double | s | ) | [virtual] |
Set window and level for mapping pixels to colors.
Reimplemented from vtkImageViewer2.
virtual vtkResliceCursorWidget* vtkResliceImageViewer::GetResliceCursorWidget | ( | ) | [virtual] |
Get the internal render window, renderer, image actor, and image map instances.
virtual int vtkResliceImageViewer::GetResliceMode | ( | ) | [virtual] |
virtual void vtkResliceImageViewer::SetResliceMode | ( | int | resliceMode | ) | [virtual] |
virtual void vtkResliceImageViewer::SetResliceModeToAxisAligned | ( | ) | [inline, virtual] |
Definition at line 93 of file vtkResliceImageViewer.h.
virtual void vtkResliceImageViewer::SetResliceModeToOblique | ( | ) | [inline, virtual] |
Definition at line 95 of file vtkResliceImageViewer.h.
Set/Get the reslice cursor.
void vtkResliceImageViewer::SetResliceCursor | ( | vtkResliceCursor * | rc | ) |
Set/Get the reslice cursor.
virtual void vtkResliceImageViewer::SetLookupTable | ( | vtkScalarsToColors * | ) | [virtual] |
Set the lookup table
Set the lookup table
virtual void vtkResliceImageViewer::SetThickMode | ( | int | ) | [virtual] |
Switch to / from thick mode
virtual int vtkResliceImageViewer::GetThickMode | ( | ) | [virtual] |
Switch to / from thick mode
virtual void vtkResliceImageViewer::Reset | ( | ) | [virtual] |
Reset all views back to initial state
virtual vtkBoundedPlanePointPlacer* vtkResliceImageViewer::GetPointPlacer | ( | ) | [virtual] |
Get the point placer.
virtual vtkResliceImageViewerMeasurements* vtkResliceImageViewer::GetMeasurements | ( | ) | [virtual] |
Get the measurements manager
virtual vtkRenderWindowInteractor* vtkResliceImageViewer::GetInteractor | ( | ) | [virtual] |
Get the render window interactor
virtual void vtkResliceImageViewer::SetSliceScrollOnMouseWheel | ( | int | ) | [virtual] |
Scroll slices on the mouse wheel ? In the case of MPR view, it moves one "normalized spacing" in the direction of the normal to the resliced plane, provided the new center will continue to lie within the volume.
virtual int vtkResliceImageViewer::GetSliceScrollOnMouseWheel | ( | ) | [virtual] |
Scroll slices on the mouse wheel ? In the case of MPR view, it moves one "normalized spacing" in the direction of the normal to the resliced plane, provided the new center will continue to lie within the volume.
virtual void vtkResliceImageViewer::SliceScrollOnMouseWheelOn | ( | ) | [virtual] |
Scroll slices on the mouse wheel ? In the case of MPR view, it moves one "normalized spacing" in the direction of the normal to the resliced plane, provided the new center will continue to lie within the volume.
virtual void vtkResliceImageViewer::SliceScrollOnMouseWheelOff | ( | ) | [virtual] |
Scroll slices on the mouse wheel ? In the case of MPR view, it moves one "normalized spacing" in the direction of the normal to the resliced plane, provided the new center will continue to lie within the volume.
virtual void vtkResliceImageViewer::IncrementSlice | ( | int | n | ) | [virtual] |
Increment/Decrement slice by 'n' slices
virtual void vtkResliceImageViewer::InstallPipeline | ( | ) | [protected, virtual] |
Reimplemented from vtkImageViewer2.
virtual void vtkResliceImageViewer::UnInstallPipeline | ( | ) | [protected, virtual] |
Reimplemented from vtkImageViewer2.
virtual void vtkResliceImageViewer::UpdateOrientation | ( | ) | [protected, virtual] |
Reimplemented from vtkImageViewer2.
virtual void vtkResliceImageViewer::UpdateDisplayExtent | ( | ) | [protected, virtual] |
Update the display extent manually so that the proper slice for the given orientation is displayed. It will also try to set a reasonable camera clipping range. This method is called automatically when the Input is changed, but most of the time the input of this class is likely to remain the same, i.e. connected to the output of a filter, or an image reader. When the input of this filter or reader itself is changed, an error message might be displayed since the current display extent is probably outside the new whole extent. Calling this method will ensure that the display extent is reset properly.
Reimplemented from vtkImageViewer2.
virtual void vtkResliceImageViewer::UpdatePointPlacer | ( | ) | [protected, virtual] |
vtkPlane* vtkResliceImageViewer::GetReslicePlane | ( | ) | [protected] |
Convenience methods to get the reslice plane and the normalized spacing between slices in reslice mode.
double vtkResliceImageViewer::GetInterSliceSpacingInResliceMode | ( | ) | [protected] |
Convenience methods to get the reslice plane and the normalized spacing between slices in reslice mode.
Definition at line 166 of file vtkResliceImageViewer.h.
Definition at line 167 of file vtkResliceImageViewer.h.
int vtkResliceImageViewer::ResliceMode [protected] |
Definition at line 168 of file vtkResliceImageViewer.h.
Definition at line 169 of file vtkResliceImageViewer.h.
int vtkResliceImageViewer::SliceScrollOnMouseWheel [protected] |
Definition at line 170 of file vtkResliceImageViewer.h.
vtkResliceImageViewerScrollCallback* vtkResliceImageViewer::ScrollCallback [protected] |
Definition at line 171 of file vtkResliceImageViewer.h.