|
virtual void | Render () |
|
virtual int | GetResliceMode () |
|
virtual void | SetResliceMode (int resliceMode) |
|
virtual void | SetResliceModeToAxisAligned () |
|
virtual void | SetResliceModeToOblique () |
|
virtual void | Reset () |
|
virtual void | IncrementSlice (int n) |
|
|
virtual void | SetInputData (vtkImageData *in) |
|
virtual void | SetInputConnection (vtkAlgorithmOutput *input) |
|
|
virtual void | SetColorWindow (double s) |
|
virtual void | SetColorLevel (double s) |
|
|
virtual vtkResliceCursorWidget * | GetResliceCursorWidget () |
|
|
vtkResliceCursor * | GetResliceCursor () |
|
void | SetResliceCursor (vtkResliceCursor *rc) |
|
|
virtual void | SetLookupTable (vtkScalarsToColors *) |
|
vtkScalarsToColors * | GetLookupTable () |
|
|
virtual void | SetThickMode (int) |
|
virtual int | GetThickMode () |
|
|
virtual vtkBoundedPlanePointPlacer * | GetPointPlacer () |
|
|
virtual vtkResliceImageViewerMeasurements * | GetMeasurements () |
|
|
virtual vtkRenderWindowInteractor * | GetInteractor () |
|
|
virtual void | SetSliceScrollOnMouseWheel (int) |
|
virtual int | GetSliceScrollOnMouseWheel () |
|
virtual void | SliceScrollOnMouseWheelOn () |
|
virtual void | SliceScrollOnMouseWheelOff () |
|
vtkImageViewer2 * | NewInstance () const |
|
virtual const char * | GetWindowName () |
|
virtual void | SetupInteractor (vtkRenderWindowInteractor *) |
|
virtual vtkImageData * | GetInput () |
|
virtual int | GetSlice () |
|
virtual void | SetSlice (int s) |
|
virtual int | GetSliceMin () |
|
virtual int | GetSliceMax () |
|
virtual void | GetSliceRange (int range[2]) |
|
virtual void | GetSliceRange (int &min, int &max) |
|
virtual int * | GetSliceRange () |
|
virtual double | GetColorWindow () |
|
virtual double | GetColorLevel () |
|
virtual void | SetDisplayId (void *a) |
|
virtual void | SetWindowId (void *a) |
|
virtual void | SetParentId (void *a) |
|
virtual int * | GetPosition () |
|
virtual void | SetPosition (int a, int b) |
|
virtual void | SetPosition (int a[2]) |
|
virtual int * | GetSize () |
|
virtual void | SetSize (int a, int b) |
|
virtual void | SetSize (int a[2]) |
|
virtual vtkRenderWindow * | GetRenderWindow () |
|
virtual vtkRenderer * | GetRenderer () |
|
virtual vtkImageActor * | GetImageActor () |
|
virtual vtkImageMapToWindowLevelColors * | GetWindowLevel () |
|
virtual vtkInteractorStyleImage * | GetInteractorStyle () |
|
virtual void | SetRenderWindow (vtkRenderWindow *arg) |
|
virtual void | SetRenderer (vtkRenderer *arg) |
|
virtual void | SetOffScreenRendering (int) |
|
virtual int | GetOffScreenRendering () |
|
virtual void | OffScreenRenderingOn () |
|
virtual void | OffScreenRenderingOff () |
|
virtual int | GetSliceOrientation () |
|
virtual void | SetSliceOrientation (int orientation) |
|
virtual void | SetSliceOrientationToXY () |
|
virtual void | SetSliceOrientationToYZ () |
|
virtual void | SetSliceOrientationToXZ () |
|
vtkObject * | NewInstance () const |
|
virtual void | DebugOn () |
|
virtual void | DebugOff () |
|
bool | GetDebug () |
|
void | SetDebug (bool debugFlag) |
|
virtual void | Modified () |
|
virtual unsigned long | GetMTime () |
|
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
|
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
|
vtkCommand * | GetCommand (unsigned long tag) |
|
void | RemoveObserver (vtkCommand *) |
|
void | RemoveObservers (unsigned long event, vtkCommand *) |
|
void | RemoveObservers (const char *event, vtkCommand *) |
|
int | HasObserver (unsigned long event, vtkCommand *) |
|
int | HasObserver (const char *event, vtkCommand *) |
|
void | RemoveObserver (unsigned long tag) |
|
void | RemoveObservers (unsigned long event) |
|
void | RemoveObservers (const char *event) |
|
void | RemoveAllObservers () |
|
int | HasObserver (unsigned long event) |
|
int | HasObserver (const char *event) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
|
int | InvokeEvent (unsigned long event, void *callData) |
|
int | InvokeEvent (const char *event, void *callData) |
|
int | InvokeEvent (unsigned long event) |
|
int | InvokeEvent (const char *event) |
|
const char * | GetClassName () const |
|
virtual void | Delete () |
|
virtual void | FastDelete () |
|
void | Print (ostream &os) |
|
virtual void | Register (vtkObjectBase *o) |
|
virtual void | UnRegister (vtkObjectBase *o) |
|
void | SetReferenceCount (int) |
|
void | PrintRevisions (ostream &) |
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
|
int | GetReferenceCount () |
|
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.
- See also
- vtkResliceCursor vtkResliceCursorWidget vtkResliceCursorRepresentation
- Events:
- vtkCommand::InteractionEvent
- Examples:
- vtkResliceImageViewer (Examples)
Definition at line 49 of file vtkResliceImageViewer.h.
virtual void vtkResliceImageViewer::UpdateDisplayExtent |
( |
| ) |
|
|
protectedvirtual |
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.