An interactor for chart views It observes the user events (mouse events) and propagates them to the scene. If the scene doesn't eat the event, it is propagated to the interactor style superclass.
More...
#include <vtkContextInteractorStyle.h>
Inherits vtkInteractorStyle.
An interactor for chart views It observes the user events (mouse events) and propagates them to the scene. If the scene doesn't eat the event, it is propagated to the interactor style superclass.
Definition at line 31 of file vtkContextInteractorStyle.h.
vtkContextInteractorStyle::vtkContextInteractorStyle |
( |
| ) |
|
|
protected |
vtkContextInteractorStyle::~vtkContextInteractorStyle |
( |
| ) |
|
|
protected |
virtual const char* vtkContextInteractorStyle::GetClassName |
( |
| ) |
|
|
virtual |
static int vtkContextInteractorStyle::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkContextInteractorStyle::IsA |
( |
const char * |
type | ) |
|
|
virtual |
void vtkContextInteractorStyle::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
Set the scene to forward user events to. Refresh the view when the scene is dirty and no event is being processed. The scene is observed (vtkCommand::ModifiedEvent) and a refresh on the view is called appropriately: scene is dirty and no event is being processed.
Set the scene to forward user events to. Refresh the view when the scene is dirty and no event is being processed. The scene is observed (vtkCommand::ModifiedEvent) and a refresh on the view is called appropriately: scene is dirty and no event is being processed.
virtual void vtkContextInteractorStyle::OnSceneModified |
( |
| ) |
|
|
virtual |
Called when the scene is modified. Refresh the scene if needed.
virtual void vtkContextInteractorStyle::OnMouseMove |
( |
| ) |
|
|
virtual |
Called when the user moves the mouse Default behavior forwards the event to the observed scene.
virtual void vtkContextInteractorStyle::OnLeftButtonDown |
( |
| ) |
|
|
virtual |
Called when the user clicks the mouse left button. Default behavior forwards the event to the observed scene.
virtual void vtkContextInteractorStyle::OnLeftButtonUp |
( |
| ) |
|
|
virtual |
Called when the user releases the mouse left button. Default behavior forwards the event to the observed scene.
virtual void vtkContextInteractorStyle::OnMiddleButtonDown |
( |
| ) |
|
|
virtual |
Called when the user clicks the mouse middle button. Default behavior forwards the event to the observed scene.
virtual void vtkContextInteractorStyle::OnMiddleButtonUp |
( |
| ) |
|
|
virtual |
Called when the user releases the mouse middle button. Default behavior forwards the event to the observed scene.
virtual void vtkContextInteractorStyle::OnRightButtonDown |
( |
| ) |
|
|
virtual |
Called when the user clicks the mouse right button. Default behavior forwards the event to the observed scene.
virtual void vtkContextInteractorStyle::OnRightButtonUp |
( |
| ) |
|
|
virtual |
Called when the user releases the mouse right button. Default behavior forwards the event to the observed scene.
virtual void vtkContextInteractorStyle::OnMouseWheelForward |
( |
| ) |
|
|
virtual |
Called when the user moves the mouse wheel forward. Default behavior forwards the event to the observed scene.
virtual void vtkContextInteractorStyle::OnMouseWheelBackward |
( |
| ) |
|
|
virtual |
Called when the user moves the mouse wheel backward. Default behavior forwards the event to the observed scene.
virtual void vtkContextInteractorStyle::OnSelection |
( |
unsigned int |
rect[5] | ) |
|
|
virtual |
Place holder for future implementation. Default behavior forwards the event to the observed scene.
static void vtkContextInteractorStyle::ProcessSceneEvents |
( |
vtkObject * |
object, |
|
|
unsigned long |
event, |
|
|
void * |
clientdata, |
|
|
void * |
calldata |
|
) |
| |
|
staticprotected |
void vtkContextInteractorStyle::BeginProcessingEvent |
( |
| ) |
|
|
protected |
Inform the interactor style that an event is being processed. That way is knows to not refresh the view (the view will eventually be refreshed at the end.
void vtkContextInteractorStyle::EndProcessingEvent |
( |
| ) |
|
|
protected |
Inform the interactor style that an event is finished to be processed. If no other event is being processed it check if the scene needs to be rendered (scene is dirty)
int vtkContextInteractorStyle::ProcessingEvents |
|
protected |
unsigned long int vtkContextInteractorStyle::LastSceneRepaintMTime |
|
protected |
The documentation for this class was generated from the following file: