#include <TnFXGraph.h>
Inheritance diagram for FX::TnFX2DGraph:
In addition to the standard facilities offered by FX::TnFXGraph, TnFX2DGraph also provides optional axes and major indicators with labels.
Definition at line 204 of file TnFXGraph.h.
Public Types | |
typedef void(*) | ExpandFunc (QMemArray< FXVec3f > &out, const QMemArray< FXVec2f > &in) |
typedef void(*) | ReduceFunc (QMemArray< FXVec3f > &out, const QMemArray< FXVec3f > &in) |
ID_LAST | |
enum | { ID_LAST } |
Public Member Functions | |
TnFX2DGraph () | |
TnFX2DGraph (const QMemArray< FXVec2f > *data, ExpandFunc expand=Expand) | |
TnFX2DGraph (const QMemArray< FXVec3f > *data, ReduceFunc reduce=ReduceZ) | |
~TnFX2DGraph () | |
FXGLVertices * | setAxes (const FXVec4f &range=FXVec4f(Generic::BiggestValue< float >::value, Generic::BiggestValue< float >::value, Generic::BiggestValue< float >::value, Generic::BiggestValue< float >::value), FXfloat lineSize=4.0f) |
FXGLVertices * | setAxesMajor (FXfloat granx=0, FXfloat grany=0, FXfloat lineSize=2.0f, const FXFont *font=FXApp::instance()->getNormalFont()) |
virtual void | bounds (FXRangef &box) |
virtual void | draw (FXGLViewer *viewer) |
virtual void | hit (FXGLViewer *viewer) |
FXGLVertices * | setItemDetails (FXuint item, const FXString &title, const FXGLColor &colour, FXfloat pointsize=4.0f, FXfloat linesize=2.0f) |
FXGLVertices * | setItemData (FXuint item, const FXVec2f *data, FXuint elements, ExpandFunc expand=Expand) |
FXGLVertices * | setItemData (FXuint item, const QMemArray< FXVec2f > *data, ExpandFunc expand=Expand) |
FXGLVertices * | setItemData (FXuint item, const FXVec3f *data, FXuint elements, ReduceFunc reduce=ReduceZ) |
FXGLVertices * | setItemData (FXuint item, const QMemArray< FXVec3f > *data, ReduceFunc reduce=ReduceZ) |
FXGLVertices * | itemChanged (FXuint item) |
FXGLObjectList & | getList () |
virtual FXGLObject * | copy () |
virtual FXGLObject * | identify (FXuint *path) |
virtual FXbool | canDrag () const |
virtual FXbool | drag (FXGLViewer *viewer, FXint fx, FXint fy, FXint tx, FXint ty) |
FXint | no () const |
FXGLObject * | child (FXint pos) const |
void | insert (FXint pos, FXGLObject *obj) |
void | prepend (FXGLObject *obj) |
void | append (FXGLObject *obj) |
void | replace (FXint pos, FXGLObject *obj) |
void | remove (FXGLObject *obj) |
void | erase (FXint pos) |
void | clear () |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual FXbool | canDelete () const |
virtual long | onDefault (FXObject *, FXSelector, void *) |
const FXchar * | getClassName () const |
bool | isMemberOf (const FXMetaClass *metaclass) const |
virtual long | tryHandle (FXObject *sender, FXSelector sel, void *ptr) |
QTransString | tr (const char *text, const char *hint=0) |
virtual void * | getPythonObject () const |
virtual void | decouplePythonObject () const |
Static Public Member Functions | |
template<FXint zval> | |
static void | Expand (QMemArray< FXVec3f > &out, const QMemArray< FXVec2f > &in) |
static void | Expand (QMemArray< FXVec3f > &out, const QMemArray< FXVec2f > &in) |
template<int offset, int stepe, int stepm> | |
static void | ReduceE (QMemArray< FXVec3f > &out, const QMemArray< FXVec3f > &in) |
template<int yinc, int offset, int step> | |
static void | ReduceE2x (QMemArray< FXVec3f > &out, const QMemArray< FXVec3f > &in) |
template<int xinc, int offset, int step> | |
static void | ReduceE2y (QMemArray< FXVec3f > &out, const QMemArray< FXVec3f > &in) |
static void | ReduceZ (QMemArray< FXVec3f > &out, const QMemArray< FXVec3f > &in) |
Protected Attributes | |
QPtrVector< TnFXGraphItem > * | items |
FXGLObjectList | list |