library: libRGL
#include "TGLOutput.h"

TGLOutput


class description - header file - source file
viewCVS header - viewCVS source

class TGLOutput

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
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 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.