Overview | All Modules | Tutorial | User's Guide | Programming Guide |
Previous | COVISE Online Documentation | Next |
base class for drag'n'drop classes They should be derived from this class and hand over their 'hit's to it. More...
#include <coDragNDrop.h>
Public Types | |
enum | { MEDIA_UNKNOWN = 0 , MEDIA_MENUITEM } |
the known media types More... | |
Public Member Functions | |
coDragNDrop () | |
simple constructor More... | |
coDragNDrop (int) | |
constructor with specific media type More... | |
virtual | ~coDragNDrop () |
int | getMediaType () |
Protected Member Functions | |
bool | processHit () |
this one checks if drag'n'drop is operated (like a 'hit()' operation) More... | |
void | dragOperation () |
those two do the work and return if it worked :) More... | |
virtual bool | dropOperation (coDragNDrop *)=0 |
Protected Attributes | |
int | mediaType |
this objects media type More... | |
vruiTransformNode * | dragNode |
this is the pfDCS that should be used for drag visualisation More... | |
base class for drag'n'drop classes They should be derived from this class and hand over their 'hit's to it.
vrui::coDragNDrop::coDragNDrop | ( | ) |
simple constructor
vrui::coDragNDrop::coDragNDrop | ( | int | myMediaType | ) |
constructor with specific media type
|
virtual |
|
protected |
those two do the work and return if it worked :)
|
protectedpure virtual |
Implemented in vrui::coButtonMenuItem.
|
inline |
|
protected |
this one checks if drag'n'drop is operated (like a 'hit()' operation)
register Item into selection
|
protected |
this is the pfDCS that should be used for drag visualisation
|
protected |
this objects media type
Previous | Next |
Authors: Martin Aumüller, Ruth Lang, Daniela Rainer, Jürgen Schulze-Döbold, Andreas Werner, Peter Wolf, Uwe Wössner |
Copyright © 1993-2009 HLRS, 2004-2009 RRZK, 2005-2009 Visenso |
COVISE Version 6.5 Academic
|