|
||||
File indexing completed on 2025-01-18 10:12:00
0001 // @(#)root/gl:$Id$ 0002 // Author: Richard Maunder, Olivier Couet 02/07/2005 0003 0004 /************************************************************************* 0005 * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. * 0006 * All rights reserved. * 0007 * * 0008 * For the licensing terms see $ROOTSYS/LICENSE. * 0009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 0010 *************************************************************************/ 0011 0012 #ifndef ROOT_TGLOutput 0013 #define ROOT_TGLOutput 0014 0015 #include "Rtypes.h" 0016 0017 class TGLViewer; 0018 0019 ////////////////////////////////////////////////////////////////////////// 0020 // // 0021 // TGLOutput // 0022 // // 0023 // Wrapper class for GL capture & output routines // 0024 ////////////////////////////////////////////////////////////////////////// 0025 0026 class TGLOutput { 0027 public: 0028 enum EFormat { kEPS_SIMPLE, kEPS_BSP, kPDF_SIMPLE, kPDF_BSP }; 0029 static Bool_t Capture(TGLViewer & viewer, EFormat format, 0030 const char * filePath = nullptr); 0031 0032 static void StartEmbeddedPS();//gl to ps in pad, "embedded" does not mean eps format here 0033 static void CloseEmbeddedPS(); 0034 static void Capture(TGLViewer & viewer); 0035 0036 virtual ~TGLOutput() { } 0037 0038 private: 0039 static Bool_t CapturePostscript(TGLViewer & viewer, EFormat format, 0040 const char * filePath); 0041 0042 ClassDef(TGLOutput,0) // Wrapper class for GL capture & output routines 0043 }; 0044 0045 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |