library: libRGL
#include "TGLOutput.h"

TGLOutput


class description - header file - source file - inheritance tree (.pdf)

class TGLOutput

Inheritance Chart:
TGLOutput
    private:
static Bool_t CapturePostscript(TGLViewer& viewer, TGLOutput::EFormat format, const char* filePath) public:
TGLOutput() TGLOutput(const TGLOutput&) virtual ~TGLOutput() static Bool_t Capture(TGLViewer& viewer, TGLOutput::EFormat format, const char* filePath = "0") static void Capture(TGLViewer& viewer) static TClass* Class() static void CloseEmbeddedPS() virtual TClass* IsA() const TGLOutput& operator=(const TGLOutput&) virtual void ShowMembers(TMemberInspector& insp, char* parent) static void StartEmbeddedPS() virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    public:
static const TGLOutput::EFormat kEPS_SIMPLE static const TGLOutput::EFormat kEPS_BSP static const TGLOutput::EFormat kPDF_SIMPLE static const TGLOutput::EFormat kPDF_BSP

Class Description

                                                                      
 TGLOutput                                                            
                                                                      
 Wrapper class for GL capture & output routines                       

Bool_t Capture(TGLViewer & viewer, EFormat format, const char * filePath)
 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, 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 update: root/gl:$Name: $:$Id: TGLOutput.cxx,v 1.8 2006/04/10 11:45:38 couet Exp $
Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

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.