VTK
9.1.0
|
3D widget for reslicing image data More...
#include <vtkImagePlaneWidget.h>
Public Types | |
typedef vtkPolyDataSourceWidget | Superclass |
Public Types inherited from vtkPolyDataSourceWidget | |
typedef vtk3DWidget | Superclass |
Public Types inherited from vtk3DWidget | |
typedef vtkInteractorObserver | Superclass |
Public Types inherited from vtkInteractorObserver | |
typedef vtkObject | Superclass |
Public Member Functions | |
virtual vtkTypeBool | IsA (const char *type) |
Return 1 if this class is the same type of (or a subclass of) the named class. | |
vtkImagePlaneWidget * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) override |
Methods invoked by print to print information about the object including superclasses. | |
void | SetInputConnection (vtkAlgorithmOutput *aout) override |
Set the vtkImageData* input for the vtkImageReslice. | |
void | GetVector1 (double v1[3]) |
Get the vector from the plane origin to point1. | |
void | GetVector2 (double v2[3]) |
Get the vector from the plane origin to point2. | |
int | GetSliceIndex () |
Get the slice position in terms of the data extent. | |
void | SetSliceIndex (int index) |
Set the slice position in terms of the data extent. | |
double | GetSlicePosition () |
Get the position of the slice along its normal. | |
void | SetSlicePosition (double position) |
Set the position of the slice along its normal. | |
vtkImageData * | GetResliceOutput () |
Convenience method to get the vtkImageReslice output. | |
void | GetPolyData (vtkPolyData *pd) |
Grab the polydata (including points) that defines the plane. | |
vtkPolyDataAlgorithm * | GetPolyDataAlgorithm () override |
Satisfies superclass API. | |
void | UpdatePlacement (void) override |
Satisfies superclass API. | |
vtkTexture * | GetTexture () |
Convenience method to get the texture used by this widget. | |
void | SetPicker (vtkAbstractPropPicker *) |
Set the internal picker to one defined by the user. | |
int | GetCursorData (double xyzv[4]) |
Get the image coordinate position and voxel value. | |
int | GetCursorDataStatus () |
Get the status of the cursor data. | |
void | SetEnabled (int) override |
Methods that satisfy the superclass' API. | |
void | PlaceWidget (double bounds[6]) override |
Methods that satisfy the superclass' API. | |
void | PlaceWidget () override |
Methods that satisfy the superclass' API. | |
void | PlaceWidget (double xmin, double xmax, double ymin, double ymax, double zmin, double zmax) override |
Methods that satisfy the superclass' API. | |
void | SetOrigin (double x, double y, double z) |
Set/Get the origin of the plane. | |
void | SetOrigin (double xyz[3]) |
Set/Get the origin of the plane. | |
double * | GetOrigin () |
Set/Get the origin of the plane. | |
void | GetOrigin (double xyz[3]) |
Set/Get the origin of the plane. | |
void | SetPoint1 (double x, double y, double z) |
Set/Get the position of the point defining the first axis of the plane. | |
void | SetPoint1 (double xyz[3]) |
Set/Get the position of the point defining the first axis of the plane. | |
double * | GetPoint1 () |
Set/Get the position of the point defining the first axis of the plane. | |
void | GetPoint1 (double xyz[3]) |
Set/Get the position of the point defining the first axis of the plane. | |
void | SetPoint2 (double x, double y, double z) |
Set/Get the position of the point defining the second axis of the plane. | |
void | SetPoint2 (double xyz[3]) |
Set/Get the position of the point defining the second axis of the plane. | |
double * | GetPoint2 () |
Set/Get the position of the point defining the second axis of the plane. | |
void | GetPoint2 (double xyz[3]) |
Set/Get the position of the point defining the second axis of the plane. | |
double * | GetCenter () |
Get the center of the plane. | |
void | GetCenter (double xyz[3]) |
Get the center of the plane. | |
double * | GetNormal () |
Get the normal to the plane. | |
void | GetNormal (double xyz[3]) |
Get the normal to the plane. | |
void | SetResliceInterpolate (int) |
Set the interpolation to use when texturing the plane. | |
virtual int | GetResliceInterpolate () |
Set the interpolation to use when texturing the plane. | |
void | SetResliceInterpolateToNearestNeighbour () |
Set the interpolation to use when texturing the plane. | |
void | SetResliceInterpolateToLinear () |
Set the interpolation to use when texturing the plane. | |
void | SetResliceInterpolateToCubic () |
Set the interpolation to use when texturing the plane. | |
virtual void | SetRestrictPlaneToVolume (vtkTypeBool) |
Make sure that the plane remains within the volume. | |
virtual vtkTypeBool | GetRestrictPlaneToVolume () |
Make sure that the plane remains within the volume. | |
virtual void | RestrictPlaneToVolumeOn () |
Make sure that the plane remains within the volume. | |
virtual void | RestrictPlaneToVolumeOff () |
Make sure that the plane remains within the volume. | |
virtual void | SetUserControlledLookupTable (vtkTypeBool) |
Let the user control the lookup table. | |
virtual vtkTypeBool | GetUserControlledLookupTable () |
Let the user control the lookup table. | |
virtual void | UserControlledLookupTableOn () |
Let the user control the lookup table. | |
virtual void | UserControlledLookupTableOff () |
Let the user control the lookup table. | |
virtual void | SetTextureInterpolate (vtkTypeBool) |
Specify whether to interpolate the texture or not. | |
virtual vtkTypeBool | GetTextureInterpolate () |
Specify whether to interpolate the texture or not. | |
virtual void | TextureInterpolateOn () |
Specify whether to interpolate the texture or not. | |
virtual void | TextureInterpolateOff () |
Specify whether to interpolate the texture or not. | |
virtual void | SetTextureVisibility (vtkTypeBool) |
Control the visibility of the actual texture mapped reformatted plane. | |
virtual vtkTypeBool | GetTextureVisibility () |
Control the visibility of the actual texture mapped reformatted plane. | |
virtual void | TextureVisibilityOn () |
Control the visibility of the actual texture mapped reformatted plane. | |
virtual void | TextureVisibilityOff () |
Control the visibility of the actual texture mapped reformatted plane. | |
virtual vtkImageMapToColors * | GetColorMap () |
Convenience method to get the vtkImageMapToColors filter used by this widget. | |
virtual void | SetColorMap (vtkImageMapToColors *) |
Convenience method to get the vtkImageMapToColors filter used by this widget. | |
virtual void | SetPlaneProperty (vtkProperty *) |
Set/Get the plane's outline properties. | |
virtual vtkProperty * | GetPlaneProperty () |
Set/Get the plane's outline properties. | |
virtual void | SetSelectedPlaneProperty (vtkProperty *) |
Set/Get the plane's outline properties. | |
virtual vtkProperty * | GetSelectedPlaneProperty () |
Set/Get the plane's outline properties. | |
void | SetPlaneOrientation (int) |
Convenience method sets the plane orientation normal to the x, y, or z axes. | |
virtual int | GetPlaneOrientation () |
Convenience method sets the plane orientation normal to the x, y, or z axes. | |
void | SetPlaneOrientationToXAxes () |
Convenience method sets the plane orientation normal to the x, y, or z axes. | |
void | SetPlaneOrientationToYAxes () |
Convenience method sets the plane orientation normal to the x, y, or z axes. | |
void | SetPlaneOrientationToZAxes () |
Convenience method sets the plane orientation normal to the x, y, or z axes. | |
virtual void | SetLookupTable (vtkLookupTable *) |
Set/Get the internal lookuptable (lut) to one defined by the user, or, alternatively, to the lut of another vtkImgePlaneWidget. | |
virtual vtkLookupTable * | GetLookupTable () |
Set/Get the internal lookuptable (lut) to one defined by the user, or, alternatively, to the lut of another vtkImgePlaneWidget. | |
virtual void | SetDisplayText (vtkTypeBool) |
Enable/disable text display of window-level, image coordinates and scalar values in a render window. | |
virtual vtkTypeBool | GetDisplayText () |
Enable/disable text display of window-level, image coordinates and scalar values in a render window. | |
virtual void | DisplayTextOn () |
Enable/disable text display of window-level, image coordinates and scalar values in a render window. | |
virtual void | DisplayTextOff () |
Enable/disable text display of window-level, image coordinates and scalar values in a render window. | |
virtual void | SetCursorProperty (vtkProperty *) |
Set the properties of the cross-hair cursor. | |
virtual vtkProperty * | GetCursorProperty () |
Set the properties of the cross-hair cursor. | |
virtual void | SetMarginProperty (vtkProperty *) |
Set the properties of the margins. | |
virtual vtkProperty * | GetMarginProperty () |
Set the properties of the margins. | |
virtual void | SetMarginSizeX (double) |
Set the size of the margins based on a percentage of the plane's width and height, limited between 0 and 50%. | |
virtual double | GetMarginSizeX () |
Set the size of the margins based on a percentage of the plane's width and height, limited between 0 and 50%. | |
virtual void | SetMarginSizeY (double) |
Set the size of the margins based on a percentage of the plane's width and height, limited between 0 and 50%. | |
virtual double | GetMarginSizeY () |
Set the size of the margins based on a percentage of the plane's width and height, limited between 0 and 50%. | |
void | SetTextProperty (vtkTextProperty *tprop) |
Set/Get the text property for the image data and window-level annotation. | |
vtkTextProperty * | GetTextProperty () |
Set/Get the text property for the image data and window-level annotation. | |
virtual void | SetTexturePlaneProperty (vtkProperty *) |
Set/Get the property for the resliced image. | |
virtual vtkProperty * | GetTexturePlaneProperty () |
Set/Get the property for the resliced image. | |
void | SetWindowLevel (double window, double level, int copy=0) |
Set/Get the current window and level values. | |
void | GetWindowLevel (double wl[2]) |
Set/Get the current window and level values. | |
double | GetWindow () |
Set/Get the current window and level values. | |
double | GetLevel () |
Set/Get the current window and level values. | |
virtual double * | GetCurrentCursorPosition () |
Get the current cursor position. | |
virtual void | GetCurrentCursorPosition (double data[3]) |
Get the current cursor position. | |
virtual double | GetCurrentImageValue () |
Get the current image value at the current cursor position. | |
virtual vtkMatrix4x4 * | GetResliceAxes () |
Get the current reslice class and reslice axes. | |
virtual vtkImageReslice * | GetReslice () |
Get the current reslice class and reslice axes. | |
virtual void | SetUseContinuousCursor (vtkTypeBool) |
Choose between voxel centered or continuous cursor probing. | |
virtual vtkTypeBool | GetUseContinuousCursor () |
Choose between voxel centered or continuous cursor probing. | |
virtual void | UseContinuousCursorOn () |
Choose between voxel centered or continuous cursor probing. | |
virtual void | UseContinuousCursorOff () |
Choose between voxel centered or continuous cursor probing. | |
void | SetInteraction (vtkTypeBool interact) |
Enable/disable mouse interaction so the widget remains on display. | |
virtual vtkTypeBool | GetInteraction () |
Enable/disable mouse interaction so the widget remains on display. | |
virtual void | InteractionOn () |
Enable/disable mouse interaction so the widget remains on display. | |
virtual void | InteractionOff () |
Enable/disable mouse interaction so the widget remains on display. | |
Public Member Functions inherited from vtkPolyDataSourceWidget | |
virtual vtkTypeBool | IsA (const char *type) |
Return 1 if this class is the same type of (or a subclass of) the named class. | |
vtkPolyDataSourceWidget * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) override |
Methods invoked by print to print information about the object including superclasses. | |
void | PlaceWidget () override |
Overrides vtk3DWidget PlaceWidget() so that it doesn't complain if there's no Input and no Prop3D. | |
void | PlaceWidget (double bounds[6]) override=0 |
We have to redeclare this abstract, PlaceWidget() requires it. | |
void | PlaceWidget (double xmin, double xmax, double ymin, double ymax, double zmin, double zmax) override |
Convenience method brought over from vtkPlaneWidget. | |
virtual vtkPolyDataAlgorithm * | GetPolyDataAlgorithm ()=0 |
Returns underlying vtkPolyDataAlgorithm that determines geometry. | |
virtual void | UpdatePlacement ()=0 |
If you've made changes to the underlying vtkPolyDataSource AFTER your initial call to PlaceWidget(), use this method to realise the changes in the widget. | |
Public Member Functions inherited from vtk3DWidget | |
virtual vtkTypeBool | IsA (const char *type) |
Return 1 if this class is the same type of (or a subclass of) the named class. | |
vtk3DWidget * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) override |
Methods invoked by print to print information about the object including superclasses. | |
virtual void | SetProp3D (vtkProp3D *) |
Specify a vtkProp3D around which to place the widget. | |
virtual vtkProp3D * | GetProp3D () |
Specify a vtkProp3D around which to place the widget. | |
virtual void | SetInputData (vtkDataSet *) |
Specify the input dataset. | |
virtual vtkDataSet * | GetInput () |
Specify the input dataset. | |
virtual void | SetPlaceFactor (double) |
Set/Get a factor representing the scaling of the widget upon placement (via the PlaceWidget() method). | |
virtual double | GetPlaceFactor () |
Set/Get a factor representing the scaling of the widget upon placement (via the PlaceWidget() method). | |
virtual void | SetHandleSize (double) |
Set/Get the factor that controls the size of the handles that appear as part of the widget. | |
virtual double | GetHandleSize () |
Set/Get the factor that controls the size of the handles that appear as part of the widget. | |
Public Member Functions inherited from vtkInteractorObserver | |
virtual vtkTypeBool | IsA (const char *type) |
Return 1 if this class is the same type of (or a subclass of) the named class. | |
vtkInteractorObserver * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) override |
Methods invoked by print to print information about the object including superclasses. | |
virtual void | SetEnabled (int) |
Methods for turning the interactor observer on and off, and determining its state. | |
int | GetEnabled () |
void | EnabledOn () |
void | EnabledOff () |
void | On () |
void | Off () |
virtual void | OnChar () |
Sets up the keypress-i event. | |
virtual void | SetInteractor (vtkRenderWindowInteractor *iren) |
This method is used to associate the widget with the render window interactor. | |
virtual vtkRenderWindowInteractor * | GetInteractor () |
This method is used to associate the widget with the render window interactor. | |
virtual void | SetPriority (float) |
Set/Get the priority at which events are processed. | |
virtual float | GetPriority () |
Set/Get the priority at which events are processed. | |
virtual void | PickingManagedOn () |
Enable/Disable the use of a manager to process the picking. | |
virtual void | PickingManagedOff () |
Enable/Disable the use of a manager to process the picking. | |
virtual void | SetPickingManaged (bool managed) |
Enable/Disable the use of a manager to process the picking. | |
virtual bool | GetPickingManaged () |
Enable/Disable the use of a manager to process the picking. | |
virtual void | SetKeyPressActivation (vtkTypeBool) |
Enable/Disable of the use of a keypress to turn on and off the interactor observer. | |
virtual vtkTypeBool | GetKeyPressActivation () |
Enable/Disable of the use of a keypress to turn on and off the interactor observer. | |
virtual void | KeyPressActivationOn () |
Enable/Disable of the use of a keypress to turn on and off the interactor observer. | |
virtual void | KeyPressActivationOff () |
Enable/Disable of the use of a keypress to turn on and off the interactor observer. | |
virtual void | SetKeyPressActivationValue (char) |
Specify which key press value to use to activate the interactor observer (if key press activation is enabled). | |
virtual char | GetKeyPressActivationValue () |
Specify which key press value to use to activate the interactor observer (if key press activation is enabled). | |
virtual vtkRenderer * | GetDefaultRenderer () |
Set/Get the default renderer to use when activating the interactor observer. | |
virtual void | SetDefaultRenderer (vtkRenderer *) |
Set/Get the default renderer to use when activating the interactor observer. | |
virtual vtkRenderer * | GetCurrentRenderer () |
Set/Get the current renderer. | |
virtual void | SetCurrentRenderer (vtkRenderer *) |
Set/Get the current renderer. | |
void | GrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=nullptr) |
These methods enable an interactor observer to exclusively grab all events invoked by its associated vtkRenderWindowInteractor. | |
void | ReleaseFocus () |
These methods enable an interactor observer to exclusively grab all events invoked by its associated vtkRenderWindowInteractor. | |
Public Member Functions inherited from vtkObject | |
vtkBaseTypeMacro (vtkObject, vtkObjectBase) | |
virtual void | DebugOn () |
Turn debugging output on. | |
virtual void | DebugOff () |
Turn debugging output off. | |
bool | GetDebug () |
Get the value of the debug flag. | |
void | SetDebug (bool debugFlag) |
Set the value of the debug flag. | |
virtual void | Modified () |
Update the modification time for this object. | |
virtual vtkMTimeType | GetMTime () |
Return this object's modified time. | |
void | PrintSelf (ostream &os, vtkIndent indent) override |
Methods invoked by print to print information about the object including superclasses. | |
void | RemoveObserver (unsigned long tag) |
void | RemoveObservers (unsigned long event) |
void | RemoveObservers (const char *event) |
void | RemoveAllObservers () |
vtkTypeBool | HasObserver (unsigned long event) |
vtkTypeBool | HasObserver (const char *event) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
vtkCommand * | GetCommand (unsigned long tag) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
void | RemoveObserver (vtkCommand *) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
void | RemoveObservers (unsigned long event, vtkCommand *) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
void | RemoveObservers (const char *event, vtkCommand *) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
vtkTypeBool | HasObserver (unsigned long event, vtkCommand *) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
vtkTypeBool | HasObserver (const char *event, vtkCommand *) |
Allow people to add/remove/invoke observers (callbacks) to any VTK object. | |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
Overloads to AddObserver that allow developers to add class member functions as callbacks for events. | |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
Overloads to AddObserver that allow developers to add class member functions as callbacks for events. | |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
Allow user to set the AbortFlagOn() with the return value of the callback method. | |
int | InvokeEvent (unsigned long event, void *callData) |
This method invokes an event and return whether the event was aborted or not. | |
int | InvokeEvent (const char *event, void *callData) |
This method invokes an event and return whether the event was aborted or not. | |
Public Member Functions inherited from vtkObjectBase | |
const char * | GetClassName () const |
Return the class name as a string. | |
virtual vtkTypeBool | IsA (const char *name) |
Return 1 if this class is the same type of (or a subclass of) the named class. | |
virtual vtkIdType | GetNumberOfGenerationsFromBase (const char *name) |
Given the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class). | |
virtual void | Delete () |
Delete a VTK object. | |
virtual void | FastDelete () |
Delete a reference to this object. | |
void | InitializeObjectBase () |
void | Print (ostream &os) |
Print an object to an ostream. | |
virtual void | Register (vtkObjectBase *o) |
Increase the reference count (mark as used by another object). | |
virtual void | UnRegister (vtkObjectBase *o) |
Decrease the reference count (release by another object). | |
int | GetReferenceCount () |
Return the current reference count of this object. | |
void | SetReferenceCount (int) |
Sets the reference count. | |
bool | GetIsInMemkind () const |
A local state flag that remembers whether this object lives in the normal or extended memory space. | |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
Methods invoked by print to print information about the object including superclasses. | |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
Methods invoked by print to print information about the object including superclasses. | |
Static Public Member Functions | |
static vtkImagePlaneWidget * | New () |
Instantiate the object. | |
static vtkTypeBool | IsTypeOf (const char *type) |
static vtkImagePlaneWidget * | SafeDownCast (vtkObjectBase *o) |
Static Public Member Functions inherited from vtkPolyDataSourceWidget | |
static vtkTypeBool | IsTypeOf (const char *type) |
static vtkPolyDataSourceWidget * | SafeDownCast (vtkObjectBase *o) |
Static Public Member Functions inherited from vtk3DWidget | |
static vtkTypeBool | IsTypeOf (const char *type) |
static vtk3DWidget * | SafeDownCast (vtkObjectBase *o) |
Static Public Member Functions inherited from vtkInteractorObserver | |
static vtkTypeBool | IsTypeOf (const char *type) |
static vtkInteractorObserver * | SafeDownCast (vtkObjectBase *o) |
static void | ComputeDisplayToWorld (vtkRenderer *ren, double x, double y, double z, double worldPt[4]) |
Convenience methods for outside classes. | |
static void | ComputeWorldToDisplay (vtkRenderer *ren, double x, double y, double z, double displayPt[3]) |
Convenience methods for outside classes. | |
Static Public Member Functions inherited from vtkObject | |
static vtkObject * | New () |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. | |
static void | BreakOnError () |
This method is called when vtkErrorMacro executes. | |
static void | SetGlobalWarningDisplay (int val) |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
static void | GlobalWarningDisplayOn () |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
static void | GlobalWarningDisplayOff () |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
static int | GetGlobalWarningDisplay () |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
Static Public Member Functions inherited from vtkObjectBase | |
static vtkTypeBool | IsTypeOf (const char *name) |
Return 1 if this class type is the same type of (or a subclass of) the named class. | |
static vtkIdType | GetNumberOfGenerationsFromBaseType (const char *name) |
Given a the name of a base class of this class type, return the distance of inheritance between this class type and the named class (how many generations of inheritance are there between this class and the named class). | |
static vtkObjectBase * | New () |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. | |
static void | SetMemkindDirectory (const char *directoryname) |
The name of a directory, ideally mounted -o dax, to memory map an extended memory space within. | |
static bool | GetUsingMemkind () |
A global state flag that controls whether vtkObjects are constructed in the usual way (the default) or within the extended memory space. | |
Protected Types | |
enum | { VTK_NO_BUTTON = 0 , VTK_LEFT_BUTTON = 1 , VTK_MIDDLE_BUTTON = 2 , VTK_RIGHT_BUTTON = 3 } |
enum | WidgetState { Start = 0 , Cursoring , WindowLevelling , Pushing , Spinning , Rotating , Moving , Scaling , Outside } |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkImagePlaneWidget () | |
~vtkImagePlaneWidget () override | |
void | AddObservers () |
virtual void | OnMouseMove () |
virtual void | OnLeftButtonDown () |
virtual void | OnLeftButtonUp () |
virtual void | OnMiddleButtonDown () |
virtual void | OnMiddleButtonUp () |
virtual void | OnRightButtonDown () |
virtual void | OnRightButtonUp () |
void | OnChar () override |
Sets up the keypress-i event. | |
virtual void | StartCursor () |
virtual void | StopCursor () |
virtual void | StartSliceMotion () |
virtual void | StopSliceMotion () |
virtual void | StartWindowLevel () |
virtual void | StopWindowLevel () |
void | HighlightPlane (int highlight) |
void | GeneratePlaneOutline () |
void | BuildRepresentation () |
void | RegisterPickers () override |
Register internal Pickers in the Picking Manager. | |
void | InvertTable () |
void | WindowLevel (int X, int Y) |
void | Push (double *p1, double *p2) |
void | Spin (double *p1, double *p2) |
void | Rotate (double *p1, double *p2, double *vpn) |
void | Scale (double *p1, double *p2, int X, int Y) |
void | Translate (double *p1, double *p2) |
vtkLookupTable * | CreateDefaultLookupTable () |
void | CreateDefaultProperties () |
void | UpdatePlane () |
void | GenerateTexturePlane () |
void | GenerateCursor () |
void | UpdateCursor (int, int) |
void | ActivateCursor (int) |
int | UpdateContinuousCursor (double *q) |
int | UpdateDiscreteCursor (double *q) |
void | GenerateText () |
void | ManageTextDisplay () |
void | ActivateText (int) |
void | AdjustState () |
void | GenerateMargins () |
void | UpdateMargins () |
void | ActivateMargins (int) |
Protected Member Functions inherited from vtkPolyDataSourceWidget | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkPolyDataSourceWidget () | |
Empty constructor that calls the parent constructor. | |
Protected Member Functions inherited from vtk3DWidget | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtk3DWidget () | |
~vtk3DWidget () override | |
void | AdjustBounds (double bounds[6], double newBounds[6], double center[3]) |
double | SizeHandles (double factor) |
virtual void | SizeHandles () |
void | UpdateInput () |
Protected Member Functions inherited from vtkInteractorObserver | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkInteractorObserver () | |
~vtkInteractorObserver () override | |
virtual void | RegisterPickers () |
Register internal Pickers in the Picking Manager. | |
void | UnRegisterPickers () |
Unregister internal pickers from the Picking Manager. | |
vtkPickingManager * | GetPickingManager () |
Return the picking manager associated on the context on which the observer currently belong. | |
vtkAssemblyPath * | GetAssemblyPath (double X, double Y, double Z, vtkAbstractPropPicker *picker) |
Proceed to a pick, whether through the PickingManager if the picking is managed or directly using the picker, and return the assembly path. | |
int | RequestCursorShape (int requestedShape) |
virtual void | StartInteraction () |
Utility routines used to start and end interaction. | |
virtual void | EndInteraction () |
Utility routines used to start and end interaction. | |
void | ComputeDisplayToWorld (double x, double y, double z, double worldPt[4]) |
Helper method for subclasses. | |
void | ComputeWorldToDisplay (double x, double y, double z, double displayPt[3]) |
Helper method for subclasses. | |
Protected Member Functions inherited from vtkObject | |
vtkObject () | |
~vtkObject () override | |
void | RegisterInternal (vtkObjectBase *, vtkTypeBool check) override |
void | UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) override |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=nullptr) |
These methods allow a command to exclusively grab all events. | |
void | InternalReleaseFocus () |
These methods allow a command to exclusively grab all events. | |
Protected Member Functions inherited from vtkObjectBase | |
vtkObjectBase () | |
virtual | ~vtkObjectBase () |
virtual void | RegisterInternal (vtkObjectBase *, vtkTypeBool check) |
virtual void | UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) |
virtual void | ReportReferences (vtkGarbageCollector *) |
vtkObjectBase (const vtkObjectBase &) | |
void | operator= (const vtkObjectBase &) |
Static Protected Member Functions | |
static void | ProcessEvents (vtkObject *object, unsigned long event, void *clientdata, void *calldata) |
Static Protected Member Functions inherited from vtkInteractorObserver | |
static void | ProcessEvents (vtkObject *object, unsigned long event, void *clientdata, void *calldata) |
Handles the char widget activation event. | |
Static Protected Member Functions inherited from vtkObjectBase | |
static vtkMallocingFunction | GetCurrentMallocFunction () |
static vtkReallocingFunction | GetCurrentReallocFunction () |
static vtkFreeingFunction | GetCurrentFreeFunction () |
static vtkFreeingFunction | GetAlternateFreeFunction () |
3D widget for reslicing image data
This 3D widget defines a plane that can be interactively placed in an image volume. A nice feature of the object is that the vtkImagePlaneWidget, like any 3D widget, will work with the current interactor style. That is, if vtkImagePlaneWidget does not handle an event, then all other registered observers (including the interactor style) have an opportunity to process the event. Otherwise, the vtkImagePlaneWidget 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() and UpdatePlane() 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 vtkImagePlaneWidget 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. Window-level values can be reset by shift + 'r' or control + 'r' while regular reset camera is maintained with 'r' or 'R'. 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). To support interactive manipulation of objects, this class invokes the events StartInteractionEvent, InteractionEvent, and EndInteractionEvent as well as StartWindowLevelEvent, WindowLevelEvent, EndWindowLevelEvent and ResetWindowLevelEvent.
The vtkImagePlaneWidget 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.
A simpler version of this widget is the combination of vtkImplicitPlaneWidget2 combined with the representation vtkImplicitImageRepresentation.
Definition at line 163 of file vtkImagePlaneWidget.h.
Definition at line 171 of file vtkImagePlaneWidget.h.
anonymous enum |
Set action associated to buttons.
Enumerator | |
---|---|
VTK_CURSOR_ACTION | |
VTK_SLICE_MOTION_ACTION | |
VTK_WINDOW_LEVEL_ACTION |
Definition at line 545 of file vtkImagePlaneWidget.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 VTK_SLICE_MOTION_ACTION (see above) and the left button auto modifier to VTK_CONTROL_MODIFIER: you end up with the left button controlling panning without pressing a key.
Enumerator | |
---|---|
VTK_NO_MODIFIER | |
VTK_SHIFT_MODIFIER | |
VTK_CONTROL_MODIFIER |
Definition at line 568 of file vtkImagePlaneWidget.h.
|
protected |
Enumerator | |
---|---|
VTK_NO_BUTTON | |
VTK_LEFT_BUTTON | |
VTK_MIDDLE_BUTTON | |
VTK_RIGHT_BUTTON |
Definition at line 596 of file vtkImagePlaneWidget.h.
|
protected |
Enumerator | |
---|---|
Start | |
Cursoring | |
WindowLevelling | |
Pushing | |
Spinning | |
Rotating | |
Moving | |
Scaling | |
Outside |
Definition at line 607 of file vtkImagePlaneWidget.h.
|
protected |
|
overrideprotected |
|
static |
Instantiate the object.
|
static |
|
virtual |
Return 1 if this class is the same type of (or a subclass of) the named class.
Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkPolyDataSourceWidget.
|
static |
|
protectedvirtual |
Reimplemented from vtkPolyDataSourceWidget.
vtkImagePlaneWidget * vtkImagePlaneWidget::NewInstance | ( | ) | const |
|
overridevirtual |
Methods invoked by print to print information about the object including superclasses.
Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtk3DWidget.
|
overridevirtual |
Methods that satisfy the superclass' API.
Reimplemented from vtkInteractorObserver.
|
overridevirtual |
Methods that satisfy the superclass' API.
Implements vtkPolyDataSourceWidget.
|
inlineoverridevirtual |
Methods that satisfy the superclass' API.
Reimplemented from vtk3DWidget.
Definition at line 180 of file vtkImagePlaneWidget.h.
|
inlineoverridevirtual |
Methods that satisfy the superclass' API.
Reimplemented from vtk3DWidget.
Definition at line 181 of file vtkImagePlaneWidget.h.
|
overridevirtual |
Set the vtkImageData* input for the vtkImageReslice.
Reimplemented from vtk3DWidget.
void vtkImagePlaneWidget::SetOrigin | ( | double | x, |
double | y, | ||
double | z | ||
) |
Set/Get the origin of the plane.
void vtkImagePlaneWidget::SetOrigin | ( | double | xyz[3] | ) |
Set/Get the origin of the plane.
double * vtkImagePlaneWidget::GetOrigin | ( | ) |
Set/Get the origin of the plane.
void vtkImagePlaneWidget::GetOrigin | ( | double | xyz[3] | ) |
Set/Get the origin of the plane.
void vtkImagePlaneWidget::SetPoint1 | ( | double | x, |
double | y, | ||
double | z | ||
) |
Set/Get the position of the point defining the first axis of the plane.
void vtkImagePlaneWidget::SetPoint1 | ( | double | xyz[3] | ) |
Set/Get the position of the point defining the first axis of the plane.
double * vtkImagePlaneWidget::GetPoint1 | ( | ) |
Set/Get the position of the point defining the first axis of the plane.
void vtkImagePlaneWidget::GetPoint1 | ( | double | xyz[3] | ) |
Set/Get the position of the point defining the first axis of the plane.
void vtkImagePlaneWidget::SetPoint2 | ( | double | x, |
double | y, | ||
double | z | ||
) |
Set/Get the position of the point defining the second axis of the plane.
void vtkImagePlaneWidget::SetPoint2 | ( | double | xyz[3] | ) |
Set/Get the position of the point defining the second axis of the plane.
double * vtkImagePlaneWidget::GetPoint2 | ( | ) |
Set/Get the position of the point defining the second axis of the plane.
void vtkImagePlaneWidget::GetPoint2 | ( | double | xyz[3] | ) |
Set/Get the position of the point defining the second axis of the plane.
double * vtkImagePlaneWidget::GetCenter | ( | ) |
Get the center of the plane.
void vtkImagePlaneWidget::GetCenter | ( | double | xyz[3] | ) |
Get the center of the plane.
double * vtkImagePlaneWidget::GetNormal | ( | ) |
Get the normal to the plane.
void vtkImagePlaneWidget::GetNormal | ( | double | xyz[3] | ) |
Get the normal to the plane.
void vtkImagePlaneWidget::GetVector1 | ( | double | v1[3] | ) |
Get the vector from the plane origin to point1.
void vtkImagePlaneWidget::GetVector2 | ( | double | v2[3] | ) |
Get the vector from the plane origin to point2.
int vtkImagePlaneWidget::GetSliceIndex | ( | ) |
Get the slice position in terms of the data extent.
void vtkImagePlaneWidget::SetSliceIndex | ( | int | index | ) |
Set the slice position in terms of the data extent.
double vtkImagePlaneWidget::GetSlicePosition | ( | ) |
Get the position of the slice along its normal.
void vtkImagePlaneWidget::SetSlicePosition | ( | double | position | ) |
Set the position of the slice along its normal.
void vtkImagePlaneWidget::SetResliceInterpolate | ( | int | ) |
Set the interpolation to use when texturing the plane.
|
virtual |
Set the interpolation to use when texturing the plane.
|
inline |
Set the interpolation to use when texturing the plane.
Definition at line 275 of file vtkImagePlaneWidget.h.
|
inline |
Set the interpolation to use when texturing the plane.
Definition at line 279 of file vtkImagePlaneWidget.h.
|
inline |
Set the interpolation to use when texturing the plane.
Definition at line 280 of file vtkImagePlaneWidget.h.
vtkImageData * vtkImagePlaneWidget::GetResliceOutput | ( | ) |
Convenience method to get the vtkImageReslice output.
|
virtual |
Make sure that the plane remains within the volume.
Default is On.
|
virtual |
Make sure that the plane remains within the volume.
Default is On.
|
virtual |
Make sure that the plane remains within the volume.
Default is On.
|
virtual |
Make sure that the plane remains within the volume.
Default is On.
|
virtual |
Let the user control the lookup table.
NOTE: apply this method BEFORE applying the SetLookupTable method. Default is Off.
|
virtual |
Let the user control the lookup table.
NOTE: apply this method BEFORE applying the SetLookupTable method. Default is Off.
|
virtual |
Let the user control the lookup table.
NOTE: apply this method BEFORE applying the SetLookupTable method. Default is Off.
|
virtual |
Let the user control the lookup table.
NOTE: apply this method BEFORE applying the SetLookupTable method. Default is Off.
|
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 input. Default is On.
|
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 input. Default is On.
|
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 input. Default is On.
|
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 input. Default is On.
|
virtual |
Control the visibility of the actual texture mapped reformatted plane.
in some cases you may only want the plane outline for example.
|
virtual |
Control the visibility of the actual texture mapped reformatted plane.
in some cases you may only want the plane outline for example.
|
virtual |
Control the visibility of the actual texture mapped reformatted plane.
in some cases you may only want the plane outline for example.
|
virtual |
Control the visibility of the actual texture mapped reformatted plane.
in some cases you may only want the plane outline for example.
void vtkImagePlaneWidget::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 polygons are added to it.
|
overridevirtual |
Satisfies superclass API.
This returns a pointer to the underlying vtkPolyData. 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.
|
overridevirtual |
Satisfies superclass API.
This will change the state of the widget to match changes that have been made to the underlying vtkPolyDataSource
Implements vtkPolyDataSourceWidget.
vtkTexture * vtkImagePlaneWidget::GetTexture | ( | ) |
Convenience method to get the texture used by this widget.
This can be used in external slice viewers.
|
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 SetOutputFormatToRGB and PassAlphaToOutputOff.
|
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 SetOutputFormatToRGB and PassAlphaToOutputOff.
|
virtual |
Set/Get the plane's outline properties.
The properties of the plane's outline when selected and unselected can be manipulated.
|
virtual |
Set/Get the plane's outline properties.
The properties of the plane's outline when selected and unselected can be manipulated.
|
virtual |
Set/Get the plane's outline properties.
The properties of the plane's outline when selected and unselected can be manipulated.
|
virtual |
Set/Get the plane's outline properties.
The properties of the plane's outline when selected and unselected can be manipulated.
void vtkImagePlaneWidget::SetPlaneOrientation | ( | int | ) |
Convenience method sets the plane orientation normal to the x, y, or z axes.
Default is XAxes (0).
|
virtual |
Convenience method sets the plane orientation normal to the x, y, or z axes.
Default is XAxes (0).
|
inline |
Convenience method sets the plane orientation normal to the x, y, or z axes.
Default is XAxes (0).
Definition at line 390 of file vtkImagePlaneWidget.h.
|
inline |
Convenience method sets the plane orientation normal to the x, y, or z axes.
Default is XAxes (0).
Definition at line 391 of file vtkImagePlaneWidget.h.
|
inline |
Convenience method sets the plane orientation normal to the x, y, or z axes.
Default is XAxes (0).
Definition at line 392 of file vtkImagePlaneWidget.h.
void vtkImagePlaneWidget::SetPicker | ( | vtkAbstractPropPicker * | ) |
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 (nullptr).
|
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 (nullptr).
|
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 (nullptr).
|
virtual |
Enable/disable text display of window-level, image coordinates and scalar values in a render window.
|
virtual |
Enable/disable text display of window-level, image coordinates and scalar values in a render window.
|
virtual |
Enable/disable text display of window-level, image coordinates and scalar values in a render window.
|
virtual |
Enable/disable text display of window-level, image coordinates and scalar values in a render window.
|
virtual |
Set the properties of the cross-hair cursor.
|
virtual |
Set the properties of the cross-hair cursor.
|
virtual |
Set the properties of the margins.
|
virtual |
Set the properties of the margins.
|
virtual |
Set the size of the margins based on a percentage of the plane's width and height, limited between 0 and 50%.
|
virtual |
Set the size of the margins based on a percentage of the plane's width and height, limited between 0 and 50%.
|
virtual |
Set the size of the margins based on a percentage of the plane's width and height, limited between 0 and 50%.
|
virtual |
Set the size of the margins based on a percentage of the plane's width and height, limited between 0 and 50%.
void vtkImagePlaneWidget::SetTextProperty | ( | vtkTextProperty * | tprop | ) |
Set/Get the text property for the image data and window-level annotation.
vtkTextProperty * vtkImagePlaneWidget::GetTextProperty | ( | ) |
Set/Get the text property for the image data and window-level annotation.
|
virtual |
Set/Get the property for the resliced image.
|
virtual |
Set/Get the property for the resliced image.
void vtkImagePlaneWidget::SetWindowLevel | ( | double | window, |
double | level, | ||
int | copy = 0 |
||
) |
Set/Get the current window and level values.
SetWindowLevel should only be called after SetInput. If a shared lookup table is being used, a callback is required to update the window level values without having to update the lookup table again.
void vtkImagePlaneWidget::GetWindowLevel | ( | double | wl[2] | ) |
Set/Get the current window and level values.
SetWindowLevel should only be called after SetInput. If a shared lookup table is being used, a callback is required to update the window level values without having to update the lookup table again.
|
inline |
Set/Get the current window and level values.
SetWindowLevel should only be called after SetInput. If a shared lookup table is being used, a callback is required to update the window level values without having to update the lookup table again.
Definition at line 477 of file vtkImagePlaneWidget.h.
|
inline |
Set/Get the current window and level values.
SetWindowLevel should only be called after SetInput. If a shared lookup table is being used, a callback is required to update the window level values without having to update the lookup table again.
Definition at line 478 of file vtkImagePlaneWidget.h.
int vtkImagePlaneWidget::GetCursorData | ( | double | xyzv[4] | ) |
Get the image coordinate position and voxel value.
Currently only supports single component image data.
int vtkImagePlaneWidget::GetCursorDataStatus | ( | ) |
Get the status of the cursor data.
If this returns 1 the CurrentCursorPosition and CurrentImageValue will have current data. If it returns 0, these values are invalid.
|
virtual |
Get the current cursor position.
To be used in conjunction with GetCursorDataStatus.
|
virtual |
Get the current cursor position.
To be used in conjunction with GetCursorDataStatus.
|
virtual |
Get the current image value at the current cursor position.
To be used in conjunction with GetCursorDataStatus. The value is VTK_DOUBLE_MAX when the data is invalid.
|
virtual |
Get the current reslice class and reslice axes.
|
virtual |
Get the current reslice class and reslice axes.
|
virtual |
Choose between voxel centered or continuous cursor probing.
With voxel centered probing, the cursor snaps to the nearest voxel and the reported cursor coordinates are extent based. With continuous probing, voxel data is interpolated using vtkDataSetAttributes' InterpolatePoint method and the reported coordinates are 3D spatial continuous.
|
virtual |
Choose between voxel centered or continuous cursor probing.
With voxel centered probing, the cursor snaps to the nearest voxel and the reported cursor coordinates are extent based. With continuous probing, voxel data is interpolated using vtkDataSetAttributes' InterpolatePoint method and the reported coordinates are 3D spatial continuous.
|
virtual |
Choose between voxel centered or continuous cursor probing.
With voxel centered probing, the cursor snaps to the nearest voxel and the reported cursor coordinates are extent based. With continuous probing, voxel data is interpolated using vtkDataSetAttributes' InterpolatePoint method and the reported coordinates are 3D spatial continuous.
|
virtual |
Choose between voxel centered or continuous cursor probing.
With voxel centered probing, the cursor snaps to the nearest voxel and the reported cursor coordinates are extent based. With continuous probing, voxel data is interpolated using vtkDataSetAttributes' InterpolatePoint method and the reported coordinates are 3D spatial continuous.
void vtkImagePlaneWidget::SetInteraction | ( | vtkTypeBool | interact | ) |
Enable/disable mouse interaction so the widget remains on display.
|
virtual |
Enable/disable mouse interaction so the widget remains on display.
|
virtual |
Enable/disable mouse interaction so the widget remains on display.
|
virtual |
Enable/disable mouse interaction so the widget remains on display.
|
virtual |
Set action associated to buttons.
|
virtual |
Set action associated to buttons.
|
virtual |
Set action associated to buttons.
|
virtual |
Set action associated to buttons.
|
virtual |
Set action associated to buttons.
|
virtual |
Set action associated to buttons.
|
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 VTK_SLICE_MOTION_ACTION (see above) and the left button auto modifier to VTK_CONTROL_MODIFIER: you end up with the left button controlling panning without pressing a key.
|
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 VTK_SLICE_MOTION_ACTION (see above) and the left button auto modifier to VTK_CONTROL_MODIFIER: you end up with the left button controlling panning without pressing a key.
|
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 VTK_SLICE_MOTION_ACTION (see above) and the left button auto modifier to VTK_CONTROL_MODIFIER: you end up with the left button controlling panning without pressing a key.
|
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 VTK_SLICE_MOTION_ACTION (see above) and the left button auto modifier to VTK_CONTROL_MODIFIER: you end up with the left button controlling panning without pressing a key.
|
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 VTK_SLICE_MOTION_ACTION (see above) and the left button auto modifier to VTK_CONTROL_MODIFIER: you end up with the left button controlling panning without pressing a key.
|
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 VTK_SLICE_MOTION_ACTION (see above) and the left button auto modifier to VTK_CONTROL_MODIFIER: you end up with the left button controlling panning without pressing a key.
|
staticprotected |
|
protected |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
overrideprotectedvirtual |
Sets up the keypress-i event.
Reimplemented from vtkInteractorObserver.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
|
protected |
|
protected |
|
overrideprotectedvirtual |
Register internal Pickers in the Picking Manager.
Must be reimplemented by concrete widgets to register their pickers.
Reimplemented from vtkInteractorObserver.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 586 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 588 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 589 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 590 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 592 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 593 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 594 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 603 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 606 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 647 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 648 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 649 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 650 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 651 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 652 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 653 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 654 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 655 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 656 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 657 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 658 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 659 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 660 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 661 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 664 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 665 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 666 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 674 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 690 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 691 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 692 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 693 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 694 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 695 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 696 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 697 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 704 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 705 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 706 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 707 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 708 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 716 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 717 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 718 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 719 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 725 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 728 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 729 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 735 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 736 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 740 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 741 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 742 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 746 of file vtkImagePlaneWidget.h.
|
protected |
Definition at line 747 of file vtkImagePlaneWidget.h.