Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkQuartzRenderWindowInteractor Class Reference

implements Quartz specific functions. More...

#include <vtkQuartzRenderWindowInteractor.h>

Inheritance diagram for vtkQuartzRenderWindowInteractor:

Inheritance graph
[legend]
Collaboration diagram for vtkQuartzRenderWindowInteractor:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void Initialize ()
virtual void Start ()
void TerminateApp (void)
virtual void ExitCallback ()
int GetButtonDown ()
void SetButtonDown (int button)
virtual void Enable ()
virtual void Disable ()
virtual void SetInstallMessageProc (int)
virtual int GetInstallMessageProc ()
virtual void InstallMessageProcOn ()
virtual void InstallMessageProcOff ()
int CreateTimer (int timertype)
int DestroyTimer (void)
virtual void OnRButtonDown (void *wnd, int nFlags, int X, int Y)
virtual void OnRButtonUp (void *wnd, int nFlags, int X, int Y)
virtual void OnMButtonDown (void *wnd, int nFlags, int X, int Y)
virtual void OnMButtonUp (void *wnd, int nFlags, int X, int Y)
virtual void OnLButtonDown (void *wnd, int nFlags, int X, int Y)
virtual void OnLButtonUp (void *wnd, int nFlags, int X, int Y)
virtual void OnSize (void *wnd, int nType, int X, int Y)
virtual void OnTimer (void *wnd, int nIDEvent)
virtual void OnChar (void *wnd, int nChar, int nRepCnt, int nFlags)

Static Public Methods

vtkQuartzRenderWindowInteractor * New ()
int IsTypeOf (const char *type)
vtkQuartzRenderWindowInteractor * SafeDownCast (vtkObject *o)
void SetClassExitMethod (void(*f)(void *), void *arg)
void SetClassExitMethodArgDelete (void(*f)(void *))

Protected Methods

 vtkQuartzRenderWindowInteractor ()
 ~vtkQuartzRenderWindowInteractor ()

Protected Attributes

void * WindowId
void * ApplicationId
int TimerId
void * OldProc
int InstallMessageProc
int whichButtonDown

Static Protected Attributes

void(* ClassExitMethod )(void *)
void(* ClassExitMethodArgDelete )(void *)
void * ClassExitMethodArg

Detailed Description

implements Quartz specific functions.

Date:
2001/12/11 14:14:11
Revision:
1.6.2.1
required by vtkRenderWindowInteractor.

By default the interactor installs a MessageProc callback which intercepts windows' messages to the window and controls interactions by routing them to the InteractoStyle classes. MFC or BCB programs can prevent this and instead directly route any mouse/key messages into the event bindings by setting InstallMessageProc to false. This provides a minimal "Mapped" mode of interaction

Definition at line 80 of file vtkQuartzRenderWindowInteractor.h.


Constructor & Destructor Documentation

vtkQuartzRenderWindowInteractor::vtkQuartzRenderWindowInteractor (    )  [protected]
 

vtkQuartzRenderWindowInteractor::~vtkQuartzRenderWindowInteractor (    )  [protected]
 


Member Function Documentation

vtkQuartzRenderWindowInteractor* vtkQuartzRenderWindowInteractor::New (    )  [static]
 

Construct object so that light follows camera motion.

Reimplemented from vtkRenderWindowInteractor.

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

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkRenderWindowInteractor.

int vtkQuartzRenderWindowInteractor::IsTypeOf (  const char *    type )  [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 vtkRenderWindowInteractor.

virtual int vtkQuartzRenderWindowInteractor::IsA (  const char *    type )  [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 vtkRenderWindowInteractor.

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

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkRenderWindowInteractor.

void vtkQuartzRenderWindowInteractor::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 vtkRenderWindowInteractor.

virtual void vtkQuartzRenderWindowInteractor::Initialize (  void    )  [virtual]
 

Initialize the even handler

Reimplemented from vtkRenderWindowInteractor.

virtual void vtkQuartzRenderWindowInteractor::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 vtkRenderWindowInteractor.

virtual void vtkQuartzRenderWindowInteractor::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 vtkRenderWindowInteractor.

virtual void vtkQuartzRenderWindowInteractor::Start (  void    )  [virtual]
 

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

Reimplemented from vtkRenderWindowInteractor.

virtual void vtkQuartzRenderWindowInteractor::SetInstallMessageProc (  int    )  [virtual]
 

By default the interactor installs a MessageProc callback which intercepts windows messages to the window and controls interactions. MFC or BCB programs can prevent this and instead directly route any mouse/key messages into the event bindings by setting InstallMessgeProc to false.

virtual int vtkQuartzRenderWindowInteractor::GetInstallMessageProc (    )  [virtual]
 

By default the interactor installs a MessageProc callback which intercepts windows messages to the window and controls interactions. MFC or BCB programs can prevent this and instead directly route any mouse/key messages into the event bindings by setting InstallMessgeProc to false.

virtual void vtkQuartzRenderWindowInteractor::InstallMessageProcOn (    )  [virtual]
 

By default the interactor installs a MessageProc callback which intercepts windows messages to the window and controls interactions. MFC or BCB programs can prevent this and instead directly route any mouse/key messages into the event bindings by setting InstallMessgeProc to false.

virtual void vtkQuartzRenderWindowInteractor::InstallMessageProcOff (    )  [virtual]
 

By default the interactor installs a MessageProc callback which intercepts windows messages to the window and controls interactions. MFC or BCB programs can prevent this and instead directly route any mouse/key messages into the event bindings by setting InstallMessgeProc to false.

void vtkQuartzRenderWindowInteractor::TerminateApp (  void    )  [virtual]
 

Quartz specific application terminate, calls ClassExitMethod then calls PostQuitMessage(0) to terminate app. An application can Specify ExitMethod for alternative behaviour (i.e. suppresion of keyboard exit)

Reimplemented from vtkRenderWindowInteractor.

int vtkQuartzRenderWindowInteractor::CreateTimer (  int    timertype )  [virtual]
 

Quartz timer methods

Reimplemented from vtkRenderWindowInteractor.

int vtkQuartzRenderWindowInteractor::DestroyTimer (  void    )  [virtual]
 

Quartz timer methods

Reimplemented from vtkRenderWindowInteractor.

virtual void vtkQuartzRenderWindowInteractor::OnRButtonDown (  void *    wnd,
int    nFlags,
int    X,
int    Y
)  [virtual]
 

Various methods that a Quartz window can redirect to this class to be handled. virtual void OnMouseMove (void *wnd, int nFlags, int X, int Y);

virtual void vtkQuartzRenderWindowInteractor::OnRButtonUp (  void *    wnd,
int    nFlags,
int    X,
int    Y
)  [virtual]
 

Various methods that a Quartz window can redirect to this class to be handled. virtual void OnMouseMove (void *wnd, int nFlags, int X, int Y);

virtual void vtkQuartzRenderWindowInteractor::OnMButtonDown (  void *    wnd,
int    nFlags,
int    X,
int    Y
)  [virtual]
 

Various methods that a Quartz window can redirect to this class to be handled. virtual void OnMouseMove (void *wnd, int nFlags, int X, int Y);

virtual void vtkQuartzRenderWindowInteractor::OnMButtonUp (  void *    wnd,
int    nFlags,
int    X,
int    Y
)  [virtual]
 

Various methods that a Quartz window can redirect to this class to be handled. virtual void OnMouseMove (void *wnd, int nFlags, int X, int Y);

virtual void vtkQuartzRenderWindowInteractor::OnLButtonDown (  void *    wnd,
int    nFlags,
int    X,
int    Y
)  [virtual]
 

Various methods that a Quartz window can redirect to this class to be handled. virtual void OnMouseMove (void *wnd, int nFlags, int X, int Y);

virtual void vtkQuartzRenderWindowInteractor::OnLButtonUp (  void *    wnd,
int    nFlags,
int    X,
int    Y
)  [virtual]
 

Various methods that a Quartz window can redirect to this class to be handled. virtual void OnMouseMove (void *wnd, int nFlags, int X, int Y);

virtual void vtkQuartzRenderWindowInteractor::OnSize (  void *    wnd,
int    nType,
int    X,
int    Y
)  [virtual]
 

Various methods that a Quartz window can redirect to this class to be handled. virtual void OnMouseMove (void *wnd, int nFlags, int X, int Y);

virtual void vtkQuartzRenderWindowInteractor::OnTimer (  void *    wnd,
int    nIDEvent
)  [virtual]
 

Various methods that a Quartz window can redirect to this class to be handled. virtual void OnMouseMove (void *wnd, int nFlags, int X, int Y);

virtual void vtkQuartzRenderWindowInteractor::OnChar (  void *    wnd,
int    nChar,
int    nRepCnt,
int    nFlags
)  [virtual]
 

Various methods that a Quartz window can redirect to this class to be handled. virtual void OnMouseMove (void *wnd, int nFlags, int X, int Y);

void vtkQuartzRenderWindowInteractor::SetClassExitMethod (  void(*    f)(void *),
void *    arg
)  [static]
 

Methods to set the default exit method for the class. This method is only used if no instance level ExitMethod has been defined. It is provided as a means to control how an interactor is exited given the various language bindings (tcl, Quartz, etc.).

void vtkQuartzRenderWindowInteractor::SetClassExitMethodArgDelete (  void(*    f)(void *) )  [static]
 

Methods to set the default exit method for the class. This method is only used if no instance level ExitMethod has been defined. It is provided as a means to control how an interactor is exited given the various language bindings (tcl, Quartz, etc.).

virtual void vtkQuartzRenderWindowInteractor::ExitCallback (    )  [virtual]
 

These methods correspond to the the Exit, User and Pick callbacks. They allow for the Style to invoke them.

Reimplemented from vtkRenderWindowInteractor.

int vtkQuartzRenderWindowInteractor::GetButtonDown (    ) 
 

void vtkQuartzRenderWindowInteractor::SetButtonDown (  int    button ) 
 


Member Data Documentation

void* vtkQuartzRenderWindowInteractor::WindowId [protected]
 

Definition at line 168 of file vtkQuartzRenderWindowInteractor.h.

void* vtkQuartzRenderWindowInteractor::ApplicationId [protected]
 

Definition at line 169 of file vtkQuartzRenderWindowInteractor.h.

int vtkQuartzRenderWindowInteractor::TimerId [protected]
 

Definition at line 170 of file vtkQuartzRenderWindowInteractor.h.

void* vtkQuartzRenderWindowInteractor::OldProc [protected]
 

Definition at line 171 of file vtkQuartzRenderWindowInteractor.h.

int vtkQuartzRenderWindowInteractor::InstallMessageProc [protected]
 

Definition at line 172 of file vtkQuartzRenderWindowInteractor.h.

int vtkQuartzRenderWindowInteractor::whichButtonDown [protected]
 

Definition at line 173 of file vtkQuartzRenderWindowInteractor.h.

void(* vtkQuartzRenderWindowInteractor::ClassExitMethod)(void *) [static, protected]
 

Class variables so an exit method can be defined for this class (used to set different exit methods for various language bindings, i.e. tcl, java, Quartz)

void(* vtkQuartzRenderWindowInteractor::ClassExitMethodArgDelete)(void *) [static, protected]
 

Class variables so an exit method can be defined for this class (used to set different exit methods for various language bindings, i.e. tcl, java, Quartz)

void* vtkQuartzRenderWindowInteractor::ClassExitMethodArg [static, protected]
 

Class variables so an exit method can be defined for this class (used to set different exit methods for various language bindings, i.e. tcl, java, Quartz)

Definition at line 182 of file vtkQuartzRenderWindowInteractor.h.


The documentation for this class was generated from the following file:
Generated on Thu Mar 28 14:40:52 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001