VISH  0.2
Public Member Functions | Protected Member Functions | Protected Attributes
Wizt::Touchable Class Reference

Abstract base class for objects that can be touched. More...

#include </home/werner/origo/vish/ocean/Anemonia/VTouchable.hpp>

List of all members.

Public Member Functions

Protected Member Functions

Protected Attributes


Detailed Description

Abstract base class for objects that can be touched.


Member Function Documentation

virtual TouchIndex_t Wizt::Touchable::feedback_render ( VRenderContext Context,
TouchIndex_t  StartIndex 
) const [pure virtual]

Virtual function to perform feedback rendering, i.e.

render each touchable item of this object with a unique 32-bit RGBA encoding, starting with the StartIndex value.

Returns:
The highest number used by this object. This number will be the start index of the next object.
bool Wizt::Touchable::pickAction ( TouchIndex_t  localIndex) const [virtual]

A virtual function that implements some action if the given index item is picked by the TouchList::pickAction() function.

Note that the localIndex is the item relative to this object, i.e. starting at zero.

Todo:
Maybe pass Context/ValuePool as parameter here

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