OpenCOVER
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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)
 
- Public Member Functions inherited from vrui::coUpdateable
 coUpdateable ()
 Constructor. More...
 
virtual ~coUpdateable ()
 Destructor. More...
 

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
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

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

Member Function Documentation

void opencover::coIntersection::addHandler ( osg::ref_ptr< IntersectionHandler handler)
void opencover::coIntersection::forceIsectAllNodes ( bool  isectAll)
virtual const char* opencover::coIntersection::getActionName ( ) const
virtual

get the associated action name

Implements vrui::vruiIntersection.

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

get the Element's classname

Implements vrui::vruiIntersection.

static coIntersection* opencover::coIntersection::instance ( )
static
virtual void opencover::coIntersection::intersect ( )
protectedvirtual
void opencover::coIntersection::intersect ( const osg::Matrix &  mat,
bool  mouseHit 
)
protected
void opencover::coIntersection::isectAllNodes ( bool  isectAll)
static bool opencover::coIntersection::isVerboseIntersection ( )
static
coIntersector* opencover::coIntersection::newIntersector ( const osg::Vec3 &  start,
const osg::Vec3 &  end 
)

Member Data Documentation

float opencover::coIntersection::intersectionDist
protected

value of the PointerAppearance.Intersection config var

int opencover::coIntersection::myFrame
staticprotected
int opencover::coIntersection::myFrameIndex
staticprotected
int opencover::coIntersection::numIsectAllNodes

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