Problem drawing a geometry

From: Jochen Thaeder <thaeder_at_kip.uni-heidelberg.de>
Date: Thu, 30 Mar 2006 16:46:10 +0200


Hi,

I have some problems in drawing a geometry. I have geometry file (not written by me) with several Nodes inside. The point is that i want to draw only some of these nodes.

The drawing works, but I get an error output...

Error in <TCanvas::TPad::CreateViewer3D>: Cannot create 3D viewer of type: same

I 'produce' it like this: (in a short version)

...
TFile *file = TFile::Open("alice.geom"); TGeometry *fGeom = (TGeometry*)file->Get("AliceGeom");

fGeom->GetNode(LS00)->Draw("same");
fGeom->GetNode(LS01)->Draw("same");
fGeom->GetNode(LS03)->Draw("same");

...

Can someone please tell me what I'm doing wrong??

Cheers
  Jochen

-- 
Jochen Thäder  thaeder_at_kip.uni-heidelberg.de

Computer Science/Computer Engineering
Kirchhoff Institute of Physics - Ruprecht-Karls-University Heidelberg

ICQ UIN: 84840251




Received on Thu Mar 30 2006 - 16:46:22 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:58 MET