OpenCOVER
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
opencover::coIntersection Class Reference

#include <coIntersection.h>

Inheritance diagram for opencover::coIntersection:
Inheritance graph
[legend]
Collaboration diagram for opencover::coIntersection:
Collaboration graph
[legend]

Public Member Functions

virtual ~coIntersection ()
 
coIntersectornewIntersector (const osg::Vec3 &start, const osg::Vec3 &end)
 
void addHandler (osg::ref_ptr< IntersectionHandler > handler)
 
virtual const char * getClassName () const
 get the Element's classname More...
 
virtual const char * getActionName () const
 get the associated action name More...
 
void isectAllNodes (bool isectAll)
 
void forceIsectAllNodes (bool isectAll)
 
- Public Member Functions inherited from vrui::vruiIntersection
void add (vruiNode *node, coAction *action)
 
void remove (vruiNode *node)
 
 vruiIntersection ()
 
virtual ~vruiIntersection ()
 
bool update ()
 
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 ()
 Destructor. More...
 
virtual bool update ()=0
 

Static Public Member Functions

static coIntersectioninstance ()
 
static bool isVerboseIntersection ()
 
- Static Public Member Functions inherited from vrui::vruiIntersection
static vruiIntersectiongetIntersectorForAction (const std::string &actionName)
 
static vruiIntersectiongetIntersector (const std::string &name)
 

Public Attributes

int numIsectAllNodes
 

Protected Member Functions

virtual void intersect ()
 
void intersect (const osg::Matrix &mat, bool mouseHit)
 
- Protected Member Functions inherited from vrui::vruiIntersection
virtual void intersect ()=0
 
void callMisses ()
 
void callActions (vruiNode *node, vruiHit *hit)
 

Protected Attributes

float intersectionDist
 value of the PointerAppearance.Intersection config var More...
 
- Protected Attributes inherited from vrui::vruiIntersection
int frameIndex
 

Static Protected Attributes

static int myFrameIndex
 
static int myFrame
 

Additional Inherited Members

- Static Protected Member Functions inherited from vrui::vruiIntersection
static std::vector< int * > & frames ()
 
static std::vector< vruiIntersection * > & intersectors ()
 

Constructor & Destructor Documentation

◆ ~coIntersection()

virtual opencover::coIntersection::~coIntersection ( )
virtual

Member Function Documentation

◆ addHandler()

void opencover::coIntersection::addHandler ( osg::ref_ptr< IntersectionHandler handler)

◆ forceIsectAllNodes()

void opencover::coIntersection::forceIsectAllNodes ( bool  isectAll)

◆ getActionName()

virtual const char * opencover::coIntersection::getActionName ( ) const
virtual

get the associated action name

Implements vrui::vruiIntersection.

◆ getClassName()

virtual const char * opencover::coIntersection::getClassName ( ) const
virtual

get the Element's classname

Implements vrui::vruiIntersection.

◆ instance()

static coIntersection * opencover::coIntersection::instance ( )
static

◆ intersect() [1/2]

virtual void opencover::coIntersection::intersect ( )
protectedvirtual

◆ intersect() [2/2]

void opencover::coIntersection::intersect ( const osg::Matrix &  mat,
bool  mouseHit 
)
protected

◆ isectAllNodes()

void opencover::coIntersection::isectAllNodes ( bool  isectAll)

◆ isVerboseIntersection()

static bool opencover::coIntersection::isVerboseIntersection ( )
static

◆ newIntersector()

coIntersector * opencover::coIntersection::newIntersector ( const osg::Vec3 &  start,
const osg::Vec3 &  end 
)

Member Data Documentation

◆ intersectionDist

float opencover::coIntersection::intersectionDist
protected

value of the PointerAppearance.Intersection config var

◆ myFrame

int opencover::coIntersection::myFrame
staticprotected

◆ myFrameIndex

int opencover::coIntersection::myFrameIndex
staticprotected

◆ numIsectAllNodes

int opencover::coIntersection::numIsectAllNodes

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