#include <coVRIntersectionInteractor.h>
|
| coVRIntersectionInteractor (float size, coInteraction::InteractionType buttonId, const char *iconName, const char *interactorName, enum coInteraction::InteractionPriority priority) |
|
virtual | ~coVRIntersectionInteractor () |
|
void | enableIntersection () |
|
bool | isEnabled () |
|
void | disableIntersection () |
|
virtual int | hit (vrui::vruiHit *hit) |
|
virtual void | miss () |
|
virtual void | startInteraction () |
|
virtual void | doInteraction () |
|
virtual void | stopInteraction () |
|
void | show () |
|
void | hide () |
|
bool | isInitializedThroughSharedState () |
|
virtual void | setShared (bool state) |
| make state shared among partners in a collaborative session More...
|
|
virtual bool | isShared () const |
| query whether Element state is shared among collaborative partners More...
|
|
virtual void | addIcon () |
|
virtual void | removeIcon () |
|
virtual void | resetState () |
|
int | isIntersected () |
|
bool | wasHit () |
|
osg::Vec3 | getHitPos () |
|
osg::Node * | getHitNode () |
|
virtual void | preFrame () |
|
char * | getInteractorName () |
| class methods for traversing children More...
|
|
osg::Matrix | getMatrix () |
|
void | setCaseTransform (osg::MatrixTransform *) |
|
| coAction () |
| Constructor. More...
|
|
virtual | ~coAction () |
| Destructor. More...
|
|
void | setFrame (unsigned int frame) |
| INTERNAL set the framecounter (used to produce the miss call) More...
|
|
unsigned int | getFrame () const |
| INTERNAL get the framecounter (used to produce the miss call) More...
|
|
void | setNode (vruiNode *) |
| INTERNAL set the node this action belongs to. More...
|
|
void | addChild (coAction *) |
| INTERNAL add a child action. More...
|
|
virtual int | hitAll (vruiHit *hit) |
| INTERNAL same as miss/hit, but do it for all children as well. More...
|
|
virtual void | missAll () |
| INTERNAL same as miss/hit, but do it for all children as well. More...
|
|
| coCombinedButtonInteraction (InteractionType type, const std::string &name, InteractionPriority priority=Medium) |
|
virtual | ~coCombinedButtonInteraction () |
|
virtual void | setHitByMouse (bool) |
|
virtual bool | isMouse () const |
|
virtual vruiMatrix * | getHandMatrix () const |
|
virtual bool | is2D () const |
|
| coButtonInteraction (InteractionType type, const std::string &name, InteractionPriority priority=Medium) |
|
virtual | ~coButtonInteraction () |
|
virtual void | cancelInteraction () |
|
int | getWheelCount () const |
|
| coInteraction (InteractionType type, const std::string &name, InteractionPriority priority=Medium) |
|
virtual | ~coInteraction () |
|
InteractionState | getState () const |
|
InteractionType | getType () const |
|
InteractionPriority | getPriority () const |
|
InteractionGroup | getGroup () const |
|
void | setGroup (InteractionGroup group) |
|
int | getRemoteLockID () const |
|
void | setRemoteLockID (int ID) |
|
void | setRemoteLock (bool) |
|
void | setRemoteActive (bool) |
|
void | requestActivation () |
|
virtual void | setName (const std::string &name) |
|
virtual bool | hasPriority () |
|
virtual void | cancelPendingActivation () |
|
virtual void | doActivation () |
|
virtual void | pause () |
|
virtual const std::string & | getName () const |
|
bool | activate () |
|
bool | isRegistered () |
|
void | setNotifyOnly (bool flag) |
|
bool | isNotifyOnly () |
|
bool | wasStarted () const |
|
bool | isRunning () const |
|
bool | wasStopped () const |
|
bool | isIdle () const |
|
|
enum | Result { ACTION_DONE = 0x00,
ACTION_CALL_ON_MISS = 0x01,
ACTION_UNDEF = 0x02
} |
|
enum | InteractionState {
Idle = 0,
PendingActive,
Active,
Paused,
RemoteActive,
ActiveNotify,
Stopped
} |
|
enum | InteractionPriority {
Low = 0,
Navigation,
NavigationHigh,
Medium,
High,
Menu,
Highest
} |
|
enum | InteractionType {
ButtonA = 0,
ButtonAction = ButtonA,
ButtonB,
ButtonDrive = ButtonB,
ButtonC,
ButtonXform = ButtonC,
ButtonD,
ButtonForward = ButtonD,
ButtonE,
ButtonBack = ButtonE,
ButtonToggleDocuments,
ButtonDrag,
ButtonZoom,
ButtonMenu,
ButtonQuit,
ButtonNextInter,
ButtonPrevInter,
ButtonNextPerson,
ButtonPrevPerson,
LastButton = ButtonPrevPerson,
WheelHorizontal,
WheelVertical,
Wheel = WheelVertical,
Joystick,
AllButtons,
NoButton,
NumInteractorTypes
} |
|
enum | InteractionGroup { GroupNonexclusive,
GroupNavigation
} |
|
enum | RunningState { StateStarted = 0,
StateRunning,
StateStopped,
StateNotRunning
} |
|
opencover::coVRIntersectionInteractor::coVRIntersectionInteractor |
( |
float |
size, |
|
|
coInteraction::InteractionType |
buttonId, |
|
|
const char * |
iconName, |
|
|
const char * |
interactorName, |
|
|
enum coInteraction::InteractionPriority |
priority |
|
) |
| |
virtual opencover::coVRIntersectionInteractor::~coVRIntersectionInteractor |
( |
| ) |
|
|
virtual |
virtual void opencover::coVRIntersectionInteractor::addIcon |
( |
| ) |
|
|
virtual |
virtual void opencover::coVRIntersectionInteractor::createGeometry |
( |
| ) |
|
|
protectedpure virtual |
void opencover::coVRIntersectionInteractor::disableIntersection |
( |
| ) |
|
virtual void opencover::coVRIntersectionInteractor::doInteraction |
( |
| ) |
|
|
virtual |
void opencover::coVRIntersectionInteractor::enableIntersection |
( |
| ) |
|
osg::Node* opencover::coVRIntersectionInteractor::getHitNode |
( |
| ) |
|
osg::Vec3 opencover::coVRIntersectionInteractor::getHitPos |
( |
| ) |
|
|
inline |
char* opencover::coVRIntersectionInteractor::getInteractorName |
( |
| ) |
|
|
inline |
class methods for traversing children
osg::Matrix opencover::coVRIntersectionInteractor::getMatrix |
( |
| ) |
|
|
inline |
const osg::Matrix& opencover::coVRIntersectionInteractor::getPointerMat |
( |
| ) |
const |
|
protected |
float opencover::coVRIntersectionInteractor::getScale |
( |
| ) |
const |
|
protected |
void opencover::coVRIntersectionInteractor::hide |
( |
| ) |
|
virtual int opencover::coVRIntersectionInteractor::hit |
( |
vrui::vruiHit * |
hit | ) |
|
|
virtual |
hit is called whenever the node, or any node underneath the node with this action is intersected return ACTION_CALL_ON_MISS if you want miss to be called otherwise return ACTION_DONE
Implements vrui::coAction.
bool opencover::coVRIntersectionInteractor::isEnabled |
( |
| ) |
|
bool opencover::coVRIntersectionInteractor::isInitializedThroughSharedState |
( |
| ) |
|
int opencover::coVRIntersectionInteractor::isIntersected |
( |
| ) |
|
|
inline |
virtual bool opencover::coVRIntersectionInteractor::isShared |
( |
| ) |
const |
|
virtual |
query whether Element state is shared among collaborative partners
virtual void opencover::coVRIntersectionInteractor::keepSize |
( |
| ) |
|
|
protectedvirtual |
virtual void opencover::coVRIntersectionInteractor::miss |
( |
| ) |
|
|
virtual |
miss is called once after a hit, if the node is not intersected anymore
Reimplemented from vrui::coAction.
virtual void opencover::coVRIntersectionInteractor::preFrame |
( |
| ) |
|
|
virtual |
virtual void opencover::coVRIntersectionInteractor::removeIcon |
( |
| ) |
|
|
virtual |
virtual void opencover::coVRIntersectionInteractor::resetState |
( |
| ) |
|
|
virtual |
osg::Vec3 opencover::coVRIntersectionInteractor::restrictToVisibleScene |
( |
osg::Vec3 |
| ) |
|
|
protected |
void opencover::coVRIntersectionInteractor::setCaseTransform |
( |
osg::MatrixTransform * |
| ) |
|
virtual void opencover::coVRIntersectionInteractor::setShared |
( |
bool |
state | ) |
|
|
virtual |
void opencover::coVRIntersectionInteractor::show |
( |
| ) |
|
virtual void opencover::coVRIntersectionInteractor::startInteraction |
( |
| ) |
|
|
virtual |
virtual void opencover::coVRIntersectionInteractor::stopInteraction |
( |
| ) |
|
|
virtual |
virtual void opencover::coVRIntersectionInteractor::updateSharedState |
( |
| ) |
|
|
protectedvirtual |
bool opencover::coVRIntersectionInteractor::wasHit |
( |
| ) |
|
|
inline |
bool opencover::coVRIntersectionInteractor::_hit |
|
protected |
osg::ref_ptr<osg::Node> opencover::coVRIntersectionInteractor::_hitNode |
|
protected |
osg::Vec3 opencover::coVRIntersectionInteractor::_hitPos |
|
protected |
char* opencover::coVRIntersectionInteractor::_interactorName |
|
protected |
osg::ref_ptr<osg::StateSet> opencover::coVRIntersectionInteractor::_intersectedHl |
|
protected |
bool opencover::coVRIntersectionInteractor::_intersectionEnabled |
|
protected |
float opencover::coVRIntersectionInteractor::_interSize |
|
protected |
bool opencover::coVRIntersectionInteractor::_justHit |
|
protected |
osg::ref_ptr<osg::StateSet> opencover::coVRIntersectionInteractor::_oldHl |
|
protected |
float opencover::coVRIntersectionInteractor::_scale = 1. |
|
protected |
osg::ref_ptr<osg::StateSet> opencover::coVRIntersectionInteractor::_selectedHl |
|
protected |
bool opencover::coVRIntersectionInteractor::_standardHL |
|
protected |
bool opencover::coVRIntersectionInteractor::_wasHit |
|
protected |
osg::ref_ptr<osg::Node> opencover::coVRIntersectionInteractor::geometryNode |
|
protected |
osg::ref_ptr<osg::MatrixTransform> opencover::coVRIntersectionInteractor::interactorCaseTransform |
|
protected |
coVRLabel* opencover::coVRIntersectionInteractor::label_ |
|
protected |
char* opencover::coVRIntersectionInteractor::labelStr_ |
|
protected |
bool opencover::coVRIntersectionInteractor::m_isInitializedThroughSharedState = false |
|
protected |
std::unique_ptr<vrb::SharedStateBase> opencover::coVRIntersectionInteractor::m_sharedState |
|
protected |
osg::ref_ptr<osg::MatrixTransform> opencover::coVRIntersectionInteractor::moveTransform |
|
protected |
osg::MatrixTransform* opencover::coVRIntersectionInteractor::parent |
|
protected |
osg::ref_ptr<osg::MatrixTransform> opencover::coVRIntersectionInteractor::scaleTransform |
|
protected |
The documentation for this class was generated from the following file: