vtkXRenderWindowTclInteractor Class Reference

#include <vtkXRenderWindowTclInteractor.h>

Inheritance diagram for vtkXRenderWindowTclInteractor:

Inheritance graph
[legend]
Collaboration diagram for vtkXRenderWindowTclInteractor:

Collaboration graph
[legend]

List of all members.


Detailed Description

a TCL event driven interface for a RenderWindow

vtkXRenderWindowTclInteractor 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 vtkXRenderWindowInteractor vtkXRenderWindow
Events:
vtkCommand::StartEvent vtkCommand::TimerEvent

Definition at line 38 of file vtkXRenderWindowTclInteractor.h.


Public Types

typedef vtkXRenderWindowInteractor Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void Initialize ()
virtual void Initialize (XtAppContext app)
virtual void Start ()
virtual void Enable ()
virtual void Disable ()

Static Public Member Functions

static
vtkXRenderWindowTclInteractor
New ()
static int IsTypeOf (const char *type)
static
vtkXRenderWindowTclInteractor
SafeDownCast (vtkObject *o)

Protected Member Functions

 vtkXRenderWindowTclInteractor ()
 ~vtkXRenderWindowTclInteractor ()
virtual int InternalCreateTimer (int timerId, int timerType, unsigned long duration)
virtual int InternalDestroyTimer (int platformTimerId)

Member Typedef Documentation

Reimplemented from vtkXRenderWindowInteractor.

Definition at line 42 of file vtkXRenderWindowTclInteractor.h.


Constructor & Destructor Documentation

vtkXRenderWindowTclInteractor::vtkXRenderWindowTclInteractor (  )  [protected]

vtkXRenderWindowTclInteractor::~vtkXRenderWindowTclInteractor (  )  [protected]


Member Function Documentation

static vtkXRenderWindowTclInteractor* vtkXRenderWindowTclInteractor::New (  )  [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkXRenderWindowInteractor.

virtual const char* vtkXRenderWindowTclInteractor::GetClassName (  )  [virtual]

Reimplemented from vtkXRenderWindowInteractor.

static int vtkXRenderWindowTclInteractor::IsTypeOf ( const char *  name  )  [static]

Return 1 if this class type 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 vtkXRenderWindowInteractor.

virtual int vtkXRenderWindowTclInteractor::IsA ( const char *  name  )  [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 vtkXRenderWindowInteractor.

static vtkXRenderWindowTclInteractor* vtkXRenderWindowTclInteractor::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkXRenderWindowInteractor.

void vtkXRenderWindowTclInteractor::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [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 vtkXRenderWindowInteractor.

virtual void vtkXRenderWindowTclInteractor::Initialize (  )  [virtual]

Initializes a Tcl/Tk specific event handler.

Reimplemented from vtkXRenderWindowInteractor.

virtual void vtkXRenderWindowTclInteractor::Initialize ( XtAppContext  app  )  [virtual]

Overridden only to eliminate the "virtual function hidden" warning. Implementation delegates directly to the Superclass.

Reimplemented from vtkXRenderWindowInteractor.

virtual void vtkXRenderWindowTclInteractor::Enable (  )  [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.

Reimplemented from vtkXRenderWindowInteractor.

virtual void vtkXRenderWindowTclInteractor::Disable (  )  [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.

Reimplemented from vtkXRenderWindowInteractor.

virtual void vtkXRenderWindowTclInteractor::Start (  )  [virtual]

This will start a Tcl/Tk event loop that only returns when the user presses the 'q' or 'e' key or when some other event observer calls our ExitCallback method.

Reimplemented from vtkXRenderWindowInteractor.

virtual int vtkXRenderWindowTclInteractor::InternalCreateTimer ( int  timerId,
int  timerType,
unsigned long  duration 
) [protected, virtual]

Tcl/Tk specific internal timer methods. See the superclass for detailed documentation.

Reimplemented from vtkXRenderWindowInteractor.

virtual int vtkXRenderWindowTclInteractor::InternalDestroyTimer ( int  platformTimerId  )  [protected, virtual]

Tcl/Tk specific internal timer methods. See the superclass for detailed documentation.

Reimplemented from vtkXRenderWindowInteractor.


The documentation for this class was generated from the following file:

Generated on Wed Aug 24 12:23:34 2011 for VTK by  doxygen 1.5.6