VR-Engage  2.2
Loading...
Searching...
No Matches
makVre::DtMenuCursor Class Reference

Detailed Description

DtMenuCursor encapsulates the visual representation of a cursor in the menu system. It manages the 3D scene object, model, and updating logic needed to display a cursor at the current menu selection. Different cursor types can be used to provide visual feedback about the current context or selection type.

#include <actionMenuManager.h>

Public Member Functions

 DtMenuCursor ()
 
virtual ~DtMenuCursor ()
 
void clear ()
 

Public Attributes

makVrv::DtSceneObjectAgent * mySceneObject
 
makVrv::DtModelAgent * myModel
 
makVrv::DtTickable * myUpdater
 
std::string myName
 

Constructor & Destructor Documentation

◆ DtMenuCursor()

makVre::DtMenuCursor::DtMenuCursor ( )

Constructor.

Creates a new menu cursor with default (empty) state.

◆ ~DtMenuCursor()

virtual makVre::DtMenuCursor::~DtMenuCursor ( )
virtual

Virtual destructor.

Ensures proper cleanup of derived cursor classes.

Member Function Documentation

◆ clear()

void makVre::DtMenuCursor::clear ( )

Clears the cursor state.

Resets the cursor to an empty state, cleaning up any associated scene objects, models, and updaters.

Member Data Documentation

◆ mySceneObject

makVrv::DtSceneObjectAgent* makVre::DtMenuCursor::mySceneObject

Scene object agent for the cursor visual.

Represents the cursor in the 3D scene graph, handling its position and visibility.

◆ myModel

makVrv::DtModelAgent* makVre::DtMenuCursor::myModel

Model agent for the cursor visual.

Manages the 3D model used to represent the cursor visually.

◆ myUpdater

makVrv::DtTickable* makVre::DtMenuCursor::myUpdater

Tickable component for cursor updates.

Handles periodic updates to the cursor's position, orientation, and appearance.

◆ myName

std::string makVre::DtMenuCursor::myName

Name identifier for the cursor.

Unique name that identifies this cursor type in the cursor registry.


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