All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Protected Member Functions | List of all members
opencover::coVR2DTransInteractor Class Reference

#include <coVR2DTransInteractor.h>

Inheritance diagram for opencover::coVR2DTransInteractor:
Inheritance graph
Collaboration diagram for opencover::coVR2DTransInteractor:
Collaboration graph

Public Member Functions

 coVR2DTransInteractor (osg::Vec3 pos, osg::Vec3 normal, float size, coInteraction::InteractionType type, const char *iconName, const char *interactorName, enum coInteraction::InteractionPriority priority)
virtual ~coVR2DTransInteractor ()
void startInteraction ()
void doInteraction ()
void updateTransform (osg::Vec3 pos, osg::Vec3 normal)
osg::Vec3 getPosition ()
- Public Member Functions inherited from opencover::coVRIntersectionInteractor
 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 stopInteraction ()
void show ()
void hide ()
virtual void addIcon ()
virtual void removeIcon ()
int isIntersected ()
bool wasHit ()
osg::Vec3 getHitPos ()
virtual void preFrame ()
char * getInteractorName ()
osg::Matrix getMatrix ()
 class methods for traversing children More...
void setCaseTransform (osg::MatrixTransform *)
- Public Member Functions inherited from vrui::coAction
 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...
- Public Member Functions inherited from vrui::coCombinedButtonInteraction
 coCombinedButtonInteraction (InteractionType type, const std::string &name, InteractionPriority priority=Medium)
virtual ~coCombinedButtonInteraction ()
virtual void setHitByMouse (bool)
virtual bool isMouse () const
virtual vruiMatrixgetHandMatrix () const
virtual bool is2D () const
- Public Member Functions inherited from vrui::coButtonInteraction
 coButtonInteraction (InteractionType type, const std::string &name, InteractionPriority priority=Medium)
virtual ~coButtonInteraction ()
virtual void cancelInteraction ()
virtual void resetState ()
bool wasStarted () const
bool isRunning () const
bool wasStopped () const
bool isIdle () const
int getWheelCount ()
- Public Member Functions inherited from vrui::coInteraction
 coInteraction (InteractionType type, const std::string &name, InteractionPriority priority=Medium)
virtual ~coInteraction ()
InteractionState getState () const
InteractionType getType () const
InteractionPriority getPriority () const
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 ()
- Public Member Functions inherited from opencover::coPlane
 coPlane (osg::Vec3 normal, osg::Vec3 point)
virtual ~coPlane ()
virtual void update (osg::Vec3 normal, osg::Vec3 point)
osg::Vec3 & getPosition ()
osg::Vec3 & getNormal ()
float getPointDistance (osg::Vec3 &point)
osg::Vec3 getProjectedPoint (osg::Vec3 &point)
bool getLineIntersectionPoint (osg::Vec3 &lp1, osg::Vec3 &lp2, osg::Vec3 &isectPoint)
bool getLineSegmentIntersectionPoint (osg::Vec3 &lp1, osg::Vec3 &lp2, osg::Vec3 &isectPoint)
int getBoxIntersectionPoints (osg::BoundingBox &box, osg::Vec3 *isectPoints)

Protected Member Functions

virtual void createGeometry ()
- Protected Member Functions inherited from opencover::coVRIntersectionInteractor
virtual void keepSize ()
osg::Vec3 restrictToVisibleScene (osg::Vec3)
const osg::Matrix & getPointerMat () const
- Protected Member Functions inherited from vrui::coCombinedButtonInteraction
virtual void update ()

Additional Inherited Members

- Public Types inherited from vrui::coAction
enum  Result { ACTION_DONE = 0x00, ACTION_CALL_ON_MISS = 0x01, ACTION_UNDEF = 0x02 }
- Public Types inherited from vrui::coButtonInteraction
enum  RunningState { StateStarted = 0, StateRunning, StateStopped, StateNotRunning }
- Public Types inherited from vrui::coInteraction
enum  InteractionState {
  Idle = 0, PendingActive, Active, Paused,
  RemoteActive, ActiveNotify, Stopped
enum  InteractionPriority {
  Low = 0, Navigation, NavigationHigh, Medium,
  High, Menu, Highest
enum  InteractionType {
  ButtonA = 0, ButtonB, ButtonC, ButtonD,
  ButtonE, Wheel, Joystick, AllButtons,
- Protected Attributes inherited from opencover::coVRIntersectionInteractor
osg::ref_ptr< osg::Node > geometryNode
 Geometry node. More...
< osg::MatrixTransform > 
< osg::MatrixTransform > 
< osg::MatrixTransform > 
osg::MatrixTransform * parent
char * _interactorName
char * labelStr_
bool _hit
bool _intersectionEnabled
bool _justHit
bool _wasHit
bool _standardHL
osg::Vec3 _hitPos
osg::Vec3 _interPos
osg::ref_ptr< osg::StateSet > _selectedHl
osg::ref_ptr< osg::StateSet > _intersectedHl
osg::ref_ptr< osg::StateSet > _oldHl
float _interSize
- Protected Attributes inherited from vrui::coAction
std::string actionName
- Protected Attributes inherited from vrui::coCombinedButtonInteraction
bool mouse
- Protected Attributes inherited from vrui::coButtonInteraction
RunningState runningState
InteractionState oldState
int wheelCount
- Protected Attributes inherited from vrui::coInteraction
std::string name
InteractionState state
InteractionType type
InteractionPriority priority
bool notifyOnly
bool hasPriorityFlag
bool registered
bool remoteLock
int remoteLockID
- Protected Attributes inherited from opencover::coPlane
osg::Vec3 _normal
osg::Vec3 _point
float _d

Constructor & Destructor Documentation

opencover::coVR2DTransInteractor::coVR2DTransInteractor ( osg::Vec3  pos,
osg::Vec3  normal,
float  size,
coInteraction::InteractionType  type,
const char *  iconName,
const char *  interactorName,
enum coInteraction::InteractionPriority  priority 
virtual opencover::coVR2DTransInteractor::~coVR2DTransInteractor ( )

Member Function Documentation

virtual void opencover::coVR2DTransInteractor::createGeometry ( )
void opencover::coVR2DTransInteractor::doInteraction ( )
osg::Vec3 opencover::coVR2DTransInteractor::getPosition ( )
void opencover::coVR2DTransInteractor::startInteraction ( )
void opencover::coVR2DTransInteractor::updateTransform ( osg::Vec3  pos,
osg::Vec3  normal 

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