Overview | All Modules | Tutorial | User's Guide | Programming Guide
Previous

COVISE Online Documentation

Next

Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
vrui::vruiIntersection Class Referenceabstract

#include <vruiIntersection.h>

Inheritance diagram for vrui::vruiIntersection:
vrui::coUpdateable

Public Member Functions

void add (vruiNode *node, coAction *action)
 
void remove (vruiNode *node)
 
 vruiIntersection ()
 
virtual ~vruiIntersection ()
 
bool update ()
 this method is called once per frame as long as it returns true. More...
 
void remove (coAction *action)
 
virtual const char * getClassName () const =0
 get the Element's classname More...
 
virtual const char * getActionName () const =0
 get the associated action name More...
 
- Public Member Functions inherited from vrui::coUpdateable
 coUpdateable ()
 Constructor. More...
 
virtual ~coUpdateable ()
 you should adds this object to the update manager in your constructor More...
 
virtual bool update ()=0
 this method is called once per frame as long as it returns true. More...
 

Static Public Member Functions

static vruiIntersectiongetIntersectorForAction (const std::string &actionName)
 
static vruiIntersectiongetIntersector (const std::string &name)
 

Protected Member Functions

virtual void intersect ()=0
 
void callMisses ()
 
void callActions (vruiNode *node, vruiHit *hit)
 

Static Protected Member Functions

static std::vector< int * > & frames ()
 
static std::vector< vruiIntersection * > & intersectors ()
 

Protected Attributes

int frameIndex
 

Constructor & Destructor Documentation

◆ vruiIntersection()

vrui::vruiIntersection::vruiIntersection ( )

◆ ~vruiIntersection()

vrui::vruiIntersection::~vruiIntersection ( )
virtual

Member Function Documentation

◆ add()

void vrui::vruiIntersection::add ( vruiNode node,
coAction action 
)

◆ callActions()

void vrui::vruiIntersection::callActions ( vruiNode node,
vruiHit hit 
)
protected

◆ callMisses()

void vrui::vruiIntersection::callMisses ( )
protected

◆ frames()

vector< int * > & vrui::vruiIntersection::frames ( )
staticprotected

◆ getActionName()

virtual const char * vrui::vruiIntersection::getActionName ( ) const
pure virtual

get the associated action name

◆ getClassName()

virtual const char * vrui::vruiIntersection::getClassName ( ) const
pure virtual

get the Element's classname

◆ getIntersector()

vruiIntersection * vrui::vruiIntersection::getIntersector ( const std::string &  name)
static

◆ getIntersectorForAction()

vruiIntersection * vrui::vruiIntersection::getIntersectorForAction ( const std::string &  actionName)
static

◆ intersect()

virtual void vrui::vruiIntersection::intersect ( )
protectedpure virtual

◆ intersectors()

vector< vruiIntersection * > & vrui::vruiIntersection::intersectors ( )
staticprotected

◆ remove() [1/2]

void vrui::vruiIntersection::remove ( coAction action)

◆ remove() [2/2]

void vrui::vruiIntersection::remove ( vruiNode node)

◆ update()

bool vrui::vruiIntersection::update ( )
virtual

this method is called once per frame as long as it returns true.

as soon as it returns false, it is removed from the update manager and not called again. the update method is called prior to preFrame();

Implements vrui::coUpdateable.

Member Data Documentation

◆ frameIndex

int vrui::vruiIntersection::frameIndex
protected

The documentation for this class was generated from the following files:
PreviousNext

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