VISH  0.2
Public Types | Public Member Functions | Public Attributes
Wizt::Pickable Class Reference

Base class for VObjects that may be pickable via OpenGL rendering. More...

#include </home/werner/origo/vish/ocean/GLvish/Pickable.hpp>

List of all members.

Public Types

Public Member Functions

Public Attributes


Detailed Description

Base class for VObjects that may be pickable via OpenGL rendering.

Examples:

Gear.cpp.


Member Function Documentation

bool Wizt::Pickable::isPickable ( ) const [inline]

Tells whether this object may be picked by the mouse.

If false, this object will be invisible to mouse clicks.

int Wizt::Pickable::SubObjectBegin ( VGLRenderContext Context) const [inline]

Function to be called by an object's render() routine to demark the beginning of a render section that can be picked independently of the rest.

Internally, a counter is incremented at each such call. This counter is then delivered to the Render object's pick() callback routine.

Note:
Maybe we also want an interface to explicitely set the object group ID.

Member Data Documentation

Color for displaying current object selection.

By default, it is white, but it may be changed to another color as well, although this is not necessarily a good idea because users might get confused.


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