#include <CVertexInfo.h>
Public Member Functions | |
CVertexInfo (vctl::MCVertex *vertex) | |
Constructor. | |
virtual | ~CVertexInfo () |
Destructor. | |
vctl::MCVertex * | getVertex () |
Returns vertex. | |
virtual osg::Vec4 | getColour () |
Returns vertex colouring. | |
virtual void | normalize () |
Normalizes vertex feature. | |
double | getDMax () |
Returns maximal possible value of this feature. | |
Static Public Member Functions | |
static void | tryNewMax (double new_max) |
Tries new computed value against old maximum. If succeeds, old value is replaced. | |
static void | clearMax () |
Clears old maximum. | |
static double | getMax () |
Returns maximum value. | |
Protected Attributes | |
vctl::MCVertex * | pVertex |
Pointer to the associated vertex. | |
Static Protected Attributes | |
static double | dMax = std::numeric_limits< double >::min() |
Stored maximal value for the whole set of features. |
Vertex info class