User Tools

Site Tools


software:geometry

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
software:geometry [2019/02/14 09:47] – [Have a look at the geometry] himusersoftware:geometry [2022/01/14 18:44] (current) – external edit 127.0.0.1
Line 9: Line 9:
 <code> <code>
 cd primasoft/geant4/geometry cd primasoft/geant4/geometry
-camke .+cmake .
 make make
 </code> </code>
Line 33: Line 33:
   -  Modify your CmakeLists.txt   -  Modify your CmakeLists.txt
   -  Make and execute your new executable → a new .root file is created   -  Make and execute your new executable → a new .root file is created
 +    - Use  cmake --build.  and ./"your executable here"
  
-Usefull links:+Useful links:
   * [[https://root.cern.ch/how/how-draw-objects|how-to-draw-objects]]   * [[https://root.cern.ch/how/how-draw-objects|how-to-draw-objects]]
   * [[https://root.cern.ch/root/htmldoc/guides/users-guide/ROOTUsersGuide.html#the-geometry-package|geometry-package]]   * [[https://root.cern.ch/root/htmldoc/guides/users-guide/ROOTUsersGuide.html#the-geometry-package|geometry-package]]
 +  * [[https://cmake.org/cmake/help/latest/guide/tutorial/index.html]]
 +  * [[https://root.cern.ch/root/htmldoc/guides/users-guide/Geometry.html]]
 +
  
 ==== Have a look at the geometry ==== ==== Have a look at the geometry ====
Line 49: Line 53:
 Enter "ogl" as option and press "OK". Now your geometry is displayed by the GL viewer. Enter "ogl" as option and press "OK". Now your geometry is displayed by the GL viewer.
  
-== Scene interaction with GL viewer ==+== Scene interaction with GL viewer==
  
   * Left mouse button: ROTATE (ORBIT) the scene by holding the mouse button and moving the mouse   * Left mouse button: ROTATE (ORBIT) the scene by holding the mouse button and moving the mouse
software/geometry.1550137624.txt.gz · Last modified: 2022/01/14 18:44 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki