class TGLOutput


TGLOutput

Wrapper class for GL capture & output routines

Function Members (Methods)

public:
TGLOutput()
TGLOutput(const TGLOutput&)
virtual~TGLOutput()
static voidCapture(TGLViewer& viewer)
static Bool_tCapture(TGLViewer& viewer, TGLOutput::EFormat format, const char* filePath = 0)
static TClass*Class()
static voidCloseEmbeddedPS()
virtual TClass*IsA() const
TGLOutput&operator=(const TGLOutput&)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
static voidStartEmbeddedPS()
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
private:
static Bool_tCapturePostscript(TGLViewer& viewer, TGLOutput::EFormat format, const char* filePath)

Data Members

public:
enum EFormat { kEPS_SIMPLE
kEPS_BSP
kPDF_SIMPLE
kPDF_BSP
};

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

Bool_t Capture(TGLViewer& viewer, TGLOutput::EFormat format, const char* filePath = 0)
 Capture viewer to file. Arguments are:
 'viewer' - viewer object to capture from
 'format' - output format - only postscript types presently.
            One of kEPS_SIMPLE, kEPS_BSP, kPDF_SIMPLE or kPDF_BSP
             See TGLOutput::CapturePostscript() for meanings
 'filePath' - file output name. If null defaults to './viewer.eps' or './viewer.pdf'
 depending on format requested

 Note : Output files can be large and take considerable time (up to mins)
 to generate
Bool_t CapturePostscript(TGLViewer& viewer, TGLOutput::EFormat format, const char* filePath)
 Capture viewer to postscript file. Arguments are:
 'viewer' - viewer object to capture from
 'format' - output format
                kEPS_SIMPLE - lower quality EPS
                kEPS_BSP    - higher quality EPS
                kPDF_SIMPLE - lower quality PDF
                kPDF_BSP    - higher quality PDF
 'filePath' - file output name. If null defaults to './viewer.eps' or './viewer.pdf'
 depending on format requested
void StartEmbeddedPS()
this function used by gl-in-pad
void CloseEmbeddedPS()
this function used by gl-in-pad
 Restore the gVirtualPS output stream
void Capture(TGLViewer& viewer)
this function used by gl-viewer, embedded into pad
virtual ~TGLOutput()
{ }

Author: Richard Maunder, Olivier Couet 02/07/2005
Last change: root/gl:$Id: TGLOutput.h 20882 2007-11-19 11:31:26Z rdm $
Last generated: 2008-06-25 08:41
Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.