Problem 958 - G4Hype is not displayed in VRML
Summary: G4Hype is not displayed in VRML
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: visualization/VRML (show other problems)
Version: 9.0
Hardware: All All
: P5 minor
Assignee: Satoshi Tanaka
URL:
Depends on:
Blocks:
 
Reported: 2007-07-13 08:51 CEST by Koichi Murakami
Modified: 2008-04-22 10:18 CEST (History)
2 users (show)

See Also:


Attachments
VRML file of G4Hype object (5.92 KB, model/vrml)
2007-07-13 08:51 CEST, Koichi Murakami
Details

Note You need to log in before you can comment on or make changes to this problem.
Description Koichi Murakami 2007-07-13 08:51:40 CEST
Created attachment 6 [details]
VRML file of G4Hype object

G4Hype objects cannot be properly displayed on VRML.

I attach a VRML file of a G4Hype object, which is created by

G4Hype("hype", 20.*cm, 30.*cm, 0.7, 0.7, 50.*cm)

. I'm not sure weather this is just a limitation of the (OpenGL) capability
or a bug.

For other solid objects, they looks fine.

Please take a look.
Comment 1 Gabriele Cosmo 2008-02-06 18:46:26 CET
I can confirm that the shape is not correctly visualized.
The responsible for this I believe is this portion of code in G4Hype.cc:

G4Polyhedron* G4Hype::CreatePolyhedron() const 
{
  // Tube for now!!!
  //
  return new G4PolyhedronTube (endInnerRadius, endOuterRadius, halfLenZ);
}

:-)

and corresponding missing graphics primitive in HepPolyhedron ?

ehm... John, Satoshi ?

Comment 2 Gabriele Cosmo 2008-04-22 10:18:03 CEST
Correct graphical representation has been added to G4Hype and missing graphics primitive in HepPolyhedron included. Available in tags: "geom-specific-V09-01-08" and "greps-V09-01-04".
Will be included in next release.