Jive reference manual
List of all members | Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions
jem::gl::PointSampler Class Reference

#include <jem/gl/PointSampler.h>

Inheritance diagram for jem::gl::PointSampler:
Inheritance graph

Classes

struct  Sample
 

Public Member Functions

 PointSampler (const String &name, const Ref< GfxNode > &obj)
 
virtual bool takeAction (const String &action, const Properties &params)
 
virtual bool takeGLAction (GfxContext &gtx, int action, const Properties &params)
 
virtual void getVisibility (bool &viz, Box &vbox, const Transform &proj) const
 
void takeSample (GfxContext &gtx, const MouseClick &click)
 
void setTarget (const Ref< GfxNode > &obj)
 
GfxNodegetTarget () const
 
void setMouseMask (int btnMask)
 
- Public Member Functions inherited from jem::gl::GfxNode
 GfxNode (const String &name="")
 
virtual String getContext () const
 
virtual GfxNodefindNode (const String &name) const
 
virtual bool takeNRAction (const String &action, const Properties &params)
 
virtual void getBBox (Box &box) const
 
virtual void configure (const Properties &props)
 
virtual void getConfig (const Properties &props) const
 
virtual void listProps (const Properties &props) const
 
GfxNodegetParent () const
 
void setParent (GfxNode *parent)
 
void clearParent ()
 
- Public Member Functions inherited from jem::NamedObject
 NamedObject (const String &name="")
 
virtual String toString () const
 Returns a short textual description of this object. More...
 
String getName () const
 
- Public Member Functions inherited from jem::Object
virtual ClassgetClass () const
 Returns the Class instance representing the runtime class of this object. More...
 
virtual long hashValue () const
 Returns a hash value for this object. More...
 
virtual bool equals (const Ref< Object > &obj) const
 Tests whether two objects are equal. More...
 
Ref< Objectclone () const
 Returns a copy of this object. More...
 

Static Public Member Functions

static Ref< Self > find (const Ref< GfxNode > &root, const Ref< Object > &target)
 
- Static Public Member Functions inherited from jem::NamedObject
static String makeContext (const String &kind, const String &name)
 
- Static Public Member Functions inherited from jem::Object
static ClassgetType ()
 Returns the Class instance representing the Object class. More...
 

Public Attributes

util::Event< GfxContext &, const Sample & > sampleEvent
 

Static Public Attributes

static const double MIN_INTERVAL
 

Protected Member Functions

virtual ~PointSampler ()
 
- Protected Member Functions inherited from jem::gl::GfxNode
virtual ~GfxNode ()
 
- Protected Member Functions inherited from jem::NamedObject
virtual ~NamedObject ()
 
- Protected Member Functions inherited from jem::Collectable
 Collectable ()
 Creates an empty Collectable. More...
 
 ~Collectable ()
 Frees resources. More...
 

Additional Inherited Members

- Protected Attributes inherited from jem::NamedObject
String myName_
 

Constructor & Destructor Documentation

jem::gl::PointSampler::PointSampler ( const String name,
const Ref< GfxNode > &  obj 
)
virtual jem::gl::PointSampler::~PointSampler ( )
protectedvirtual

Member Function Documentation

virtual bool jem::gl::PointSampler::takeAction ( const String action,
const Properties params 
)
virtual

Reimplemented from jem::gl::GfxNode.

virtual bool jem::gl::PointSampler::takeGLAction ( GfxContext gtx,
int  action,
const Properties params 
)
virtual

Implements jem::gl::GfxNode.

virtual void jem::gl::PointSampler::getVisibility ( bool &  viz,
Box vbox,
const Transform proj 
) const
virtual

Reimplemented from jem::gl::GfxNode.

void jem::gl::PointSampler::takeSample ( GfxContext gtx,
const MouseClick click 
)
void jem::gl::PointSampler::setTarget ( const Ref< GfxNode > &  obj)
GfxNode * jem::gl::PointSampler::getTarget ( ) const
void jem::gl::PointSampler::setMouseMask ( int  btnMask)
static Ref<Self> jem::gl::PointSampler::find ( const Ref< GfxNode > &  root,
const Ref< Object > &  target 
)
static

Member Data Documentation

const double jem::gl::PointSampler::MIN_INTERVAL
static
util::Event< GfxContext&, const Sample& > jem::gl::PointSampler::sampleEvent