Ignore:
Timestamp:
Dec 7, 2009, 12:15:45 PM (15 years ago)
Author:
garnier
Message:

CVS update

Location:
trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/Visualization
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/Visualization/commandcontrol.xml

    r921 r1211  
    44<!--    Converted to DocBook: Katsuya Amako, Aug-2006         -->
    55<!--    Added Qt Info: Laurent Garnier, Dec-2008              -->
     6<!--    Added OpenGL commands : Laurent Garnier, Dec-2009     -->
    67<!--                                                          -->
    78<!-- ******************************************************** -->
     
    812813
    813814<para>
     815<itemizedlist spacing="compact">
     816<listitem>
     817<para>
     818<emphasis role="bold">DAWFILE</emphasis>
     819<para>
    814820The DAWNFILE driver, which co-works with Fukui Renderer DAWN,
    815821generates "vectorized" PostScript data with "analytical
     
    862868complementary to each other.
    863869</para>
    864 
     870</para>
     871</listitem>
     872
     873<listitem>
     874<para>
     875<emphasis role="bold">OpenInventor</emphasis>
    865876<para>
    866877In the OpenInventor drivers, you can simply click the "Print"
     
    868879a visualized view.
    869880</para>
    870 
    871 <para>
    872 The OpenGL X drivers can also generate PostScript files, either from
    873 a pull-down menu (Motif drivers) or with <literal>/vis/ogl/printEPS</literal>.
     881</para>
     882</listitem>
     883
     884<listitem>
     885<para>
     886<emphasis role="bold">OpenGL</emphasis>
     887<para>
     888The OpenGL drivers can also generate PostScript files, either from
     889a pull-down menu (Motif and Qt drivers) or with <literal>/vis/ogl/printEPS</literal>.
    874890It can generate either vectorized or rasterized PostScript
    875 data. In generating vectorized PostScript data, hidden-surface
     891data with <literal>/vis/ogl/set/printMode</literal> ("vectored" or "pixmap").
     892You can change the filename by <literal>/vis/ogl/set/printMode</literal>
     893And the printed size by <literal>/vis/ogl/set/printSize</literal>
     894In generating vectorized PostScript data, hidden-surface
    876895removal is performed, based on the painter's algorithm after
    877896dividing facets of shapes into small sub-triangles.
    878897</para>
    879 
     898<para>
     899Note : Print stuff is done tanks to gl2ps library (incorporated in vis driver)
     900Due to a gl2ps limitation, printing an opengl view with <literal>/vis/viewer/set/hiddenMarker 1</literal>
     901will have the same effect as printing with <literal>/vis/viewer/set/hiddenMarker 0</literal>
     902</para>
     903<para>
     904Note : <literal>/vis/ogl/set/printSize</literal> command can be used to print
     905EPS files larger than screen size. The only size limitation is graphics card
     906viewport dimension: GL_MAX_VIEWPORT_DIMS
     907
     908<informalexample>
     909<programlisting>
     910# Invoke the OpenGL visualization driver in its stored mode
     911/vis/open OGLSX
     912
     913# Camera setting
     914/vis/viewer/set/viewpointThetaPhi 20 20
     915
     916# Camera setting
     917/vis/drawVolume
     918/vis/viewer/flush
     919
     920# set print mode to vectored
     921/vis/ogl/set/printMode vectored
     922
     923# set print size larger than screen
     924/vis/ogl/set/printSize 2000 2000
     925
     926# print
     927/vis/ogl/printEPS
     928
     929</programlisting>
     930</informalexample>
     931</para>
     932</para>
     933</listitem>
     934
     935<listitem>
     936<para>
     937<emphasis role="bold">HepRep</emphasis>
    880938<para>
    881939The HepRApp HepRep Browser and WIRED4 JAS Plug-In can generate a
     
    883941PostScript and PDF.
    884942</para>
    885 
     943</para>
     944</listitem>
     945</itemizedlist>
     946</para>
    886947</sect2>
    887948
  • trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/Visualization/introduction.xml

    r921 r1211  
    88<!--    Added Qt Info: Laurent Garnier, Dec-2008              -->
    99<!--    Updates for Qt and HepRApp: Joseph Perl, Dec-2008     -->
     10<!--    Typo correction : Laurent Garnier, Dec-2009           -->
    1011<!--                                                          -->
    1112<!-- ******************************************************** -->
     
    149150      </para></listitem>
    150151      <listitem><para>
    151         Requies addition of Qt and GL libraries that are freely available on most operating
     152        Requires addition of Qt and GL libraries that are freely available on most operating
    152153        systems
    153154      </para></listitem>
  • trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/Visualization/visdrivers.xml

    r921 r1211  
    55<!--    Converted to DocBook: Katsuya Amako, Aug-2006         -->
    66<!--    Updates for Qt and HepRApp: Joseph Perl, Dec-2008     -->
     7<!--    Added a reference: Laurent Garnier, Dec-2009          -->
    78<!--                                                          -->
    89<!-- ******************************************************** -->
     
    307308Output can be exported to EPS (both vector and pixel graphics)
    308309using vis/ogl/printEPS.
     310</para>
     311<para>
     312More informations can be found here :  <xref linkend="sect.VisCntCmmd.SvVwPs" />
    309313</para>
    310314
  • trunk/documents/UserDoc/DocBookUsersGuides/ForApplicationDeveloper/xml/Visualization/visexecutable.xml

    r921 r1211  
    44<!--    Converted to DocBook: Katsuya Amako, Aug-2006         -->
    55<!--    Updates for Qt: Laurent Garnier, Dec-2008             -->
     6<!--    Typo correction : Laurent Garnier, Dec-2009           -->
    67<!--                                                          -->
    78<!-- ******************************************************** -->
     
    408409      // Define (G)UI terminal
    409410      G4UIsession * session = new G4UIterminal
    410       session-&gt;sessionStart();
     411      session-&gt;SessionStart();
    411412
    412413      delete session;
Note: See TracChangeset for help on using the changeset viewer.