library: libRGL
#include "TGLOutput.h"

TGLOutput


class description - 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 TClass* Class() virtual TClass* IsA() const TGLOutput& operator=(const TGLOutput&) virtual void ShowMembers(TMemberInspector& insp, char* parent) 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



Inline Functions


               void ~TGLOutput()
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
          TGLOutput TGLOutput()
          TGLOutput TGLOutput(const TGLOutput&)
         TGLOutput& operator=(const TGLOutput&)


Author: Richard Maunder, Olivier Couet 02/07/2005
Last update: root/gl:$Name: $:$Id: TGLOutput.cxx,v 1.6 2005/12/01 11:04:04 brun 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.