HOpNavCube

class HOpNavCube

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.

Inherits from: HBaseOperator

Methods

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.

virtual HOpNavCube::~HOpNavCube()

virtual

virtual char const *HOpNavCube::GetName()

virtual

Returns

A pointer to a character string denoting the name of the operator which is ‘HOpNavCube‘.
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.
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.

Variables

HC_KEY HOpNavCube::m_NavCubeSegKey

private

HC_KEY