CIvfInteractionHandler Class Reference

#include <ivfwidget/IvfInteractionHandler.h>

Inheritance diagram for CIvfInteractionHandler:

CIvfHandlerBase CIvfMouseDownEvent CIvfMouseMoveEvent CIvfMouseUpEvent CIvfBase CIvfRefCountBase CIvfRTTIBase List of all members.

Public Member Functions

 CIvfInteractionHandler (CIvfWidgetBase *widget, CIvfScene *scene)
virtual ~CIvfInteractionHandler ()
 IvfClassInfo ("CIvfInteractionHandler", CIvfHandlerBase)
void setControlDragEvent (CIvfControlDragEvent *event)
void setControlEnterEvent (CIvfControlEnterEvent *event)
void setControlLeaveEvent (CIvfControlLeaveEvent *event)
void setControlOverEvent (CIvfControlOverEvent *event)
void setControlClickEvent (CIvfControlClickEvent *event)
void setControlUpEvent (CIvfControlUpEvent *event)
void setControlDownEvent (CIvfControlDownEvent *event)
void setShapeDragEvent (CIvfShapeDragEvent *event)
void setShapeEnterEvent (CIvfShapeEnterEvent *event)
void setShapeOverEvent (CIvfShapeOverEvent *event)
void setShapeLeaveEvent (CIvfShapeLeaveEvent *event)
void setShapeClickEvent (CIvfShapeClickEvent *event)
void setShapeUpEvent (CIvfShapeUpEvent *event)
void setShapeDownEvent (CIvfShapeDownEvent *event)
virtual void doMouseUp (int x, int y)
virtual void doMouseMove (int x, int y)
virtual void doMouseDown (int x, int y)
virtual void onMouseMove (int x, int y)
virtual void onMouseUp (int x, int y)
virtual void onMouseDown (int x, int y)

Detailed Description

3D user interface interaction handler

This handler implements 3D user interface interaction for CIvfWidgetBased classes using the ivf3dui library. The handler supports two kinds of interaction, CIvfShape based interaction and interaction with CIvfControl derived controls. CIvfControl classes are specialised 3D user interface controls, which support visual responses to user interaction.

Examples:

manip.cpp.

Definition at line 247 of file IvfInteractionHandler.h.


Constructor & Destructor Documentation

CIvfInteractionHandler::CIvfInteractionHandler CIvfWidgetBase widget,
CIvfScene scene
 

Class constructor

Parameters:
widget reference to CIvfWidgetBase derived class.
scene refercne to a CIvfScene derived class containing the user interface elements, both CIvfShape and CIvfControl derived.

virtual CIvfInteractionHandler::~CIvfInteractionHandler  )  [virtual]
 

Class destructor


Member Function Documentation

virtual void CIvfInteractionHandler::onMouseDown int  x,
int  y
[virtual]
 

onMouseUp method

The onMouse method is called when the mouse button is released.

Reimplemented from CIvfMouseDownEvent.

virtual void CIvfInteractionHandler::onMouseMove int  x,
int  y
[virtual]
 

onMouseMove method

The onMouseMove method is called whenever the mouse is moved in the window.

Reimplemented from CIvfMouseMoveEvent.

virtual void CIvfInteractionHandler::onMouseUp int  x,
int  y
[virtual]
 

onMouseMove method

The onMouseMove method is called whenever the mouse is moved in the window.

Reimplemented from CIvfMouseUpEvent.

void CIvfInteractionHandler::setControlClickEvent CIvfControlClickEvent event  ) 
 

Assign control click event to handler

void CIvfInteractionHandler::setControlDownEvent CIvfControlDownEvent event  ) 
 

Assign control down event to handler

void CIvfInteractionHandler::setControlDragEvent CIvfControlDragEvent event  ) 
 

Assign control drag event to handler

void CIvfInteractionHandler::setControlEnterEvent CIvfControlEnterEvent event  ) 
 

Assign control enter event to handler

void CIvfInteractionHandler::setControlLeaveEvent CIvfControlLeaveEvent event  ) 
 

Assign control leave event to handler

void CIvfInteractionHandler::setControlOverEvent CIvfControlOverEvent event  ) 
 

Assign control over event to handler

void CIvfInteractionHandler::setControlUpEvent CIvfControlUpEvent event  ) 
 

Assign control up event to handler

void CIvfInteractionHandler::setShapeClickEvent CIvfShapeClickEvent event  ) 
 

Assign shape click event to handler

void CIvfInteractionHandler::setShapeDownEvent CIvfShapeDownEvent event  ) 
 

Assign shape down event to handler

void CIvfInteractionHandler::setShapeDragEvent CIvfShapeDragEvent event  ) 
 

Assign shape drag event to handler

void CIvfInteractionHandler::setShapeEnterEvent CIvfShapeEnterEvent event  ) 
 

Assign shape enter event to handler

void CIvfInteractionHandler::setShapeLeaveEvent CIvfShapeLeaveEvent event  ) 
 

Assign shape leave event to handler

void CIvfInteractionHandler::setShapeOverEvent CIvfShapeOverEvent event  ) 
 

Assign shape over event to handler

void CIvfInteractionHandler::setShapeUpEvent CIvfShapeUpEvent event  ) 
 

Assign shape up event to handler


The documentation for this class was generated from the following file:
Generated on Fri Sep 1 15:36:52 2006 for Interactive Visualisation Framework - Ivf++ by  doxygen 1.4.6-NO