VTK
|
platform-independent render window interaction including picking and frame rate control. More...
#include <vtkRenderWindowInteractor.h>
Public Types | |
enum | { OneShotTimer =1, RepeatingTimer } |
typedef vtkObject | Superclass |
![]() | |
typedef vtkObjectBase | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | UnRegister (vtkObjectBase *o) |
virtual void | Start () |
virtual void | UpdateSize (int x, int y) |
virtual void | TerminateApp (void) |
virtual vtkAbstractPropPicker * | CreateDefaultPicker () |
virtual void | GetMousePosition (int *x, int *y) |
virtual void | Render () |
virtual vtkRenderer * | FindPokedRenderer (int, int) |
vtkObserverMediator * | GetObserverMediator () |
virtual void | Initialize () |
void | ReInitialize () |
virtual void | Enable () |
virtual void | Disable () |
virtual int | GetEnabled () |
virtual void | EnableRenderOn () |
virtual void | EnableRenderOff () |
virtual void | SetEnableRender (bool) |
virtual bool | GetEnableRender () |
void | SetRenderWindow (vtkRenderWindow *aren) |
virtual vtkRenderWindow * | GetRenderWindow () |
virtual int | CreateTimer (int timerType) |
virtual int | DestroyTimer () |
int | CreateRepeatingTimer (unsigned long duration) |
int | CreateOneShotTimer (unsigned long duration) |
int | IsOneShotTimer (int timerId) |
unsigned long | GetTimerDuration (int timerId) |
int | ResetTimer (int timerId) |
int | DestroyTimer (int timerId) |
virtual int | GetVTKTimerId (int platformTimerId) |
virtual void | SetTimerDuration (unsigned long) |
virtual unsigned long | GetTimerDuration () |
virtual void | SetTimerEventId (int) |
virtual int | GetTimerEventId () |
virtual void | SetTimerEventType (int) |
virtual int | GetTimerEventType () |
virtual void | SetTimerEventDuration (int) |
virtual int | GetTimerEventDuration () |
virtual void | SetTimerEventPlatformId (int) |
virtual int | GetTimerEventPlatformId () |
virtual void | SetInteractorStyle (vtkInteractorObserver *) |
virtual vtkInteractorObserver * | GetInteractorStyle () |
virtual void | SetLightFollowCamera (int) |
virtual int | GetLightFollowCamera () |
virtual void | LightFollowCameraOn () |
virtual void | LightFollowCameraOff () |
virtual void | SetDesiredUpdateRate (double) |
virtual double | GetDesiredUpdateRate () |
virtual void | SetStillUpdateRate (double) |
virtual double | GetStillUpdateRate () |
virtual int | GetInitialized () |
virtual void | SetPicker (vtkAbstractPicker *) |
virtual vtkAbstractPicker * | GetPicker () |
virtual void | ExitCallback () |
virtual void | UserCallback () |
virtual void | StartPickCallback () |
virtual void | EndPickCallback () |
void | HideCursor () |
void | ShowCursor () |
void | FlyTo (vtkRenderer *ren, double x, double y, double z) |
void | FlyTo (vtkRenderer *ren, double *x) |
void | FlyToImage (vtkRenderer *ren, double x, double y) |
void | FlyToImage (vtkRenderer *ren, double *x) |
virtual void | SetNumberOfFlyFrames (int) |
virtual int | GetNumberOfFlyFrames () |
virtual void | SetDolly (double) |
virtual double | GetDolly () |
virtual int * | GetEventPosition () |
virtual void | GetEventPosition (int &, int &) |
virtual void | GetEventPosition (int[2]) |
virtual int * | GetLastEventPosition () |
virtual void | GetLastEventPosition (int &, int &) |
virtual void | GetLastEventPosition (int[2]) |
virtual void | SetLastEventPosition (int, int) |
void | SetLastEventPosition (int[2]) |
virtual void | SetEventPosition (int x, int y) |
virtual void | SetEventPosition (int pos[2]) |
virtual void | SetEventPositionFlipY (int x, int y) |
virtual void | SetEventPositionFlipY (int pos[2]) |
virtual void | SetAltKey (int) |
virtual int | GetAltKey () |
virtual void | SetControlKey (int) |
virtual int | GetControlKey () |
virtual void | SetShiftKey (int) |
virtual int | GetShiftKey () |
virtual void | SetKeyCode (char) |
virtual char | GetKeyCode () |
virtual void | SetRepeatCount (int) |
virtual int | GetRepeatCount () |
virtual void | SetKeySym (const char *) |
virtual char * | GetKeySym () |
void | SetEventInformation (int x, int y, int ctrl=0, int shift=0, char keycode=0, int repeatcount=0, const char *keysym=0) |
void | SetEventInformationFlipY (int x, int y, int ctrl=0, int shift=0, char keycode=0, int repeatcount=0, const char *keysym=0) |
void | SetKeyEventInformation (int ctrl=0, int shift=0, char keycode=0, int repeatcount=0, const char *keysym=0) |
virtual void | SetSize (int, int) |
void | SetSize (int[2]) |
virtual int * | GetSize () |
virtual void | GetSize (int &, int &) |
virtual void | GetSize (int[2]) |
virtual void | SetEventSize (int, int) |
void | SetEventSize (int[2]) |
virtual int * | GetEventSize () |
virtual void | GetEventSize (int &, int &) |
virtual void | GetEventSize (int[2]) |
virtual void | SetUseTDx (bool) |
virtual bool | GetUseTDx () |
virtual void | MouseMoveEvent () |
virtual void | RightButtonPressEvent () |
virtual void | RightButtonReleaseEvent () |
virtual void | LeftButtonPressEvent () |
virtual void | LeftButtonReleaseEvent () |
virtual void | MiddleButtonPressEvent () |
virtual void | MiddleButtonReleaseEvent () |
virtual void | MouseWheelForwardEvent () |
virtual void | MouseWheelBackwardEvent () |
virtual void | ExposeEvent () |
virtual void | ConfigureEvent () |
virtual void | EnterEvent () |
virtual void | LeaveEvent () |
virtual void | KeyPressEvent () |
virtual void | KeyReleaseEvent () |
virtual void | CharEvent () |
virtual void | ExitEvent () |
![]() | |
virtual void | DebugOn () |
virtual void | DebugOff () |
unsigned char | GetDebug () |
void | SetDebug (unsigned char debugFlag) |
virtual void | Modified () |
virtual unsigned long | GetMTime () |
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
vtkCommand * | GetCommand (unsigned long tag) |
void | RemoveObserver (vtkCommand *) |
void | RemoveObservers (unsigned long event, vtkCommand *) |
void | RemoveObservers (const char *event, vtkCommand *) |
int | HasObserver (unsigned long event, vtkCommand *) |
int | HasObserver (const char *event, vtkCommand *) |
void | RemoveObserver (unsigned long tag) |
void | RemoveObservers (unsigned long event) |
void | RemoveObservers (const char *event) |
void | RemoveAllObservers () |
int | HasObserver (unsigned long event) |
int | HasObserver (const char *event) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
template<class U , class T > | |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
int | InvokeEvent (unsigned long event, void *callData) |
int | InvokeEvent (const char *event, void *callData) |
int | InvokeEvent (unsigned long event) |
int | InvokeEvent (const char *event) |
![]() | |
const char * | GetClassName () const |
virtual void | Delete () |
virtual void | FastDelete () |
void | Print (ostream &os) |
virtual void | Register (vtkObjectBase *o) |
void | SetReferenceCount (int) |
void | PrintRevisions (ostream &os) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
Static Public Member Functions | |
static vtkRenderWindowInteractor * | New () |
static int | IsTypeOf (const char *type) |
static vtkRenderWindowInteractor * | SafeDownCast (vtkObject *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkObject * | SafeDownCast (vtkObject *o) |
static vtkObject * | New () |
static void | BreakOnError () |
static void | SetGlobalWarningDisplay (int val) |
static void | GlobalWarningDisplayOn () |
static void | GlobalWarningDisplayOff () |
static int | GetGlobalWarningDisplay () |
![]() | |
static int | IsTypeOf (const char *name) |
static vtkObjectBase * | New () |
Protected Member Functions | |
vtkRenderWindowInteractor () | |
~vtkRenderWindowInteractor () | |
virtual int | InternalCreateTimer (int timerId, int timerType, unsigned long duration) |
virtual int | InternalDestroyTimer (int platformTimerId) |
int | GetCurrentTimerId () |
![]() | |
vtkObject () | |
virtual | ~vtkObject () |
virtual void | RegisterInternal (vtkObjectBase *, int check) |
virtual void | UnRegisterInternal (vtkObjectBase *, int check) |
void | InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | InternalReleaseFocus () |
![]() | |
vtkObjectBase () | |
virtual | ~vtkObjectBase () |
virtual void | CollectRevisions (ostream &os) |
virtual void | ReportReferences (vtkGarbageCollector *) |
vtkObjectBase (const vtkObjectBase &) | |
void | operator= (const vtkObjectBase &) |
Protected Attributes | |
vtkRenderWindow * | RenderWindow |
vtkInteractorObserver * | InteractorStyle |
vtkAbstractPicker * | Picker |
int | Initialized |
int | Enabled |
bool | EnableRender |
int | Style |
int | LightFollowCamera |
int | ActorMode |
double | DesiredUpdateRate |
double | StillUpdateRate |
int | AltKey |
int | ControlKey |
int | ShiftKey |
char | KeyCode |
int | RepeatCount |
char * | KeySym |
int | EventPosition [2] |
int | LastEventPosition [2] |
int | EventSize [2] |
int | Size [2] |
int | TimerEventId |
int | TimerEventType |
int | TimerEventDuration |
int | TimerEventPlatformId |
int | NumberOfFlyFrames |
double | Dolly |
vtkObserverMediator * | ObserverMediator |
vtkTimerIdMap * | TimerMap |
unsigned long | TimerDuration |
int | HandleEventLoop |
bool | UseTDx |
![]() | |
unsigned char | Debug |
vtkTimeStamp | MTime |
vtkSubjectHelper * | SubjectHelper |
![]() | |
int | ReferenceCount |
vtkWeakPointerBase ** | WeakPointers |
Friends | |
class | vtkInteractorEventRecorder |
struct | vtkTimerStruct |
class | vtkInteractorObserver |
void | GrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL) |
void | ReleaseFocus () |
platform-independent render window interaction including picking and frame rate control.
vtkRenderWindowInteractor provides a platform-independent interaction mechanism for mouse/key/time events. It serves as a base class for platform-dependent implementations that handle routing of mouse/key/timer messages to vtkInteractorObserver and its subclasses. vtkRenderWindowInteractor also provides controls for picking, rendering frame rate, and headlights.
vtkRenderWindowInteractor has changed from previous implementations and now serves only as a shell to hold user preferences and route messages to vtkInteractorStyle. Callbacks are available for many events. Platform specific subclasses should provide methods for manipulating timers, TerminateApp, and an event loop if required via Initialize/Start/Enable/Disable.
Definition at line 72 of file vtkRenderWindowInteractor.h.
Definition at line 79 of file vtkRenderWindowInteractor.h.
anonymous enum |
Enumerator | |
---|---|
OneShotTimer | |
RepeatingTimer |
Definition at line 160 of file vtkRenderWindowInteractor.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented from vtkObject.
Reimplemented in vtkXRenderWindowInteractor, vtkCarbonRenderWindowInteractor, vtkWin32RenderWindowInteractor, vtkTestingInteractor, vtkCocoaRenderWindowInteractor, vtkXRenderWindowTclInteractor, and vtkGenericRenderWindowInteractor.
|
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 vtkObject.
Reimplemented in vtkXRenderWindowInteractor, vtkCarbonRenderWindowInteractor, vtkWin32RenderWindowInteractor, vtkTestingInteractor, vtkCocoaRenderWindowInteractor, vtkXRenderWindowTclInteractor, and vtkGenericRenderWindowInteractor.
|
static |
|
virtual |
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 vtkObject.
Reimplemented in vtkXRenderWindowInteractor, vtkWin32RenderWindowInteractor, vtkTestingInteractor, and vtkXRenderWindowTclInteractor.
|
virtual |
Prepare for handling events. This must be called before the interactor will work.
Reimplemented in vtkXRenderWindowInteractor, vtkCarbonRenderWindowInteractor, vtkWin32RenderWindowInteractor, vtkCocoaRenderWindowInteractor, and vtkXRenderWindowTclInteractor.
|
inline |
Prepare for handling events. This must be called before the interactor will work.
Definition at line 86 of file vtkRenderWindowInteractor.h.
|
virtual |
This Method detects loops of RenderWindow-Interactor, so objects are freed properly.
Reimplemented from vtkObjectBase.
|
inlinevirtual |
Start the event loop. This is provided so that you do not have to implement your own event loop. You still can use your own event loop if you want. Initialize should be called before Start.
Reimplemented in vtkXRenderWindowInteractor, vtkCarbonRenderWindowInteractor, vtkWin32RenderWindowInteractor, vtkXRenderWindowTclInteractor, vtkCocoaRenderWindowInteractor, and vtkTestingInteractor.
Definition at line 97 of file vtkRenderWindowInteractor.h.
|
inlinevirtual |
Enable/Disable interactions. By default interactors are enabled when initialized. Initialize() must be called prior to enabling/disabling interaction. These methods are used when a window/widget is being shared by multiple renderers and interactors. This allows a "modal" display where one interactor is active when its data is to be displayed and all other interactors associated with the widget are disabled when their data is not displayed.
Reimplemented in vtkXRenderWindowInteractor, vtkCarbonRenderWindowInteractor, vtkWin32RenderWindowInteractor, vtkXRenderWindowTclInteractor, and vtkCocoaRenderWindowInteractor.
Definition at line 107 of file vtkRenderWindowInteractor.h.
|
inlinevirtual |
Enable/Disable interactions. By default interactors are enabled when initialized. Initialize() must be called prior to enabling/disabling interaction. These methods are used when a window/widget is being shared by multiple renderers and interactors. This allows a "modal" display where one interactor is active when its data is to be displayed and all other interactors associated with the widget are disabled when their data is not displayed.
Reimplemented in vtkXRenderWindowInteractor, vtkCarbonRenderWindowInteractor, vtkWin32RenderWindowInteractor, vtkXRenderWindowTclInteractor, and vtkCocoaRenderWindowInteractor.
Definition at line 108 of file vtkRenderWindowInteractor.h.
|
virtual |
Enable/Disable interactions. By default interactors are enabled when initialized. Initialize() must be called prior to enabling/disabling interaction. These methods are used when a window/widget is being shared by multiple renderers and interactors. This allows a "modal" display where one interactor is active when its data is to be displayed and all other interactors associated with the widget are disabled when their data is not displayed.
|
virtual |
Enable/Disable whether vtkRenderWindowInteractor::Render() calls this->RenderWindow->Render().
|
virtual |
Enable/Disable whether vtkRenderWindowInteractor::Render() calls this->RenderWindow->Render().
|
virtual |
Enable/Disable whether vtkRenderWindowInteractor::Render() calls this->RenderWindow->Render().
|
virtual |
Enable/Disable whether vtkRenderWindowInteractor::Render() calls this->RenderWindow->Render().
void vtkRenderWindowInteractor::SetRenderWindow | ( | vtkRenderWindow * | aren | ) |
Set/Get the rendering window being controlled by this object.
|
virtual |
Set/Get the rendering window being controlled by this object.
|
virtual |
Event loop notification member for window size change. Window size is measured in pixels.
Reimplemented in vtkXRenderWindowInteractor.
|
virtual |
This class provides two groups of methods for manipulating timers. The first group (CreateTimer(timerType) and DestroyTimer()) implicitly use an internal timer id (and are present for backward compatibility). The second group (CreateRepeatingTimer(long),CreateOneShotTimer(long), ResetTimer(int),DestroyTimer(int)) use timer ids so multiple timers can be independently managed. In the first group, the CreateTimer() method takes an argument indicating whether the timer is created the first time (timerType==VTKI_TIMER_FIRST) or whether it is being reset (timerType==VTKI_TIMER_UPDATE). (In initial implementations of VTK this was how one shot and repeating timers were managed.) In the second group, the create methods take a timer duration argument (in milliseconds) and return a timer id. Thus the ResetTimer(timerId) and DestroyTimer(timerId) methods take this timer id and operate on the timer as appropriate. Methods are also available for determining
|
virtual |
This class provides two groups of methods for manipulating timers. The first group (CreateTimer(timerType) and DestroyTimer()) implicitly use an internal timer id (and are present for backward compatibility). The second group (CreateRepeatingTimer(long),CreateOneShotTimer(long), ResetTimer(int),DestroyTimer(int)) use timer ids so multiple timers can be independently managed. In the first group, the CreateTimer() method takes an argument indicating whether the timer is created the first time (timerType==VTKI_TIMER_FIRST) or whether it is being reset (timerType==VTKI_TIMER_UPDATE). (In initial implementations of VTK this was how one shot and repeating timers were managed.) In the second group, the create methods take a timer duration argument (in milliseconds) and return a timer id. Thus the ResetTimer(timerId) and DestroyTimer(timerId) methods take this timer id and operate on the timer as appropriate. Methods are also available for determining
int vtkRenderWindowInteractor::CreateRepeatingTimer | ( | unsigned long | duration | ) |
This class provides two groups of methods for manipulating timers. The first group (CreateTimer(timerType) and DestroyTimer()) implicitly use an internal timer id (and are present for backward compatibility). The second group (CreateRepeatingTimer(long),CreateOneShotTimer(long), ResetTimer(int),DestroyTimer(int)) use timer ids so multiple timers can be independently managed. In the first group, the CreateTimer() method takes an argument indicating whether the timer is created the first time (timerType==VTKI_TIMER_FIRST) or whether it is being reset (timerType==VTKI_TIMER_UPDATE). (In initial implementations of VTK this was how one shot and repeating timers were managed.) In the second group, the create methods take a timer duration argument (in milliseconds) and return a timer id. Thus the ResetTimer(timerId) and DestroyTimer(timerId) methods take this timer id and operate on the timer as appropriate. Methods are also available for determining
int vtkRenderWindowInteractor::CreateOneShotTimer | ( | unsigned long | duration | ) |
This class provides two groups of methods for manipulating timers. The first group (CreateTimer(timerType) and DestroyTimer()) implicitly use an internal timer id (and are present for backward compatibility). The second group (CreateRepeatingTimer(long),CreateOneShotTimer(long), ResetTimer(int),DestroyTimer(int)) use timer ids so multiple timers can be independently managed. In the first group, the CreateTimer() method takes an argument indicating whether the timer is created the first time (timerType==VTKI_TIMER_FIRST) or whether it is being reset (timerType==VTKI_TIMER_UPDATE). (In initial implementations of VTK this was how one shot and repeating timers were managed.) In the second group, the create methods take a timer duration argument (in milliseconds) and return a timer id. Thus the ResetTimer(timerId) and DestroyTimer(timerId) methods take this timer id and operate on the timer as appropriate. Methods are also available for determining
int vtkRenderWindowInteractor::IsOneShotTimer | ( | int | timerId | ) |
This class provides two groups of methods for manipulating timers. The first group (CreateTimer(timerType) and DestroyTimer()) implicitly use an internal timer id (and are present for backward compatibility). The second group (CreateRepeatingTimer(long),CreateOneShotTimer(long), ResetTimer(int),DestroyTimer(int)) use timer ids so multiple timers can be independently managed. In the first group, the CreateTimer() method takes an argument indicating whether the timer is created the first time (timerType==VTKI_TIMER_FIRST) or whether it is being reset (timerType==VTKI_TIMER_UPDATE). (In initial implementations of VTK this was how one shot and repeating timers were managed.) In the second group, the create methods take a timer duration argument (in milliseconds) and return a timer id. Thus the ResetTimer(timerId) and DestroyTimer(timerId) methods take this timer id and operate on the timer as appropriate. Methods are also available for determining
unsigned long vtkRenderWindowInteractor::GetTimerDuration | ( | int | timerId | ) |
This class provides two groups of methods for manipulating timers. The first group (CreateTimer(timerType) and DestroyTimer()) implicitly use an internal timer id (and are present for backward compatibility). The second group (CreateRepeatingTimer(long),CreateOneShotTimer(long), ResetTimer(int),DestroyTimer(int)) use timer ids so multiple timers can be independently managed. In the first group, the CreateTimer() method takes an argument indicating whether the timer is created the first time (timerType==VTKI_TIMER_FIRST) or whether it is being reset (timerType==VTKI_TIMER_UPDATE). (In initial implementations of VTK this was how one shot and repeating timers were managed.) In the second group, the create methods take a timer duration argument (in milliseconds) and return a timer id. Thus the ResetTimer(timerId) and DestroyTimer(timerId) methods take this timer id and operate on the timer as appropriate. Methods are also available for determining
int vtkRenderWindowInteractor::ResetTimer | ( | int | timerId | ) |
This class provides two groups of methods for manipulating timers. The first group (CreateTimer(timerType) and DestroyTimer()) implicitly use an internal timer id (and are present for backward compatibility). The second group (CreateRepeatingTimer(long),CreateOneShotTimer(long), ResetTimer(int),DestroyTimer(int)) use timer ids so multiple timers can be independently managed. In the first group, the CreateTimer() method takes an argument indicating whether the timer is created the first time (timerType==VTKI_TIMER_FIRST) or whether it is being reset (timerType==VTKI_TIMER_UPDATE). (In initial implementations of VTK this was how one shot and repeating timers were managed.) In the second group, the create methods take a timer duration argument (in milliseconds) and return a timer id. Thus the ResetTimer(timerId) and DestroyTimer(timerId) methods take this timer id and operate on the timer as appropriate. Methods are also available for determining
int vtkRenderWindowInteractor::DestroyTimer | ( | int | timerId | ) |
This class provides two groups of methods for manipulating timers. The first group (CreateTimer(timerType) and DestroyTimer()) implicitly use an internal timer id (and are present for backward compatibility). The second group (CreateRepeatingTimer(long),CreateOneShotTimer(long), ResetTimer(int),DestroyTimer(int)) use timer ids so multiple timers can be independently managed. In the first group, the CreateTimer() method takes an argument indicating whether the timer is created the first time (timerType==VTKI_TIMER_FIRST) or whether it is being reset (timerType==VTKI_TIMER_UPDATE). (In initial implementations of VTK this was how one shot and repeating timers were managed.) In the second group, the create methods take a timer duration argument (in milliseconds) and return a timer id. Thus the ResetTimer(timerId) and DestroyTimer(timerId) methods take this timer id and operate on the timer as appropriate. Methods are also available for determining
|
virtual |
This class provides two groups of methods for manipulating timers. The first group (CreateTimer(timerType) and DestroyTimer()) implicitly use an internal timer id (and are present for backward compatibility). The second group (CreateRepeatingTimer(long),CreateOneShotTimer(long), ResetTimer(int),DestroyTimer(int)) use timer ids so multiple timers can be independently managed. In the first group, the CreateTimer() method takes an argument indicating whether the timer is created the first time (timerType==VTKI_TIMER_FIRST) or whether it is being reset (timerType==VTKI_TIMER_UPDATE). (In initial implementations of VTK this was how one shot and repeating timers were managed.) In the second group, the create methods take a timer duration argument (in milliseconds) and return a timer id. Thus the ResetTimer(timerId) and DestroyTimer(timerId) methods take this timer id and operate on the timer as appropriate. Methods are also available for determining
|
virtual |
Specify the default timer interval (in milliseconds). (This is used in conjunction with the timer methods described previously, e.g., CreateTimer() uses this value; and CreateRepeatingTimer(duration) and CreateOneShotTimer(duration) use the default value if the parameter "duration" is less than or equal to zero.) Care must be taken when adjusting the timer interval from the default value of 10 milliseconds–it may adversely affect the interactors.
|
virtual |
Specify the default timer interval (in milliseconds). (This is used in conjunction with the timer methods described previously, e.g., CreateTimer() uses this value; and CreateRepeatingTimer(duration) and CreateOneShotTimer(duration) use the default value if the parameter "duration" is less than or equal to zero.) Care must be taken when adjusting the timer interval from the default value of 10 milliseconds–it may adversely affect the interactors.
|
virtual |
These methods are used to communicate information about the currently firing CreateTimerEvent or DestroyTimerEvent. The caller of CreateTimerEvent sets up TimerEventId, TimerEventType and TimerEventDuration. The observer of CreateTimerEvent should set up an appropriate platform specific timer based on those values and set the TimerEventPlatformId before returning. The caller of DestroyTimerEvent sets up TimerEventPlatformId. The observer of DestroyTimerEvent should simply destroy the platform specific timer created by CreateTimerEvent. See vtkGenericRenderWindowInteractor's InternalCreateTimer and InternalDestroyTimer for an example.
|
virtual |
These methods are used to communicate information about the currently firing CreateTimerEvent or DestroyTimerEvent. The caller of CreateTimerEvent sets up TimerEventId, TimerEventType and TimerEventDuration. The observer of CreateTimerEvent should set up an appropriate platform specific timer based on those values and set the TimerEventPlatformId before returning. The caller of DestroyTimerEvent sets up TimerEventPlatformId. The observer of DestroyTimerEvent should simply destroy the platform specific timer created by CreateTimerEvent. See vtkGenericRenderWindowInteractor's InternalCreateTimer and InternalDestroyTimer for an example.
|
virtual |
These methods are used to communicate information about the currently firing CreateTimerEvent or DestroyTimerEvent. The caller of CreateTimerEvent sets up TimerEventId, TimerEventType and TimerEventDuration. The observer of CreateTimerEvent should set up an appropriate platform specific timer based on those values and set the TimerEventPlatformId before returning. The caller of DestroyTimerEvent sets up TimerEventPlatformId. The observer of DestroyTimerEvent should simply destroy the platform specific timer created by CreateTimerEvent. See vtkGenericRenderWindowInteractor's InternalCreateTimer and InternalDestroyTimer for an example.
|
virtual |
These methods are used to communicate information about the currently firing CreateTimerEvent or DestroyTimerEvent. The caller of CreateTimerEvent sets up TimerEventId, TimerEventType and TimerEventDuration. The observer of CreateTimerEvent should set up an appropriate platform specific timer based on those values and set the TimerEventPlatformId before returning. The caller of DestroyTimerEvent sets up TimerEventPlatformId. The observer of DestroyTimerEvent should simply destroy the platform specific timer created by CreateTimerEvent. See vtkGenericRenderWindowInteractor's InternalCreateTimer and InternalDestroyTimer for an example.
|
virtual |
These methods are used to communicate information about the currently firing CreateTimerEvent or DestroyTimerEvent. The caller of CreateTimerEvent sets up TimerEventId, TimerEventType and TimerEventDuration. The observer of CreateTimerEvent should set up an appropriate platform specific timer based on those values and set the TimerEventPlatformId before returning. The caller of DestroyTimerEvent sets up TimerEventPlatformId. The observer of DestroyTimerEvent should simply destroy the platform specific timer created by CreateTimerEvent. See vtkGenericRenderWindowInteractor's InternalCreateTimer and InternalDestroyTimer for an example.
|
virtual |
These methods are used to communicate information about the currently firing CreateTimerEvent or DestroyTimerEvent. The caller of CreateTimerEvent sets up TimerEventId, TimerEventType and TimerEventDuration. The observer of CreateTimerEvent should set up an appropriate platform specific timer based on those values and set the TimerEventPlatformId before returning. The caller of DestroyTimerEvent sets up TimerEventPlatformId. The observer of DestroyTimerEvent should simply destroy the platform specific timer created by CreateTimerEvent. See vtkGenericRenderWindowInteractor's InternalCreateTimer and InternalDestroyTimer for an example.
|
virtual |
These methods are used to communicate information about the currently firing CreateTimerEvent or DestroyTimerEvent. The caller of CreateTimerEvent sets up TimerEventId, TimerEventType and TimerEventDuration. The observer of CreateTimerEvent should set up an appropriate platform specific timer based on those values and set the TimerEventPlatformId before returning. The caller of DestroyTimerEvent sets up TimerEventPlatformId. The observer of DestroyTimerEvent should simply destroy the platform specific timer created by CreateTimerEvent. See vtkGenericRenderWindowInteractor's InternalCreateTimer and InternalDestroyTimer for an example.
|
virtual |
These methods are used to communicate information about the currently firing CreateTimerEvent or DestroyTimerEvent. The caller of CreateTimerEvent sets up TimerEventId, TimerEventType and TimerEventDuration. The observer of CreateTimerEvent should set up an appropriate platform specific timer based on those values and set the TimerEventPlatformId before returning. The caller of DestroyTimerEvent sets up TimerEventPlatformId. The observer of DestroyTimerEvent should simply destroy the platform specific timer created by CreateTimerEvent. See vtkGenericRenderWindowInteractor's InternalCreateTimer and InternalDestroyTimer for an example.
|
inlinevirtual |
This function is called on 'q','e' keypress if exitmethod is not specified and should be overridden by platform dependent subclasses to provide a termination procedure if one is required.
Reimplemented in vtkCarbonRenderWindowInteractor, vtkWin32RenderWindowInteractor, vtkCocoaRenderWindowInteractor, and vtkXRenderWindowInteractor.
Definition at line 199 of file vtkRenderWindowInteractor.h.
|
virtual |
External switching between joystick/trackball/new? modes. Initial value is a vtkInteractorStyleSwitch object.
|
virtual |
External switching between joystick/trackball/new? modes. Initial value is a vtkInteractorStyleSwitch object.
|
virtual |
Turn on/off the automatic repositioning of lights as the camera moves. Default is On.
|
virtual |
Turn on/off the automatic repositioning of lights as the camera moves. Default is On.
|
virtual |
Turn on/off the automatic repositioning of lights as the camera moves. Default is On.
|
virtual |
Turn on/off the automatic repositioning of lights as the camera moves. Default is On.
|
virtual |
Set/Get the desired update rate. This is used by vtkLODActor's to tell them how quickly they need to render. This update is in effect only when the camera is being rotated, or zoomed. When the interactor is still, the StillUpdateRate is used instead. The default is 15.
|
virtual |
Set/Get the desired update rate. This is used by vtkLODActor's to tell them how quickly they need to render. This update is in effect only when the camera is being rotated, or zoomed. When the interactor is still, the StillUpdateRate is used instead. The default is 15.
|
virtual |
Set/Get the desired update rate when movement has stopped. For the non-still update rate, see the SetDesiredUpdateRate method. The default is 0.0001
|
virtual |
Set/Get the desired update rate when movement has stopped. For the non-still update rate, see the SetDesiredUpdateRate method. The default is 0.0001
|
virtual |
See whether interactor has been initialized yet. Default is 0.
|
virtual |
Set/Get the object used to perform pick operations. In order to pick instances of vtkProp, the picker must be a subclass of vtkAbstractPropPicker, meaning that it can identify a particular instance of vtkProp.
|
virtual |
Set/Get the object used to perform pick operations. In order to pick instances of vtkProp, the picker must be a subclass of vtkAbstractPropPicker, meaning that it can identify a particular instance of vtkProp.
|
virtual |
Create default picker. Used to create one when none is specified. Default is an instance of vtkPropPicker.
|
virtual |
These methods correspond to the the Exit, User and Pick callbacks. They allow for the Style to invoke them.
Reimplemented in vtkWin32RenderWindowInteractor, vtkCarbonRenderWindowInteractor, and vtkCocoaRenderWindowInteractor.
|
virtual |
These methods correspond to the the Exit, User and Pick callbacks. They allow for the Style to invoke them.
|
virtual |
These methods correspond to the the Exit, User and Pick callbacks. They allow for the Style to invoke them.
|
virtual |
These methods correspond to the the Exit, User and Pick callbacks. They allow for the Style to invoke them.
|
inlinevirtual |
Get the current position of the mouse.
Reimplemented in vtkXRenderWindowInteractor.
Definition at line 262 of file vtkRenderWindowInteractor.h.
void vtkRenderWindowInteractor::HideCursor | ( | ) |
Hide or show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to display a 3D cursor instead.
void vtkRenderWindowInteractor::ShowCursor | ( | ) |
Hide or show the mouse cursor, it is nice to be able to hide the default cursor if you want VTK to display a 3D cursor instead.
|
virtual |
Render the scene. Just pass the render call on to the associated vtkRenderWindow.
void vtkRenderWindowInteractor::FlyTo | ( | vtkRenderer * | ren, |
double | x, | ||
double | y, | ||
double | z | ||
) |
Given a position x, move the current camera's focal point to x. The movement is animated over the number of frames specified in NumberOfFlyFrames. The LOD desired frame rate is used.
|
inline |
Given a position x, move the current camera's focal point to x. The movement is animated over the number of frames specified in NumberOfFlyFrames. The LOD desired frame rate is used.
Definition at line 280 of file vtkRenderWindowInteractor.h.
void vtkRenderWindowInteractor::FlyToImage | ( | vtkRenderer * | ren, |
double | x, | ||
double | y | ||
) |
Given a position x, move the current camera's focal point to x. The movement is animated over the number of frames specified in NumberOfFlyFrames. The LOD desired frame rate is used.
|
inline |
Given a position x, move the current camera's focal point to x. The movement is animated over the number of frames specified in NumberOfFlyFrames. The LOD desired frame rate is used.
Definition at line 283 of file vtkRenderWindowInteractor.h.
|
virtual |
Set the number of frames to fly to when FlyTo is invoked.
|
virtual |
Set the number of frames to fly to when FlyTo is invoked.
|
virtual |
Set the total Dolly value to use when flying to (FlyTo()) a specified point. Negative values fly away from the point.
|
virtual |
Set the total Dolly value to use when flying to (FlyTo()) a specified point. Negative values fly away from the point.
|
virtual |
Set/Get information about the current event. The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.
|
virtual |
Set/Get information about the current event. The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.
|
virtual |
Set/Get information about the current event. The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.
|
virtual |
Set/Get information about the current event. The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.
|
virtual |
Set/Get information about the current event. The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.
|
virtual |
Set/Get information about the current event. The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.
|
virtual |
Set/Get information about the current event. The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.
void vtkRenderWindowInteractor::SetLastEventPosition | ( | int | [2] | ) |
Set/Get information about the current event. The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.
|
inlinevirtual |
Set/Get information about the current event. The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.
Definition at line 309 of file vtkRenderWindowInteractor.h.
|
inlinevirtual |
Set/Get information about the current event. The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.
Definition at line 323 of file vtkRenderWindowInteractor.h.
|
inlinevirtual |
Set/Get information about the current event. The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.
Definition at line 327 of file vtkRenderWindowInteractor.h.
|
inlinevirtual |
Set/Get information about the current event. The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.
Definition at line 331 of file vtkRenderWindowInteractor.h.
|
virtual |
Set/Get information about the current event. The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.
|
virtual |
Set/Get information about the current event. The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.
|
virtual |
Set/Get information about the current event. The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.
|
virtual |
Set/Get information about the current event. The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.
|
virtual |
Set/Get information about the current event. The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.
|
virtual |
Set/Get information about the current event. The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.
|
virtual |
Set/Get information about the current event. The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.
|
virtual |
Set/Get information about the current event. The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.
|
virtual |
Set/Get information about the current event. The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.
|
virtual |
Set/Get information about the current event. The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.
|
virtual |
Set/Get information about the current event. The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.
|
virtual |
Set/Get information about the current event. The current x,y position is in the EventPosition, and the previous event position is in LastEventPosition, updated automatically each time EventPosition is set using its Set() method. Mouse positions are measured in pixels. The other information is about key board input.
|
inline |
Set all the event information in one call.
Definition at line 351 of file vtkRenderWindowInteractor.h.
|
inline |
Calls SetEventInformation, but flips the Y based on the current Size[1] value (i.e. y = this->Size[1] - y - 1).
Definition at line 378 of file vtkRenderWindowInteractor.h.
|
inline |
Set all the keyboard-related event information in one call.
Definition at line 398 of file vtkRenderWindowInteractor.h.
|
virtual |
This methods sets the Size ivar of the interactor without actually changing the size of the window. Normally application programmers would use UpdateSize if anything. This is useful for letting someone else change the size of the rendering window and just letting the interactor know about the change. The current event width/height (if any) is in EventSize (Expose event, for example). Window size is measured in pixels.
void vtkRenderWindowInteractor::SetSize | ( | int | [2] | ) |
This methods sets the Size ivar of the interactor without actually changing the size of the window. Normally application programmers would use UpdateSize if anything. This is useful for letting someone else change the size of the rendering window and just letting the interactor know about the change. The current event width/height (if any) is in EventSize (Expose event, for example). Window size is measured in pixels.
|
virtual |
This methods sets the Size ivar of the interactor without actually changing the size of the window. Normally application programmers would use UpdateSize if anything. This is useful for letting someone else change the size of the rendering window and just letting the interactor know about the change. The current event width/height (if any) is in EventSize (Expose event, for example). Window size is measured in pixels.
|
virtual |
This methods sets the Size ivar of the interactor without actually changing the size of the window. Normally application programmers would use UpdateSize if anything. This is useful for letting someone else change the size of the rendering window and just letting the interactor know about the change. The current event width/height (if any) is in EventSize (Expose event, for example). Window size is measured in pixels.
|
virtual |
This methods sets the Size ivar of the interactor without actually changing the size of the window. Normally application programmers would use UpdateSize if anything. This is useful for letting someone else change the size of the rendering window and just letting the interactor know about the change. The current event width/height (if any) is in EventSize (Expose event, for example). Window size is measured in pixels.
|
virtual |
This methods sets the Size ivar of the interactor without actually changing the size of the window. Normally application programmers would use UpdateSize if anything. This is useful for letting someone else change the size of the rendering window and just letting the interactor know about the change. The current event width/height (if any) is in EventSize (Expose event, for example). Window size is measured in pixels.
void vtkRenderWindowInteractor::SetEventSize | ( | int | [2] | ) |
This methods sets the Size ivar of the interactor without actually changing the size of the window. Normally application programmers would use UpdateSize if anything. This is useful for letting someone else change the size of the rendering window and just letting the interactor know about the change. The current event width/height (if any) is in EventSize (Expose event, for example). Window size is measured in pixels.
|
virtual |
This methods sets the Size ivar of the interactor without actually changing the size of the window. Normally application programmers would use UpdateSize if anything. This is useful for letting someone else change the size of the rendering window and just letting the interactor know about the change. The current event width/height (if any) is in EventSize (Expose event, for example). Window size is measured in pixels.
|
virtual |
This methods sets the Size ivar of the interactor without actually changing the size of the window. Normally application programmers would use UpdateSize if anything. This is useful for letting someone else change the size of the rendering window and just letting the interactor know about the change. The current event width/height (if any) is in EventSize (Expose event, for example). Window size is measured in pixels.
|
virtual |
This methods sets the Size ivar of the interactor without actually changing the size of the window. Normally application programmers would use UpdateSize if anything. This is useful for letting someone else change the size of the rendering window and just letting the interactor know about the change. The current event width/height (if any) is in EventSize (Expose event, for example). Window size is measured in pixels.
|
virtual |
When an event occurs, we must determine which Renderer the event occurred within, since one RenderWindow may contain multiple renderers.
vtkObserverMediator* vtkRenderWindowInteractor::GetObserverMediator | ( | ) |
Return the object used to mediate between vtkInteractorObservers contending for resources. Multiple interactor observers will often request different resources (e.g., cursor shape); the mediator uses a strategy to provide the resource based on priority of the observer plus the particular request (default versus non-default cursor shape).
|
virtual |
Use a 3DConnexion device. Initial value is false. If VTK is not build with the TDx option, this is no-op. If VTK is build with the TDx option, and a device is not connected, a warning is emitted. It is must be called before the first Render to be effective, otherwise it is ignored.
|
virtual |
Use a 3DConnexion device. Initial value is false. If VTK is not build with the TDx option, this is no-op. If VTK is build with the TDx option, and a device is not connected, a warning is emitted. It is must be called before the first Render to be effective, otherwise it is ignored.
|
virtual |
Fire various events. SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.
|
virtual |
Fire various events. SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.
|
virtual |
Fire various events. SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.
|
virtual |
Fire various events. SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.
|
virtual |
Fire various events. SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.
|
virtual |
Fire various events. SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.
|
virtual |
Fire various events. SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.
|
virtual |
Fire various events. SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.
|
virtual |
Fire various events. SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.
|
virtual |
Fire various events. SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.
|
virtual |
Fire various events. SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.
|
virtual |
Fire various events. SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.
|
virtual |
Fire various events. SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.
|
virtual |
Fire various events. SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.
|
virtual |
Fire various events. SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.
|
virtual |
Fire various events. SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.
|
virtual |
Fire various events. SetEventInformation should be called just prior to calling any of these methods. These methods will Invoke the corresponding vtk event.
|
inlineprotected |
These methods allow the interactor to control which events are processed. When the GrabFocus() method is called, then only events that the supplied vtkCommands have registered are invoked. (This method is typically used by widgets, i.e., subclasses of vtkInteractorObserver, to grab events once an event sequence begins.) Note that the friend declaration is done here to avoid doing so in the superclass vtkObject.
Definition at line 525 of file vtkRenderWindowInteractor.h.
|
inlineprotected |
These methods allow the interactor to control which events are processed. When the GrabFocus() method is called, then only events that the supplied vtkCommands have registered are invoked. (This method is typically used by widgets, i.e., subclasses of vtkInteractorObserver, to grab events once an event sequence begins.) Note that the friend declaration is done here to avoid doing so in the superclass vtkObject.
Definition at line 527 of file vtkRenderWindowInteractor.h.
|
protectedvirtual |
Internal methods for creating and destroying timers that must be implemented by subclasses. InternalCreateTimer() returns a platform-specific timerId and InternalDestroyTimer() returns non-zero value on success.
Reimplemented in vtkXRenderWindowInteractor, vtkCarbonRenderWindowInteractor, vtkWin32RenderWindowInteractor, vtkCocoaRenderWindowInteractor, vtkXRenderWindowTclInteractor, and vtkGenericRenderWindowInteractor.
|
protectedvirtual |
Internal methods for creating and destroying timers that must be implemented by subclasses. InternalCreateTimer() returns a platform-specific timerId and InternalDestroyTimer() returns non-zero value on success.
Reimplemented in vtkXRenderWindowInteractor, vtkCarbonRenderWindowInteractor, vtkWin32RenderWindowInteractor, vtkCocoaRenderWindowInteractor, vtkXRenderWindowTclInteractor, and vtkGenericRenderWindowInteractor.
|
protected |
Internal methods for creating and destroying timers that must be implemented by subclasses. InternalCreateTimer() returns a platform-specific timerId and InternalDestroyTimer() returns non-zero value on success.
|
friend |
Definition at line 75 of file vtkRenderWindowInteractor.h.
|
friend |
These methods allow the interactor to control which events are processed. When the GrabFocus() method is called, then only events that the supplied vtkCommands have registered are invoked. (This method is typically used by widgets, i.e., subclasses of vtkInteractorObserver, to grab events once an event sequence begins.) Note that the friend declaration is done here to avoid doing so in the superclass vtkObject.
Definition at line 524 of file vtkRenderWindowInteractor.h.
|
friend |
Definition at line 538 of file vtkRenderWindowInteractor.h.
|
protected |
Definition at line 480 of file vtkRenderWindowInteractor.h.
|
protected |
Definition at line 481 of file vtkRenderWindowInteractor.h.
|
protected |
Definition at line 484 of file vtkRenderWindowInteractor.h.
|
protected |
Definition at line 486 of file vtkRenderWindowInteractor.h.
|
protected |
Definition at line 487 of file vtkRenderWindowInteractor.h.
|
protected |
Definition at line 488 of file vtkRenderWindowInteractor.h.
|
protected |
Definition at line 489 of file vtkRenderWindowInteractor.h.
|
protected |
Definition at line 490 of file vtkRenderWindowInteractor.h.
|
protected |
Definition at line 491 of file vtkRenderWindowInteractor.h.
|
protected |
Definition at line 492 of file vtkRenderWindowInteractor.h.
|
protected |
Definition at line 493 of file vtkRenderWindowInteractor.h.
|
protected |
Definition at line 496 of file vtkRenderWindowInteractor.h.
|
protected |
Definition at line 497 of file vtkRenderWindowInteractor.h.
|
protected |
Definition at line 498 of file vtkRenderWindowInteractor.h.
|
protected |
Definition at line 499 of file vtkRenderWindowInteractor.h.
|
protected |
Definition at line 500 of file vtkRenderWindowInteractor.h.
|
protected |
Definition at line 501 of file vtkRenderWindowInteractor.h.
|
protected |
Definition at line 502 of file vtkRenderWindowInteractor.h.
|
protected |
Definition at line 503 of file vtkRenderWindowInteractor.h.
|
protected |
Definition at line 504 of file vtkRenderWindowInteractor.h.
|
protected |
Definition at line 505 of file vtkRenderWindowInteractor.h.
|
protected |
Definition at line 506 of file vtkRenderWindowInteractor.h.
|
protected |
Definition at line 507 of file vtkRenderWindowInteractor.h.
|
protected |
Definition at line 508 of file vtkRenderWindowInteractor.h.
|
protected |
Definition at line 509 of file vtkRenderWindowInteractor.h.
|
protected |
Definition at line 512 of file vtkRenderWindowInteractor.h.
|
protected |
Definition at line 513 of file vtkRenderWindowInteractor.h.
|
protected |
Widget mediators are used to resolve contention for cursors and other resources.
Definition at line 534 of file vtkRenderWindowInteractor.h.
|
protected |
Definition at line 539 of file vtkRenderWindowInteractor.h.
|
protected |
Definition at line 540 of file vtkRenderWindowInteractor.h.
|
protected |
Definition at line 555 of file vtkRenderWindowInteractor.h.
|
protected |
Definition at line 557 of file vtkRenderWindowInteractor.h.