#include <vtkImageRGBPlaneWidget.h>
Inheritance diagram for vtkImageRGBPlaneWidget:


This 3D widget defines a plane that can be interactively placed in an image volume. A nice feature of the object is that the vtkImageRGBPlaneWidget, like any 3D widget, will work with the current interactor style. That is, if vtkImageRGBPlaneWidget does not handle an event, then all other registered observers (including the interactor style) have an opportunity to process the event. Otherwise, the vtkImageRGBPlaneWidget will terminate the processing of the event that it handles.
The core functionality of the widget is provided by a vtkImageReslice object which passes its output onto a texture mapping pipeline for fast slicing through volumetric data. See the key methods: GenerateTexturePlane(), UpdateOrigin() and UpdateNormal() for implementation details.
To use this object, just invoke SetInteractor() with the argument of the method a vtkRenderWindowInteractor. You may also wish to invoke "PlaceWidget()" to initially position the widget. If the "i" key (for "interactor") is pressed, the vtkImageRGBPlaneWidget will appear. (See superclass documentation for information about changing this behavior.)
Selecting the widget with the middle mouse button with and without holding the shift or control keys enables complex reslicing capablilites. To facilitate use, a set of 'margins' (left, right, top, bottom) are shown as a set of plane-axes aligned lines, the properties of which can be changed as a group. Without keyboard modifiers: selecting in the middle of the margins enables translation of the plane along its normal. Selecting one of the corners within the margins enables spinning around the plane's normal at its center. Selecting within a margin allows rotating about the center of the plane around an axis aligned with the margin (i.e., selecting left margin enables rotating around the plane's local y-prime axis). With control key modifier: margin selection enables edge translation (i.e., a constrained form of scaling). Selecting within the margins enables translation of the entire plane. With shift key modifier: uniform plane scaling is enabled. Moving the mouse up enlarges the plane while downward movement shrinks it.
Window-level is achieved by using the right mouse button. The left mouse button can be used to query the underlying image data with a snap-to cross-hair cursor. Currently, the nearest point in the input image data to the mouse cursor generates the cross-hairs. With oblique slicing, this behaviour may appear unsatisfactory. Text display of window-level and image coordinates/data values are provided by a text actor/mapper pair. Events that occur outside of the widget (i.e., no part of the widget is picked) are propagated to any other registered obsevers (such as the interaction style). Turn off the widget by pressing the "i" key again (or invoke the Off() method).
The vtkImageRGBPlaneWidget has several methods that can be used in conjunction with other VTK objects. The GetPolyData() method can be used to get the polygonal representation of the plane and can be used as input for other VTK objects. Typical usage of the widget is to make use of the StartInteractionEvent, InteractionEvent, and EndInteractionEvent events. The InteractionEvent is called on mouse motion; the other two events are called on button down and button up (either left or right button).
Some additional features of this class include the ability to control the properties of the widget. You can set the properties of: the selected and unselected representations of the plane's outline; the text actor via its vtkTextProperty; the cross-hair cursor. In addition there are methods to constrain the plane so that it is aligned along the x-y-z axes. Finally, one can specify the degree of interpolation (vtkImageReslice): nearest neighbour, linear, and cubic.
Definition at line 138 of file vtkImageRGBPlaneWidget.h.
| anonymous enum |
Set action associated to buttons. BTX
Definition at line 389 of file vtkImageRGBPlaneWidget.h.
| anonymous enum |
Set the auto-modifiers associated to buttons. This allows users to bind some buttons to actions that are usually triggered by a key modifier. For example, if you do not need cursoring, you can bind the left button action to SLICE_MOTION_ACTION (see above) and the left button auto modifier to CONTROL_MODIFIER: you end up with the left button controling panning without pressing a key. BTX
Definition at line 411 of file vtkImageRGBPlaneWidget.h.
anonymous enum [protected] |
Definition at line 441 of file vtkImageRGBPlaneWidget.h.
enum vtkImageRGBPlaneWidget::WidgetState [protected] |
Definition at line 453 of file vtkImageRGBPlaneWidget.h.
| vtkImageRGBPlaneWidget::vtkImageRGBPlaneWidget | ( | ) | [protected] |
| vtkImageRGBPlaneWidget::~vtkImageRGBPlaneWidget | ( | ) | [protected] |
| static vtkImageRGBPlaneWidget* vtkImageRGBPlaneWidget::New | ( | ) | [static] |
Instantiate the object.
Reimplemented from vtkObject.
| vtkImageRGBPlaneWidget::vtkTypeRevisionMacro | ( | vtkImageRGBPlaneWidget | , | |
| vtkPolyDataSourceWidget | ||||
| ) |
| void vtkImageRGBPlaneWidget::PrintSelf | ( | ostream & | os, | |
| vtkIndent | indent | |||
| ) | [virtual] |
Reimplemented from vtkPolyDataSourceWidget.
| virtual void vtkImageRGBPlaneWidget::SetEnabled | ( | int | ) | [virtual] |
Methods that satisfy the superclass' API.
Reimplemented from vtkInteractorObserver.
| virtual void vtkImageRGBPlaneWidget::PlaceWidget | ( | double | bounds[6] | ) | [virtual] |
Methods that satisfy the superclass' API.
Implements vtkPolyDataSourceWidget.
| void vtkImageRGBPlaneWidget::PlaceWidget | ( | ) | [inline, virtual] |
Methods that satisfy the superclass' API.
Reimplemented from vtkPolyDataSourceWidget.
Definition at line 151 of file vtkImageRGBPlaneWidget.h.
| void vtkImageRGBPlaneWidget::PlaceWidget | ( | double | xmin, | |
| double | xmax, | |||
| double | ymin, | |||
| double | ymax, | |||
| double | zmin, | |||
| double | zmax | |||
| ) | [inline, virtual] |
Methods that satisfy the superclass' API.
Reimplemented from vtkPolyDataSourceWidget.
Definition at line 153 of file vtkImageRGBPlaneWidget.h.
| void vtkImageRGBPlaneWidget::SetInput | ( | vtkDataSet * | input | ) | [virtual] |
Set the vtkImageData* input for the vtkImageReslice.
Reimplemented from vtk3DWidget.
| void vtkImageRGBPlaneWidget::SetOrigin | ( | double | x, | |
| double | y, | |||
| double | z | |||
| ) |
Set/Get the origin of the plane.
| void vtkImageRGBPlaneWidget::SetOrigin | ( | double | xyz[3] | ) |
Set/Get the origin of the plane.
| double* vtkImageRGBPlaneWidget::GetOrigin | ( | ) |
Set/Get the origin of the plane.
| void vtkImageRGBPlaneWidget::GetOrigin | ( | double | xyz[3] | ) |
Set/Get the origin of the plane.
| void vtkImageRGBPlaneWidget::SetPoint1 | ( | double | x, | |
| double | y, | |||
| double | z | |||
| ) |
Set/Get the position of the point defining the first axis of the plane.
| void vtkImageRGBPlaneWidget::SetPoint1 | ( | double | xyz[3] | ) |
Set/Get the position of the point defining the first axis of the plane.
| double* vtkImageRGBPlaneWidget::GetPoint1 | ( | ) |
Set/Get the position of the point defining the first axis of the plane.
| void vtkImageRGBPlaneWidget::GetPoint1 | ( | double | xyz[3] | ) |
Set/Get the position of the point defining the first axis of the plane.
| void vtkImageRGBPlaneWidget::SetPoint2 | ( | double | x, | |
| double | y, | |||
| double | z | |||
| ) |
Set/Get the position of the point defining the second axis of the plane.
| void vtkImageRGBPlaneWidget::SetPoint2 | ( | double | xyz[3] | ) |
Set/Get the position of the point defining the second axis of the plane.
| double* vtkImageRGBPlaneWidget::GetPoint2 | ( | ) |
Set/Get the position of the point defining the second axis of the plane.
| void vtkImageRGBPlaneWidget::GetPoint2 | ( | double | xyz[3] | ) |
Set/Get the position of the point defining the second axis of the plane.
| double* vtkImageRGBPlaneWidget::GetCenter | ( | ) |
Get the center of the plane.
| void vtkImageRGBPlaneWidget::GetCenter | ( | double | xyz[3] | ) |
Get the center of the plane.
| double* vtkImageRGBPlaneWidget::GetNormal | ( | ) |
Get the normal to the plane.
| void vtkImageRGBPlaneWidget::GetNormal | ( | double | xyz[3] | ) |
Get the normal to the plane.
| void vtkImageRGBPlaneWidget::GetVector1 | ( | double | v1[3] | ) |
Get the vector from the plane origin to point1.
| void vtkImageRGBPlaneWidget::GetVector2 | ( | double | v2[3] | ) |
Get the vector from the plane origin to point2.
| int vtkImageRGBPlaneWidget::GetSliceIndex | ( | ) |
Get the slice position in terms of the data extent.
| void vtkImageRGBPlaneWidget::SetSliceIndex | ( | int | index | ) |
Set the slice position in terms of the data extent.
| double vtkImageRGBPlaneWidget::GetSlicePosition | ( | ) |
Get the position of the slice along its normal.
| void vtkImageRGBPlaneWidget::SetSlicePosition | ( | double | position | ) |
Set the position of the slice along its normal.
| void vtkImageRGBPlaneWidget::SetResliceInterpolate | ( | int | ) |
Set the interpolation to use when texturing the plane.
| virtual int vtkImageRGBPlaneWidget::GetResliceInterpolate | ( | ) | [virtual] |
Set the interpolation to use when texturing the plane.
| void vtkImageRGBPlaneWidget::SetResliceInterpolateToNearestNeighbour | ( | ) | [inline] |
Set the interpolation to use when texturing the plane.
Definition at line 221 of file vtkImageRGBPlaneWidget.h.
References VTK_NEAREST_RESLICE.
| void vtkImageRGBPlaneWidget::SetResliceInterpolateToLinear | ( | ) | [inline] |
Set the interpolation to use when texturing the plane.
Definition at line 223 of file vtkImageRGBPlaneWidget.h.
References VTK_LINEAR_RESLICE.
| void vtkImageRGBPlaneWidget::SetResliceInterpolateToCubic | ( | ) | [inline] |
Set the interpolation to use when texturing the plane.
Definition at line 225 of file vtkImageRGBPlaneWidget.h.
References VTK_CUBIC_RESLICE.
| vtkImageData* vtkImageRGBPlaneWidget::GetResliceOutput | ( | ) |
Convenience method to get the vtkImageReslice output.
| virtual void vtkImageRGBPlaneWidget::SetRestrictPlaneToVolume | ( | int | ) | [virtual] |
Make sure that the plane remains within the volume. Default is On.
| virtual int vtkImageRGBPlaneWidget::GetRestrictPlaneToVolume | ( | ) | [virtual] |
Make sure that the plane remains within the volume. Default is On.
| virtual void vtkImageRGBPlaneWidget::RestrictPlaneToVolumeOn | ( | ) | [virtual] |
Make sure that the plane remains within the volume. Default is On.
| virtual void vtkImageRGBPlaneWidget::RestrictPlaneToVolumeOff | ( | ) | [virtual] |
Make sure that the plane remains within the volume. Default is On.
| virtual void vtkImageRGBPlaneWidget::SetUserControlledLookupTable | ( | int | ) | [virtual] |
Let the user control the lookup table. NOTE: apply this method BEFORE applying the SetLookupTable method. Default is Off.
| virtual int vtkImageRGBPlaneWidget::GetUserControlledLookupTable | ( | ) | [virtual] |
Let the user control the lookup table. NOTE: apply this method BEFORE applying the SetLookupTable method. Default is Off.
| virtual void vtkImageRGBPlaneWidget::UserControlledLookupTableOn | ( | ) | [virtual] |
Let the user control the lookup table. NOTE: apply this method BEFORE applying the SetLookupTable method. Default is Off.
| virtual void vtkImageRGBPlaneWidget::UserControlledLookupTableOff | ( | ) | [virtual] |
Let the user control the lookup table. NOTE: apply this method BEFORE applying the SetLookupTable method. Default is Off.
| virtual void vtkImageRGBPlaneWidget::SetTextureInterpolate | ( | int | ) | [virtual] |
Specify whether to interpolate the texture or not. When off, the reslice interpolation is nearest neighbour regardless of how the interpolation is set through the API. Set before setting the vtkImageData imput. Default is On.
| virtual int vtkImageRGBPlaneWidget::GetTextureInterpolate | ( | ) | [virtual] |
Specify whether to interpolate the texture or not. When off, the reslice interpolation is nearest neighbour regardless of how the interpolation is set through the API. Set before setting the vtkImageData imput. Default is On.
| virtual void vtkImageRGBPlaneWidget::TextureInterpolateOn | ( | ) | [virtual] |
Specify whether to interpolate the texture or not. When off, the reslice interpolation is nearest neighbour regardless of how the interpolation is set through the API. Set before setting the vtkImageData imput. Default is On.
| virtual void vtkImageRGBPlaneWidget::TextureInterpolateOff | ( | ) | [virtual] |
Specify whether to interpolate the texture or not. When off, the reslice interpolation is nearest neighbour regardless of how the interpolation is set through the API. Set before setting the vtkImageData imput. Default is On.
| virtual void vtkImageRGBPlaneWidget::SetTextureVisibility | ( | int | ) | [virtual] |
Control the visibility of the actual texture mapped reformatted plane. in some cases you may only want the plane outline for example.
| virtual int vtkImageRGBPlaneWidget::GetTextureVisibility | ( | ) | [virtual] |
Control the visibility of the actual texture mapped reformatted plane. in some cases you may only want the plane outline for example.
| virtual void vtkImageRGBPlaneWidget::TextureVisibilityOn | ( | ) | [virtual] |
Control the visibility of the actual texture mapped reformatted plane. in some cases you may only want the plane outline for example.
| virtual void vtkImageRGBPlaneWidget::TextureVisibilityOff | ( | ) | [virtual] |
Control the visibility of the actual texture mapped reformatted plane. in some cases you may only want the plane outline for example.
| void vtkImageRGBPlaneWidget::GetPolyData | ( | vtkPolyData * | pd | ) |
Grab the polydata (including points) that defines the plane. The polydata consists of (res+1)*(res+1) points, and res*res quadrilateral polygons, where res is the resolution of the plane. These point values are guaranteed to be up-to-date when either the InteractionEvent or EndInteraction events are invoked. The user provides the vtkPolyData and the points and polyplane are added to it.
| vtkPolyDataAlgorithm* vtkImageRGBPlaneWidget::GetPolyDataAlgorithm | ( | ) | [virtual] |
Satisfies superclass API. This returns a pointer to the underlying PolyData. Make changes to this before calling the initial PlaceWidget() to have the initial placement follow suit. Or, make changes after the widget has been initialised and call UpdatePlacement() to realise.
Implements vtkPolyDataSourceWidget.
| void vtkImageRGBPlaneWidget::UpdatePlacement | ( | void | ) | [virtual] |
Satisfies superclass API. This will change the state of the widget to match changes that have been made to the underlying PolyDataSource
Implements vtkPolyDataSourceWidget.
| vtkTexture* vtkImageRGBPlaneWidget::GetTexture | ( | ) |
Convenience method to get the texture used by this widget. This can be used in external slice viewers.
| virtual vtkImageMapToColors* vtkImageRGBPlaneWidget::GetColorMap | ( | ) | [virtual] |
Convenience method to get the vtkImageMapToColors filter used by this widget. The user can properly render other transparent actors in a scene by calling the filter's SetOuputFormatToRGB and PassAlphaToOutputOff.
| virtual void vtkImageRGBPlaneWidget::SetColorMap | ( | vtkImageMapToColors * | ) | [virtual] |
Convenience method to get the vtkImageMapToColors filter used by this widget. The user can properly render other transparent actors in a scene by calling the filter's SetOuputFormatToRGB and PassAlphaToOutputOff.
| virtual void vtkImageRGBPlaneWidget::SetPlaneProperty | ( | vtkProperty * | ) | [virtual] |
Set/Get the plane's outline properties. The properties of the plane's outline when selected and unselected can be manipulated.
| virtual vtkProperty* vtkImageRGBPlaneWidget::GetPlaneProperty | ( | ) | [virtual] |
Set/Get the plane's outline properties. The properties of the plane's outline when selected and unselected can be manipulated.
| virtual void vtkImageRGBPlaneWidget::SetSelectedPlaneProperty | ( | vtkProperty * | ) | [virtual] |
Set/Get the plane's outline properties. The properties of the plane's outline when selected and unselected can be manipulated.
| virtual vtkProperty* vtkImageRGBPlaneWidget::GetSelectedPlaneProperty | ( | ) | [virtual] |
Set/Get the plane's outline properties. The properties of the plane's outline when selected and unselected can be manipulated.
| void vtkImageRGBPlaneWidget::SetPlaneOrientation | ( | int | ) |
Convenience method sets the plane orientation normal to the x, y, or z axes. Default is XAxes (0).
| virtual int vtkImageRGBPlaneWidget::GetPlaneOrientation | ( | ) | [virtual] |
Convenience method sets the plane orientation normal to the x, y, or z axes. Default is XAxes (0).
| void vtkImageRGBPlaneWidget::SetPlaneOrientationToXAxes | ( | ) | [inline] |
Convenience method sets the plane orientation normal to the x, y, or z axes. Default is XAxes (0).
Definition at line 312 of file vtkImageRGBPlaneWidget.h.
| void vtkImageRGBPlaneWidget::SetPlaneOrientationToYAxes | ( | ) | [inline] |
Convenience method sets the plane orientation normal to the x, y, or z axes. Default is XAxes (0).
Definition at line 314 of file vtkImageRGBPlaneWidget.h.
| void vtkImageRGBPlaneWidget::SetPlaneOrientationToZAxes | ( | ) | [inline] |
Convenience method sets the plane orientation normal to the x, y, or z axes. Default is XAxes (0).
Definition at line 316 of file vtkImageRGBPlaneWidget.h.
| void vtkImageRGBPlaneWidget::SetPicker | ( | vtkCellPicker * | ) |
Set the internal picker to one defined by the user. In this way, a set of three orthogonal planes can share the same picker so that picking is performed correctly. The default internal picker can be re-set/allocated by setting to 0 (NULL).
| virtual void vtkImageRGBPlaneWidget::SetLookupTable | ( | vtkLookupTable * | ) | [virtual] |
Set/Get the internal lookuptable (lut) to one defined by the user, or, alternatively, to the lut of another vtkImgePlaneWidget. In this way, a set of three orthogonal planes can share the same lut so that window-levelling is performed uniformly among planes. The default internal lut can be re- set/allocated by setting to 0 (NULL).
| virtual vtkLookupTable* vtkImageRGBPlaneWidget::GetLookupTable | ( | ) | [virtual] |
Set/Get the internal lookuptable (lut) to one defined by the user, or, alternatively, to the lut of another vtkImgePlaneWidget. In this way, a set of three orthogonal planes can share the same lut so that window-levelling is performed uniformly among planes. The default internal lut can be re- set/allocated by setting to 0 (NULL).
| virtual void vtkImageRGBPlaneWidget::SetDisplayText | ( | int | ) | [virtual] |
Enable/disable text display of window-level, image coords and values in a render window.
| virtual int vtkImageRGBPlaneWidget::GetDisplayText | ( | ) | [virtual] |
Enable/disable text display of window-level, image coords and values in a render window.
| virtual void vtkImageRGBPlaneWidget::DisplayTextOn | ( | ) | [virtual] |
Enable/disable text display of window-level, image coords and values in a render window.
| virtual void vtkImageRGBPlaneWidget::DisplayTextOff | ( | ) | [virtual] |
Enable/disable text display of window-level, image coords and values in a render window.
| virtual void vtkImageRGBPlaneWidget::SetCursorProperty | ( | vtkProperty * | ) | [virtual] |
Set the properties of the cross-hair cursor.
| virtual vtkProperty* vtkImageRGBPlaneWidget::GetCursorProperty | ( | ) | [virtual] |
Set the properties of the cross-hair cursor.
| virtual void vtkImageRGBPlaneWidget::SetMarginProperty | ( | vtkProperty * | ) | [virtual] |
Set the properties of the margins.
| virtual vtkProperty* vtkImageRGBPlaneWidget::GetMarginProperty | ( | ) | [virtual] |
Set the properties of the margins.
| void vtkImageRGBPlaneWidget::SetTextProperty | ( | vtkTextProperty * | tprop | ) |
Set/Get the text property for the image data and window-level annotation.
| vtkTextProperty* vtkImageRGBPlaneWidget::GetTextProperty | ( | ) |
Set/Get the text property for the image data and window-level annotation.
| virtual void vtkImageRGBPlaneWidget::SetTexturePlaneProperty | ( | vtkProperty * | ) | [virtual] |
Set/Get the property for the resliced image.
| virtual vtkProperty* vtkImageRGBPlaneWidget::GetTexturePlaneProperty | ( | ) | [virtual] |
Set/Get the property for the resliced image.
| void vtkImageRGBPlaneWidget::SetWindowLevel | ( | double | window, | |
| double | level | |||
| ) |
Set/Get the current window and level values. Set should only be called after SetInput.
| void vtkImageRGBPlaneWidget::GetWindowLevel | ( | double | wl[2] | ) |
Set/Get the current window and level values. Set should only be called after SetInput.
| int vtkImageRGBPlaneWidget::GetCursorData | ( | double | xyzv[4] | ) |
Get the image coordinate position and voxel value. Currently only supports single component image data.
| void vtkImageRGBPlaneWidget::SetInteraction | ( | int | interact | ) |
Enable/disable mouse interaction so the widget remains on display.
| virtual int vtkImageRGBPlaneWidget::GetInteraction | ( | ) | [virtual] |
Enable/disable mouse interaction so the widget remains on display.
| virtual void vtkImageRGBPlaneWidget::InteractionOn | ( | ) | [virtual] |
Enable/disable mouse interaction so the widget remains on display.
| virtual void vtkImageRGBPlaneWidget::InteractionOff | ( | ) | [virtual] |
Enable/disable mouse interaction so the widget remains on display.
| virtual void vtkImageRGBPlaneWidget::SetLeftButtonAction | ( | int | ) | [virtual] |
Set action associated to buttons. BTX
| virtual int vtkImageRGBPlaneWidget::GetLeftButtonAction | ( | ) | [virtual] |
Set action associated to buttons. BTX
| virtual void vtkImageRGBPlaneWidget::SetMiddleButtonAction | ( | int | ) | [virtual] |
Set action associated to buttons. BTX
| virtual int vtkImageRGBPlaneWidget::GetMiddleButtonAction | ( | ) | [virtual] |
Set action associated to buttons. BTX
| virtual void vtkImageRGBPlaneWidget::SetRightButtonAction | ( | int | ) | [virtual] |
Set action associated to buttons. BTX
| virtual int vtkImageRGBPlaneWidget::GetRightButtonAction | ( | ) | [virtual] |
Set action associated to buttons. BTX
| virtual void vtkImageRGBPlaneWidget::SetLeftButtonAutoModifier | ( | int | ) | [virtual] |
Set the auto-modifiers associated to buttons. This allows users to bind some buttons to actions that are usually triggered by a key modifier. For example, if you do not need cursoring, you can bind the left button action to SLICE_MOTION_ACTION (see above) and the left button auto modifier to CONTROL_MODIFIER: you end up with the left button controling panning without pressing a key. BTX
| virtual int vtkImageRGBPlaneWidget::GetLeftButtonAutoModifier | ( | ) | [virtual] |
Set the auto-modifiers associated to buttons. This allows users to bind some buttons to actions that are usually triggered by a key modifier. For example, if you do not need cursoring, you can bind the left button action to SLICE_MOTION_ACTION (see above) and the left button auto modifier to CONTROL_MODIFIER: you end up with the left button controling panning without pressing a key. BTX
| virtual void vtkImageRGBPlaneWidget::SetMiddleButtonAutoModifier | ( | int | ) | [virtual] |
Set the auto-modifiers associated to buttons. This allows users to bind some buttons to actions that are usually triggered by a key modifier. For example, if you do not need cursoring, you can bind the left button action to SLICE_MOTION_ACTION (see above) and the left button auto modifier to CONTROL_MODIFIER: you end up with the left button controling panning without pressing a key. BTX
| virtual int vtkImageRGBPlaneWidget::GetMiddleButtonAutoModifier | ( | ) | [virtual] |
Set the auto-modifiers associated to buttons. This allows users to bind some buttons to actions that are usually triggered by a key modifier. For example, if you do not need cursoring, you can bind the left button action to SLICE_MOTION_ACTION (see above) and the left button auto modifier to CONTROL_MODIFIER: you end up with the left button controling panning without pressing a key. BTX
| virtual void vtkImageRGBPlaneWidget::SetRightButtonAutoModifier | ( | int | ) | [virtual] |
Set the auto-modifiers associated to buttons. This allows users to bind some buttons to actions that are usually triggered by a key modifier. For example, if you do not need cursoring, you can bind the left button action to SLICE_MOTION_ACTION (see above) and the left button auto modifier to CONTROL_MODIFIER: you end up with the left button controling panning without pressing a key. BTX
| virtual int vtkImageRGBPlaneWidget::GetRightButtonAutoModifier | ( | ) | [virtual] |
Set the auto-modifiers associated to buttons. This allows users to bind some buttons to actions that are usually triggered by a key modifier. For example, if you do not need cursoring, you can bind the left button action to SLICE_MOTION_ACTION (see above) and the left button auto modifier to CONTROL_MODIFIER: you end up with the left button controling panning without pressing a key. BTX
| static void vtkImageRGBPlaneWidget::ProcessEvents | ( | vtkObject * | object, | |
| unsigned long | event, | |||
| void * | clientdata, | |||
| void * | calldata | |||
| ) | [static, protected] |
Reimplemented from vtkInteractorObserver.
| void vtkImageRGBPlaneWidget::AddObservers | ( | ) | [protected] |
| virtual void vtkImageRGBPlaneWidget::OnMouseMove | ( | ) | [protected, virtual] |
| virtual void vtkImageRGBPlaneWidget::OnLeftButtonDown | ( | ) | [protected, virtual] |
| virtual void vtkImageRGBPlaneWidget::OnLeftButtonUp | ( | ) | [protected, virtual] |
| virtual void vtkImageRGBPlaneWidget::OnMiddleButtonDown | ( | ) | [protected, virtual] |
| virtual void vtkImageRGBPlaneWidget::OnMiddleButtonUp | ( | ) | [protected, virtual] |
| virtual void vtkImageRGBPlaneWidget::OnRightButtonDown | ( | ) | [protected, virtual] |
| virtual void vtkImageRGBPlaneWidget::OnRightButtonUp | ( | ) | [protected, virtual] |
| virtual void vtkImageRGBPlaneWidget::StartCursor | ( | ) | [protected, virtual] |
| virtual void vtkImageRGBPlaneWidget::StopCursor | ( | ) | [protected, virtual] |
| virtual void vtkImageRGBPlaneWidget::StartSliceMotion | ( | ) | [protected, virtual] |
| virtual void vtkImageRGBPlaneWidget::StopSliceMotion | ( | ) | [protected, virtual] |
| virtual void vtkImageRGBPlaneWidget::StartWindowLevel | ( | ) | [protected, virtual] |
| virtual void vtkImageRGBPlaneWidget::StopWindowLevel | ( | ) | [protected, virtual] |
| void vtkImageRGBPlaneWidget::HighlightPlane | ( | int | highlight | ) | [protected] |
| void vtkImageRGBPlaneWidget::GeneratePlaneOutline | ( | ) | [protected] |
| void vtkImageRGBPlaneWidget::BuildRepresentation | ( | ) | [protected] |
| void vtkImageRGBPlaneWidget::WindowLevel | ( | int | X, | |
| int | Y | |||
| ) | [protected] |
| void vtkImageRGBPlaneWidget::Push | ( | double * | p1, | |
| double * | p2 | |||
| ) | [protected] |
| void vtkImageRGBPlaneWidget::Spin | ( | double * | p1, | |
| double * | p2 | |||
| ) | [protected] |
| void vtkImageRGBPlaneWidget::Rotate | ( | double * | p1, | |
| double * | p2, | |||
| double * | vpn | |||
| ) | [protected] |
| void vtkImageRGBPlaneWidget::Scale | ( | double * | p1, | |
| double * | p2, | |||
| int | X, | |||
| int | Y | |||
| ) | [protected] |
| void vtkImageRGBPlaneWidget::Translate | ( | double * | p1, | |
| double * | p2 | |||
| ) | [protected] |
| vtkLookupTable* vtkImageRGBPlaneWidget::CreateDefaultLookupTable | ( | ) | [protected] |
| void vtkImageRGBPlaneWidget::CreateDefaultProperties | ( | ) | [protected] |
| void vtkImageRGBPlaneWidget::UpdateNormal | ( | ) | [protected] |
| void vtkImageRGBPlaneWidget::UpdateOrigin | ( | ) | [protected] |
| void vtkImageRGBPlaneWidget::GenerateTexturePlane | ( | ) | [protected] |
| void vtkImageRGBPlaneWidget::GenerateCursor | ( | ) | [protected] |
| void vtkImageRGBPlaneWidget::UpdateCursor | ( | int | , | |
| int | ||||
| ) | [protected] |
| void vtkImageRGBPlaneWidget::ActivateCursor | ( | int | ) | [protected] |
| void vtkImageRGBPlaneWidget::GenerateText | ( | ) | [protected] |
| void vtkImageRGBPlaneWidget::ManageTextDisplay | ( | ) | [protected] |
| void vtkImageRGBPlaneWidget::ActivateText | ( | int | ) | [protected] |
| void vtkImageRGBPlaneWidget::AdjustState | ( | ) | [protected] |
| void vtkImageRGBPlaneWidget::GenerateMargins | ( | ) | [protected] |
| void vtkImageRGBPlaneWidget::UpdateMargins | ( | ) | [protected] |
| void vtkImageRGBPlaneWidget::ActivateMargins | ( | int | ) | [protected] |
int vtkImageRGBPlaneWidget::TextureVisibility [protected] |
Definition at line 430 of file vtkImageRGBPlaneWidget.h.
int vtkImageRGBPlaneWidget::LeftButtonAction [protected] |
Definition at line 432 of file vtkImageRGBPlaneWidget.h.
int vtkImageRGBPlaneWidget::MiddleButtonAction [protected] |
Definition at line 433 of file vtkImageRGBPlaneWidget.h.
int vtkImageRGBPlaneWidget::RightButtonAction [protected] |
Definition at line 434 of file vtkImageRGBPlaneWidget.h.
int vtkImageRGBPlaneWidget::LeftButtonAutoModifier [protected] |
Definition at line 436 of file vtkImageRGBPlaneWidget.h.
int vtkImageRGBPlaneWidget::MiddleButtonAutoModifier [protected] |
Definition at line 437 of file vtkImageRGBPlaneWidget.h.
int vtkImageRGBPlaneWidget::RightButtonAutoModifier [protected] |
Definition at line 438 of file vtkImageRGBPlaneWidget.h.
int vtkImageRGBPlaneWidget::LastButtonPressed [protected] |
Definition at line 449 of file vtkImageRGBPlaneWidget.h.
int vtkImageRGBPlaneWidget::State [protected] |
Definition at line 452 of file vtkImageRGBPlaneWidget.h.
int vtkImageRGBPlaneWidget::Interaction [protected] |
Definition at line 495 of file vtkImageRGBPlaneWidget.h.
int vtkImageRGBPlaneWidget::PlaneOrientation [protected] |
Definition at line 496 of file vtkImageRGBPlaneWidget.h.
int vtkImageRGBPlaneWidget::RestrictPlaneToVolume [protected] |
Definition at line 497 of file vtkImageRGBPlaneWidget.h.
double vtkImageRGBPlaneWidget::OriginalWindow [protected] |
Definition at line 498 of file vtkImageRGBPlaneWidget.h.
double vtkImageRGBPlaneWidget::OriginalLevel [protected] |
Definition at line 499 of file vtkImageRGBPlaneWidget.h.
double vtkImageRGBPlaneWidget::CurrentWindow [protected] |
Definition at line 500 of file vtkImageRGBPlaneWidget.h.
double vtkImageRGBPlaneWidget::CurrentLevel [protected] |
Definition at line 501 of file vtkImageRGBPlaneWidget.h.
int vtkImageRGBPlaneWidget::ResliceInterpolate [protected] |
Definition at line 502 of file vtkImageRGBPlaneWidget.h.
int vtkImageRGBPlaneWidget::TextureInterpolate [protected] |
Definition at line 503 of file vtkImageRGBPlaneWidget.h.
int vtkImageRGBPlaneWidget::UserControlledLookupTable [protected] |
Definition at line 504 of file vtkImageRGBPlaneWidget.h.
int vtkImageRGBPlaneWidget::DisplayText [protected] |
Definition at line 505 of file vtkImageRGBPlaneWidget.h.
vtkPlaneSource* vtkImageRGBPlaneWidget::PlaneSource [protected] |
Definition at line 508 of file vtkImageRGBPlaneWidget.h.
double vtkImageRGBPlaneWidget::Normal[3] [protected] |
Definition at line 509 of file vtkImageRGBPlaneWidget.h.
vtkPolyData* vtkImageRGBPlaneWidget::PlaneOutlinePolyData [protected] |
Definition at line 510 of file vtkImageRGBPlaneWidget.h.
vtkActor* vtkImageRGBPlaneWidget::PlaneOutlineActor [protected] |
Definition at line 511 of file vtkImageRGBPlaneWidget.h.
Definition at line 512 of file vtkImageRGBPlaneWidget.h.
vtkCellPicker* vtkImageRGBPlaneWidget::PlanePicker [protected] |
Definition at line 520 of file vtkImageRGBPlaneWidget.h.
vtkImageData* vtkImageRGBPlaneWidget::ImageData [protected] |
Definition at line 530 of file vtkImageRGBPlaneWidget.h.
vtkImageReslice* vtkImageRGBPlaneWidget::Reslice [protected] |
Definition at line 531 of file vtkImageRGBPlaneWidget.h.
vtkMatrix4x4* vtkImageRGBPlaneWidget::ResliceAxes [protected] |
Definition at line 532 of file vtkImageRGBPlaneWidget.h.
vtkTransform* vtkImageRGBPlaneWidget::Transform [protected] |
Definition at line 533 of file vtkImageRGBPlaneWidget.h.
Definition at line 534 of file vtkImageRGBPlaneWidget.h.
Definition at line 535 of file vtkImageRGBPlaneWidget.h.
vtkActor* vtkImageRGBPlaneWidget::TexturePlaneActor [protected] |
Definition at line 536 of file vtkImageRGBPlaneWidget.h.
vtkImageMapToColors* vtkImageRGBPlaneWidget::ColorMap [protected] |
Definition at line 537 of file vtkImageRGBPlaneWidget.h.
vtkTexture* vtkImageRGBPlaneWidget::Texture [protected] |
Definition at line 538 of file vtkImageRGBPlaneWidget.h.
vtkLookupTable* vtkImageRGBPlaneWidget::LookupTable [protected] |
Definition at line 539 of file vtkImageRGBPlaneWidget.h.
vtkProperty* vtkImageRGBPlaneWidget::PlaneProperty [protected] |
Definition at line 546 of file vtkImageRGBPlaneWidget.h.
vtkProperty* vtkImageRGBPlaneWidget::SelectedPlaneProperty [protected] |
Definition at line 547 of file vtkImageRGBPlaneWidget.h.
vtkProperty* vtkImageRGBPlaneWidget::CursorProperty [protected] |
Definition at line 548 of file vtkImageRGBPlaneWidget.h.
vtkProperty* vtkImageRGBPlaneWidget::MarginProperty [protected] |
Definition at line 549 of file vtkImageRGBPlaneWidget.h.
vtkProperty* vtkImageRGBPlaneWidget::TexturePlaneProperty [protected] |
Definition at line 550 of file vtkImageRGBPlaneWidget.h.
vtkPolyData* vtkImageRGBPlaneWidget::CursorPolyData [protected] |
Definition at line 559 of file vtkImageRGBPlaneWidget.h.
vtkPolyDataMapper* vtkImageRGBPlaneWidget::CursorMapper [protected] |
Definition at line 560 of file vtkImageRGBPlaneWidget.h.
vtkActor* vtkImageRGBPlaneWidget::CursorActor [protected] |
Definition at line 561 of file vtkImageRGBPlaneWidget.h.
int vtkImageRGBPlaneWidget::CurrentCursorPosition[3] [protected] |
Definition at line 562 of file vtkImageRGBPlaneWidget.h.
double vtkImageRGBPlaneWidget::CurrentImageValue [protected] |
Definition at line 563 of file vtkImageRGBPlaneWidget.h.
vtkTextActor* vtkImageRGBPlaneWidget::TextActor [protected] |
Definition at line 569 of file vtkImageRGBPlaneWidget.h.
char vtkImageRGBPlaneWidget::TextBuff[128] [protected] |
Definition at line 570 of file vtkImageRGBPlaneWidget.h.
double vtkImageRGBPlaneWidget::RotateAxis[3] [protected] |
Definition at line 576 of file vtkImageRGBPlaneWidget.h.
double vtkImageRGBPlaneWidget::RadiusVector[3] [protected] |
Definition at line 577 of file vtkImageRGBPlaneWidget.h.
vtkPolyData* vtkImageRGBPlaneWidget::MarginPolyData [protected] |
Definition at line 581 of file vtkImageRGBPlaneWidget.h.
vtkPolyDataMapper* vtkImageRGBPlaneWidget::MarginMapper [protected] |
Definition at line 582 of file vtkImageRGBPlaneWidget.h.
vtkActor* vtkImageRGBPlaneWidget::MarginActor [protected] |
Definition at line 583 of file vtkImageRGBPlaneWidget.h.
int vtkImageRGBPlaneWidget::MarginSelectMode [protected] |
Definition at line 584 of file vtkImageRGBPlaneWidget.h.
1.4.7