CurveBrush/CurveDisplayer.h

CurveBrush/CurveDisplayer.h
#if defined(JAMBUILD)
#include <Mudbox/mudbox.h>
#else
#include "../../include/Mudbox/mudbox.h"
#endif
using namespace mudbox;
// this is a singleton class responsible for displaying in OpenGL, the curves
// drawn by the curve brush.
class CurveDisplayer : public Node
{
Q_DECLARE_TR_FUNCTIONS(CurveDisplayer);
public:
CurveDisplayer( void );
virtual void OnEvent( const EventGate& cEvent ); // this will get called for each frame event.
static CurveDisplayer* s_pThis;
static void Initializer( void );
private:
aevent m_eEndRender; // this event-gate gets attached to Mudbox's per-frame eveent.
};