Documentation for vtkXRenderWindowInteractor

vtkXRenderWindowInteractor - an X event driven interface for a RenderWindow

Super Class: vtkRenderWindowInteractor

Description:

vtkXRenderWindowInteractor is a convenience object that provides event bindings to common graphics functions. For example, camera and actor functions such as zoom-in/zoom-out, azimuth, roll, and pan. IT is one of the window system specific subclasses of vtkRenderWindowInteractor. Please see vtkRenderWindowInteractor documentation for event bindings.

 

See Also:

vtkRenderWindowInteractor vtkXRenderWindow

 

Methods:

void vtkXRenderWindowInteractor ()
void vtkXRenderWindowInteractor ()
static vtkXRenderWindowInteractor *New ()
const char *GetClassName ()
void PrintSelf (unknown & ,vtkIndent )
void Initialize ()
void Initialize (unknown )
void Enable ()
void Disable ()
void Start ()
void UpdateSize (int ,int )
void StartRotate ()
void EndRotate ()
void StartZoom ()
void EndZoom ()
void StartPan ()
void EndPan ()
void StartSpin ()
void EndSpin ()
void StartDolly ()
void EndDolly ()
void StartUniformScale ()
void EndUniformScale ()
void SetWidget (unknown )
unknown GetWidget ()
void FinishSettingUpNewWindow ()
void vtkXRenderWindowInteractorCallback (unknown ,unknown ,unknown * ,unknown *)
void vtkXRenderWindowInteractorTimer (unknown ,unknown *)
void SetupNewWindow (int )

 

Detailed Method Descriptions:

Initializes the event handlers without an XtAppContext. This is good for when you don't have a user interface, but you still want to have mouse interaction.

void Initialize ()

Initializes the event handlers using an XtAppContext that you have provided. This assumes that you want to own the event loop.

void Initialize (unknown )

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.

void Enable ()
void Disable ()

This will start up the X event loop and never return. If you call this method it will loop processing X events until the application is exited.

void Start ()
void UpdateSize (int ,int )

Provide implementaitons of the methods defined in vtkRenderWindowInteractor. Generally the application developer should not invoke these methods directly.

void StartRotate ()
void EndRotate ()
void StartZoom ()
void EndZoom ()
void StartPan ()
void EndPan ()
void StartSpin ()
void EndSpin ()
void StartDolly ()
void EndDolly ()
void StartUniformScale ()
void EndUniformScale ()

Specify the Xt widget to use for interaction. This method is one of a couple steps that are required for setting up a vtkRenderWindowInteractor as a widget inside of another user interface. You do not need to use this method if the render window will be a stand-alone window. This is only used when you want the render window to be a subwindow within a larger user interface. In that case, you must tell the render window what X display id to use, and then ask the render window what depth, visual and colormap it wants. Then, you must create an Xt TopLevelShell with those settings. Then you can create the rest of your user interface as a child of the TopLevelShell you created. Eventually, you will create a drawing area or some other widget to serve as the rendering window. You must use the SetWidget method to tell this Interactor about that widget. It's X and it's not terribly easy, but it looks cool.

void SetWidget (unknown )
unknown GetWidget ()

Finish setting up a new window after the WindowRemap.

void FinishSettingUpNewWindow ()

Functions that are used internally.

void vtkXRenderWindowInteractorCallback (unknown ,unknown ,unknown * ,unknown *)
void vtkXRenderWindowInteractorTimer (unknown ,unknown *)
void SetupNewWindow (int )