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... |