vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
APDYNAMICART::ComputeThread Class Reference

#include <ComputeThread.h>

Inheritance diagram for APDYNAMICART::ComputeThread:

Public Member Functions

 ComputeThread ()
 
virtual void run ()
 
bool isTooSmall (int i, int iter)
 
virtual int cancel ()
 
void init (const InitSettings &settings)
 
bool getData (osg::Vec3Array *points, osg::Vec4Array *colors, Limits &limits, Parameters &params)
 
void addPoint (osg::Vec3 point)
 
void setColor (osg::Vec4 color, int index)
 
void interpolatePoints ()
 

Protected Attributes

bool _dirty
 
bool _done
 
OpenThreads::Mutex _mutex
 
Vec3ArrayPtr _points
 
Vec4ArrayPtr _colors
 
Limits _lim
 
InitSettings _conf
 
osg::Vec3 _initPoint
 

Static Protected Attributes

static std::tr1::mt19937 eng
 

Constructor & Destructor Documentation

APDYNAMICART::ComputeThread::ComputeThread ( )

Inherited methods

Member Function Documentation

void APDYNAMICART::ComputeThread::addPoint ( osg::Vec3  point)
int APDYNAMICART::ComputeThread::cancel ( )
virtual
bool APDYNAMICART::ComputeThread::getData ( osg::Vec3Array *  points,
osg::Vec4Array *  colors,
Limits limits,
Parameters params 
)
void APDYNAMICART::ComputeThread::init ( const InitSettings settings)

Helper methods

void APDYNAMICART::ComputeThread::interpolatePoints ( )
bool APDYNAMICART::ComputeThread::isTooSmall ( int  i,
int  iter 
)
void APDYNAMICART::ComputeThread::run ( )
virtual
void APDYNAMICART::ComputeThread::setColor ( osg::Vec4  color,
int  index 
)

Member Data Documentation

Vec4ArrayPtr APDYNAMICART::ComputeThread::_colors
protected
InitSettings APDYNAMICART::ComputeThread::_conf
protected
bool APDYNAMICART::ComputeThread::_dirty
protected
bool APDYNAMICART::ComputeThread::_done
protected
osg::Vec3 APDYNAMICART::ComputeThread::_initPoint
protected
Limits APDYNAMICART::ComputeThread::_lim
protected
OpenThreads::Mutex APDYNAMICART::ComputeThread::_mutex
protected
Vec3ArrayPtr APDYNAMICART::ComputeThread::_points
protected
std::tr1::mt19937 APDYNAMICART::ComputeThread::eng
staticprotected

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