Alphabetical Class Index  Class Hierarchy   File Members   Compound Members   File List  

HOpNavCube Class Reference

The HOpNavCube class provides an interactive navigation cube for rapid viewpoint changes. More...

#include <HOpNavCube.h>

Inheritance diagram for HOpNavCube:

HBaseOperator

List of all members.

Public Member Functions

virtual HBaseOperatorClone ()
virtual const char * GetName ()
 HOpNavCube (HBaseView *view, int DoRepeat=0, int DoCapture=1)
virtual int OnLButtonDown (HEventInfo &hevent)


Detailed Description

The HOpNavCube class provides an interactive navigation cube for rapid viewpoint changes.

HOpNavCube implements one of the mouse event handlers defined on the base class and maps the event to the HOOPS routine HC_Compute_Selection. This provides the basic functionality for calculating and displaying a navigation cube.


Constructor & Destructor Documentation

HOpNavCube::HOpNavCube ( HBaseView view,
int  DoRepeat = 0,
int  DoCapture = 1 
)

Constructs an HOpNavCube object.

Parameters:
view A pointer to an HBaseView object.
DoRepeat An integer denoting whether this is a repeatable operator. This parameter has been deprecated.
DoCapture An integer denoting whether the mouse state should be captured, which means that all mouse events should be received after a mousedown, even if it leaves the window. This parameter has been deprecated.


Member Function Documentation

virtual HBaseOperator* HOpNavCube::Clone (  )  [virtual]

Creates a new operator which is a copy of the current operator. The user is responsible for deleting the newly created operator.

Returns:
A pointer to the newly created HOpNavCube object.

Reimplemented from HBaseOperator.

virtual const char* HOpNavCube::GetName (  )  [virtual]

Returns:
A pointer to a character string denoting the name of the operator which is 'HOpNavCube'.

Reimplemented from HBaseOperator.

virtual int HOpNavCube::OnLButtonDown ( HEventInfo hevent  )  [virtual]

OnLButtonDown selects an arrow from one side of the cube and changes the viewpoint to the desired position.

Parameters:
hevent An HEventInfo object containing information about the current event.
Returns:
An HOperatorReturn indicating the status of the event.

Reimplemented from HBaseOperator.


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