Visualization Status/Development

Slides:



Advertisements
Similar presentations
The Geant4 Kernel: Status and Recent Developments John Apostolakis, Gabriele Cosmo – CERN / PH Makoto Asai – SLAC On behalf the Geant4 collaboration April.
Advertisements

Makoto Asai (SLAC) Geant4 Users SLAC Feb. 18 th, 2002 Getting Started.
14 May 2011 Geant4 Tutorial Introduction J. Perl 1 Geant4 Tutorial University of Pennsylvania May 2011 A five day hands-on course based on Geant4.
Makoto Asai (SLAC) Geant4 Users CERN Nov. 11 th, 2002 Getting Started.
March 31, Status of the TOF, Ckov and Virtual Detector Packages in G4Mice Steve Kahn Brookhaven National Laboratory Mice Collaboration Meeting March.
14 User Documents and Examples I SLAC Geant4 Tutorial 3 November 2009 Dennis Wright Geant4 V9.2.p02.
12 May 2007 J. Perl Future Plans for Geant4 Visualization 1 HepRep/HepRApp DAWN OpenGL Future Plans for Geant4 Visualization What’s Planned for the Next.
Makoto Asai (SLAC) Geant4 Users SLAC Feb. 18 th, 2002 Getting Started.
Geant4 Visualization Review
Highlights of latest developments ESA/ESTEC Makoto Asai (SLAC)
Victor Serbo, SLAC30 September 2004, Interlaken, Switzerland JASSimApp plugin for JAS3: Interactive Geant4 GUI Serbo, Victor (SLAC) - presenter Donszelmann,
Geant4 application to X and Gamma-ray Telescopes B.Ferrero Merlino 1, D.Favretto 2, R. Giannitrapani 2, F.Longo 2, R.Nartallo 3, P.Nieminen 3, A.Pfeiffer.
17-19 Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan Oct, 2007Geant4 Japan 2007 Geant4 Japan.
G.Barrand, LAL-Orsay Geant4 and interactive frameworks.
Graphical Objects and Scene Graphs 1 Angel: Interactive Computer Graphics 5E © Addison-Wesley 2009.
Interface parallel session report Hajime Yoshida.
V. Serbo, SLAC ACAT03, 1-5 December 2003 Interactive GUI for Geant4 by Victor Serbo, SLAC.
Maria Grazia Pia Detector Response Acknowledgements: A. Lechner, J. Apostolakis, M. Asai, G. Cosmo, A. Howard.
Chapter 10 Analysis and Design Discipline. 2 Purpose The purpose is to translate the requirements into a specification that describes how to implement.
Geant4 Visualization 1 OpenGL DAWN VRML. Visualization Visualization Seeing what one does usually helps One can visualize geometry, hits, trajectories.
7 June 2005 Visualization & GGE Demo J. Perl 1 HepRep/WIRED DAWN OpenGL Geant4 Visualization & GGE Demo Joseph Perl, SLAC.
12 October 2006 G4Vis: Status, New Features and Issues 1 HepRep/WIRED DAWN OpenGL G4Vis: Status, New Features and Issues Geant4 Collaboration Workshop.
Maria Grazia Pia INFN Genova Salamanca, July 2002
Visualization of Geant4 Data: Exploiting Component Architecture through AIDA, HepRep, JAS and WIRED Geant4 Workshop, CERN - 2 October 2002 Joseph Perl.
Parallel Session Report of P2 on October 1, 2002 Interactivity & External Frameworks: Picking Satoshi Tanaka Ritsumeikan University (Rits)
Architecture team and Inter-category design/interface Makoto Asai (SLAC) 10/Oct/2002 Geant4 delta-review.
Makoto Asai (SLAC) Getting Started MGP: added class diagram of basic user application.
Parallel Session Interfaces This session is intended to be a working session with a couple of introductory presentations “Geant4 Web Application” by Hajime.
LCD WIRED FutureLCD Workshop May Joseph Perl 1 Future Plans for the LCD WIRED Event Display Joseph Perl SLAC Computing Services
Geant4 User Workshop 15, 2002 Lassi A. Tuura, Northeastern University IGUANA Overview Lassi A. Tuura Northeastern University,
Trajectory and Hit Visualisation Jane Tinslay, SLAC October 2006.
Integrated Tracking/Clustering Algorithm
Interaction with the Geant4 kernel
GAUSS GiGa (G4 Interface for Gaudi Geant 4
MICE event viewer status - Mihailo Savic - CM 45
Mastering Autodesk Revit MEP 2016
SCC P2P – Collaboration Made Easy Contract Management training
A C++ generic model for the GLAST Geometric Description
Graphical Objects and Scene Graphs
Graphical Objects and Scene Graphs
Status of Biasing Development
Better Interactive Programs
CPU Benchmarks Parallel Session Summary
ADAMS/VIEW INTERFACE OVERVIEW
ADAMS/VIEW INTERFACE OVERVIEW
User Documents and Examples I
Basics of a user application
(CMS GEANT4 simulation)
Makoto Asai (SLAC) Geant4 Users CERN Nov. 11th, 2002
Geometry checking tools
Gunter Folger Geant4 Genova Workshop 4-July-2001
Linear Collider Simulation Tools
Detector Description in LHCb
Better Interactive Programs
Software Installation
Geant4 Workshop, CERN - 1 October 2002 Joseph Perl
G.Cosmo - URD improvements Gabriele Cosmo (CERN/IT-API)
Summary of the 7th Geant4 Collaboration Workshop
Use of Geant4 in experiment interactive frameworks AliRoot
Geant4 Workshop 02 October 2002, CERN Hajime Yoshida
Professor John Canny Spring 2004 March 5
Modeling and Visualization Hajime Yoshida Naruto UE
Software Installation, release 4.0
G4 Workshop 2002 Detector Description Parallel Session
Kernel Author: Makoto Asai.
WIRED 4 Event Display Linear Collider Simulation Workshop
Professor John Canny Spring 2003 March 12
CMPT 120 Lecture 19 – Unit 3 – Graphics and Animation
Lunar Calibration Workshop Status of the preparation
release 5.0 – planned features
Presentation transcript:

Visualization Status/Development Satoshi Tanaka Ritsumeikan University (Rits) Geant4 Workshop at CERN October 2, 2002 Satoshi moved to Kyoto recently, and lives near this tower.

Overview Vis category is working stably. Some works are in progress. Curved trajectory Picking DTREE, DCUT Network visualization Etc

Visualization of curved trajectories

Visualization of curved trajectories (1) At present, we cannot visualize smoothly curved trajectories. Why? Because visualization drivers have no access to auxiliary points. These points are not persisted long enough for visualization to use them, hence we can’t draw smooth trajectories.

Visualization of curved trajectories (2): Solution Introduce a virtual method virtual const G4std::vector<G4ThreeVector*>* GetAuxiliaryPoints() const { return 0; } to G4VTrajectoryPoint class. We will introduce G4SmoothTrajectory and G4SmoothTrajectoryPoint classes derived from G4VTrajectory and G4VTrajectoryPoint abstract base classes, respectively. A new DrawTrajectory() method should be implemented to use the auxiliary point data properly. The draft codes of G4VTrajectory and G4VTrajectoryPoint have been committed to the head of the tracking category.

Visualization of curved trajectories (3): Note We should not lose performance of Geant4 by visualizing fancy smoothly curved trajectories. Auxiliary points should be generated only when user requires. (There should be a switch.)

Attribute displaying of trajectories with picking

Attribute displaying of trajectories with picking (1) Problem Visualization drivers have access to detailed information about geometry  Easy to perform the attribute displaying with picking. Visualization drivers, however, have no access to detailed information about trajectories (or sensitive detector hits).  We cannot execute the attribute displaying with picking. Let me present some illlustration figures (created by J. Perl).

Although it is easy to implement picking on detector volumes to gives detailed attributes …

Picking on trajectory can give no details

Picking on Trajectory becomes useful, if visualization drivers had better access to trajectory information

Attribute displaying of trajectories with picking (2) Solution We introduce attribute classes in graphics_reps category. G4AttDef defines new kinds of attributes that can then have values set for a Trajectory, Trajectory Point or Sensitive Detector Hit. G4AttValues can be attached to a Trajectory, Trajectory Point or Sensitive Detector Hit. These attributes are then made available to the end user in interactive graphics system (such as WIRED, OPACS). G4AttValueList* is returned by G4VTrajectory and G4VTrajectoryPoint by GetAttValueList() method virtual const G4AttValueList* GetAttValueList() const { return 0; } The draft codes are committed to the head of the tracking category

Attribute displaying of trajectories with picking (3) Action Classes G4AttDef, G4AttValues, G4AttValueList will be implemented The draft codes already exists at the head of the graphics_reps category Work will be made as collaboration of John Allison, Joseph Perl, Jacek Generowicz , Makoto Asai, and Satoshi Tanaka. To be tested with HepRep driver (Joseph)

DTREE

DTREE (1): Overview DTREE: ASCII Tree (indented ) is implemented Properly indented description of physical volumes. GAG Tree is implemented. HepRep visualization driver realizes DTREE synchronized to visualization (NEW!)

DTREE (2): GAG Tree

DTREE (3): HepRep driver

DTREE (3): HepRep driver

DCUT (Slice view)

DCUT (slice view) (1) Status DCUT is available with OpenGL driver. But it does not re-fill section plane. = Only outlines of a section plane are drawn. Projects are going on to improve the situation Global solution: Updation of G4Polyhedron. (Evgeni, John Allison) Another solution with DAWNCUT application. (Satoshi Tanaka)

DCUT (slice view) (2) DCUT with DAWNFILE driver is in plan. We use DAWNCUT application (cut-away view generator) It can generate fine view of section plane by filling proper polygons:

New network visualization

New network visualization A new project with Naruto group (Yoshida, Minamimoto) GAIN (Newtork version of GAG) + G4 remote visualization VRML: Already implemented DAWN: In plan More details are presented in Yoshida’s talk.

Note added

Note added (1): Precision control in the DAWNFILE visualization driver The default precision is made “9”, which had been “6” for a long time. The precision is controllable by setting an environmental variable: Example: setenv G4DAWNFILE_PRECISION 12 For details see: geant4/source/visualization/FukuiRenderer/CUSTOMIZE

Note added (2): Information for users Visualization category uses many graphics packages, which are not included in the distributed Geant4 package. More user-friendly way to obtain the packages? Web, new CVS category, ….