Design of the KXGL classes -------------------------- KXGL: The parser class ---------------------- This class uses Qt classes (namely: QString, QStringList, QFile, QDom*) for efficient and crash-proof parsing. It does not use any GUI component. All rendering methods are implemented as virtuals, though not pure virtuals to allow parser test programs to use this class alone. No Qt data type should be exported to any inheriting class. KXGLRenderer: The OpenGL rendering class ---------------------------------------- The rendering class reimplements most or all of the parser's virtual methods. It does not depend on Qt, but only on OpenGL, to allow a different parser implementation, which may not be based on Qt. KXGLConverter: The OpenGL c++ converter --------------------------------------- Being a 'brother' of KXGLRenderer, this is an alternative implementation which does not render (and thus does not require OpenGL at all), but instead writes the plain OpenGL commands to stdout. KXGLViewer: The visualization ----------------------------- KXGLViewer simply inherits from QGLWidget, having one or more KXGLRenderer objects as child classes. KXGLPart: The KXGL plugin for Konqueror --------------------------------------- Browing XGL files with Konq is very easily doable with this wrapper for the viewer class. KXGLModeller: The sample construction toolkit --------------------------------------------- This component does finally have something to do with KDE :-) It will eventually turn into a fully compliant KDE application. Josef Spillner 29.01.2001