2D and 3D Graphing


Detailed Description

As of v0.87, TnFOX now has graphing support which allows the display of two and three dimensional data. Currently, the graphs are limited to basically a scatter plot of points with optional lines drawn between them - however, quite a number of familiar graph types can be built from these primitives.

All present (and future) types of graph derive from FX::TnFXGraph with the exception of FX::TnFXVTKCanvas. FX::TnFXGraph derives from FX::FXGLGroup and is essentially a series of OpenGL primitives, most especially FX::FXGLVertices. Each data item plot N is also item N in the GL group object so you can access and manipulate them if you wish to fine tune their configuration. Additional items like axes and major/minor marks are appended to the GL group as subsequent items.

To display the graph on the screen, simply instantiate a FX::FXGLViewer and set the scene to be the graph. You can see an example in TestSuite/TestGraphing.

FX::TnFXVTKCanvas is somewhat different in that it is a subclass of FX::FXGLCanvas and therefore is more like a FX::FXGLViewer. It effectively "views" a VTK model and allows the user to interact with it as they would in any normal VTK application.


Classes

class  FX::TnFXGraph
 Abstract base class for a graph renderer. More...
class  FX::TnFX2DGraph
 Renders a 2D graph. More...
class  FX::TnFX3DGraph
 Renders a 3D graph. More...
class  FX::TnFXVTKHold< type >
 Destructive smart pointer holding a vtkObject. More...
class  FX::TnFXVTKCanvas
 TnFOX to VTK interface. More...
class  FX::vtkTnFXRenderWindowInteractor
 VTK to TnFOX interface. More...


(C) 2002-2008 Niall Douglas. Some parts (C) to assorted authors.
Generated on Fri Jun 13 21:55:23 2008 for TnFOX by doxygen v1.5.6