OpenSceneGraph  3.0.1
Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends
osgGA::GUIEventAdapter::TouchData Class Reference
Inheritance diagram for osgGA::GUIEventAdapter::TouchData:
Inheritance graph
[legend]

List of all members.

Classes

struct  TouchPoint

Public Types

typedef std::vector< TouchPointTouchSet
typedef TouchSet::iterator iterator
typedef TouchSet::const_iterator const_iterator

Public Member Functions

 TouchData ()
unsigned int getNumTouchPoints () const
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
const TouchPoint get (unsigned int i) const

Protected Member Functions

void addTouchPoint (unsigned int id, TouchPhase phase, float x, float y, unsigned int tap_count)

Protected Attributes

TouchSet _touches

Friends

class GUIEventAdapter

Member Typedef Documentation

typedef TouchSet::const_iterator osgGA::GUIEventAdapter::TouchData::const_iterator
typedef TouchSet::iterator osgGA::GUIEventAdapter::TouchData::iterator

Constructor & Destructor Documentation

osgGA::GUIEventAdapter::TouchData::TouchData ( ) [inline]

Member Function Documentation

void osgGA::GUIEventAdapter::TouchData::addTouchPoint ( unsigned int  id,
TouchPhase  phase,
float  x,
float  y,
unsigned int  tap_count 
) [inline, protected]
iterator osgGA::GUIEventAdapter::TouchData::begin ( ) [inline]
const_iterator osgGA::GUIEventAdapter::TouchData::begin ( ) const [inline]
iterator osgGA::GUIEventAdapter::TouchData::end ( ) [inline]
const_iterator osgGA::GUIEventAdapter::TouchData::end ( ) const [inline]
const TouchPoint osgGA::GUIEventAdapter::TouchData::get ( unsigned int  i) const [inline]
unsigned int osgGA::GUIEventAdapter::TouchData::getNumTouchPoints ( ) const [inline]

Friends And Related Function Documentation

friend class GUIEventAdapter [friend]

Member Data Documentation


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

osg logo
Generated at Mon Oct 3 2011 12:39:47 for the OpenSceneGraph by doxygen 1.7.5.