Changeset 1051


Ignore:
Timestamp:
May 27, 2009, 4:46:43 PM (15 years ago)
Author:
garnier
Message:

qq modifs de debug

Location:
trunk/source/visualization
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/visualization/History

    r1042 r1051  
    1 $Id: History,v 1.440 2009/05/13 18:21:03 allison Exp $
     1$Id: History,v 1.442 2009/05/14 16:58:54 lgarnier Exp $
    22-------------------------------------------------------------------
    33
     
    2424History file for visualization category
    2525---------------------------------------
     26
     2714th May 2009  Laurent Garnier
     28 - opengl-V09-02-04 Added /vis/ogl/set/printSize and /vis/ogl/set/printFilename
    2629
    273013th May 2009  John Allison
  • trunk/source/visualization/OpenInventor/GNUmakefile

    r924 r1051  
    66  G4INSTALL = ../../..
    77endif
     8
     9# For debug mode
     10CPPFLAGS += -DG4DEBUG_VIS_OI
    811
    912GLOBLIBS  = libG4vis_management.lib libG4modeling.lib
  • trunk/source/visualization/OpenInventor/src/G4OpenInventorViewer.cc

    r924 r1051  
    477477
    478478void G4OpenInventorViewer::WritePostScript(const G4String& aFile) {
     479#ifdef G4DEBUG_VIS_OI
     480  printf("G4OpenInventorViewer::WritePostScript %s\n",aFile.c_str());
     481#endif
    479482  if(!fGL2PSAction) return;
    480483  fGL2PSAction->setFileName(aFile.c_str());
    481484  G4cout << "Produce " << aFile << "..." << G4endl;
    482485  if (fGL2PSAction->enableFileWriting()) {
     486#ifdef G4DEBUG_VIS_OI
     487    printf("G4OpenInventorViewer::WritePostScript produce OK\n");
     488#endif
    483489    ViewerRender();
    484490    fGL2PSAction->disableFileWriting();
     
    487493
    488494void G4OpenInventorViewer::WritePixmapPostScript(const G4String& aFile) {
     495#ifdef G4DEBUG_VIS_OI
     496  printf("G4OpenInventorViewer::WritePixmapPostScript %s\n",aFile.c_str());
     497#endif
     498
    489499  fSoImageWriter->fileName.setValue(aFile.c_str());
    490500  //imageWriter->format.setValue(SoImageWriter::POST_SCRIPT);
     
    501511           << G4endl;
    502512  }
     513#ifdef G4DEBUG_VIS_OI
     514  printf("G4OpenInventorViewer::WritePixmapPostScript END\n");
     515#endif
    503516
    504517
  • trunk/source/visualization/OpenInventor/src/SoGL2PSAction.cc

    r940 r1051  
    7171//!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
    7272{
     73#ifdef G4DEBUG_VIS_OI
     74    printf("SoGL2PSAction::enableFileWriting\n");
     75#endif
    7376  fFile = ::fopen(fFileName,"w");
    7477  if(!fFile) {
  • trunk/source/visualization/externals/gl2ps/GNUmakefile

    r978 r1051  
    44
    55name := G4gl2ps
     6
     7# For debug mode
     8CPPFLAGS += -DG4DEBUG_VIS_GL2PS
    69
    710ifndef G4INSTALL
Note: See TracChangeset for help on using the changeset viewer.