Wrapper class for GL capture & output routines.
Definition at line 26 of file TGLOutput.h.
Public Types | |
| enum | EFormat { kEPS_SIMPLE , kEPS_BSP , kPDF_SIMPLE , kPDF_BSP } |
Public Member Functions | |
| virtual | ~TGLOutput () |
| virtual TClass * | IsA () const |
| virtual void | Streamer (TBuffer &) |
| void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Static Public Member Functions | |
| static void | Capture (TGLViewer &viewer) |
| this function used by gl-viewer, embedded into pad | |
| static Bool_t | Capture (TGLViewer &viewer, EFormat format, const char *filePath=nullptr) |
| Capture viewer to file. | |
| static TClass * | Class () |
| static const char * | Class_Name () |
| static constexpr Version_t | Class_Version () |
| static void | CloseEmbeddedPS () |
| this function used by gl-in-pad Restore the gVirtualPS output stream | |
| static const char * | DeclFileName () |
| static void | StartEmbeddedPS () |
| this function used by gl-in-pad | |
Static Private Member Functions | |
| static Bool_t | CapturePostscript (TGLViewer &viewer, EFormat format, const char *filePath) |
| Capture viewer to postscript file. | |
#include <TGLOutput.h>
| Enumerator | |
|---|---|
| kEPS_SIMPLE | |
| kEPS_BSP | |
| kPDF_SIMPLE | |
| kPDF_BSP | |
Definition at line 28 of file TGLOutput.h.
|
inlinevirtual |
Definition at line 36 of file TGLOutput.h.
|
static |
this function used by gl-viewer, embedded into pad
Definition at line 198 of file TGLOutput.cxx.
|
static |
Capture viewer to file.
Arguments are:
Note : Output files can be large and take considerable time (up to mins) to generate
Definition at line 43 of file TGLOutput.cxx.
|
staticprivate |
Capture viewer to postscript file.
Arguments are:
Definition at line 69 of file TGLOutput.cxx.
|
static |
Definition at line 42 of file TGLOutput.h.
|
static |
this function used by gl-in-pad Restore the gVirtualPS output stream
Definition at line 182 of file TGLOutput.cxx.
|
inlinestatic |
Definition at line 42 of file TGLOutput.h.
Definition at line 42 of file TGLOutput.h.
|
static |
this function used by gl-in-pad
Definition at line 138 of file TGLOutput.cxx.
|
inline |
Definition at line 42 of file TGLOutput.h.