- Timestamp:
- Apr 3, 2006, 3:00:41 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
MEMPHYS/HEAD/applications/HitsCollectionAccessor.cxx
r120 r127 8 8 #include <Inventor/nodes/SoDrawStyle.h> 9 9 10 #include <Inventor/nodes/SoCube.h> //FIXME 10 //#include <Inventor/nodes/SoCube.h> //FIXME 11 //#include <Inventor/nodes/SoCylinder.h> //JEC 27/1/06 FIXME 11 12 12 13 // HEPVis : 14 #include <HEPVis/SbPolyhedron.h> 13 15 #include <HEPVis/misc/SoStyleCache.h> 14 16 #include <HEPVis/nodes/SoHighlightMaterial.h> 17 #include <HEPVis/nodes/SoPolyhedron.h> 15 18 16 19 #ifdef WIN32 … … 100 103 101 104 //FIXME : PM base size : 102 double WCPMTRadius = 0.10*m; // 20-cm PMTs (8-inch) 105 // double WCPMTRadius = 0.10*m; // 20-cm PMTs (8-inch) 106 //JEC 27/1/06 double WCPMTRadius = 0.10*m; // 20-cm PMTs (8-inch) 107 double WCPMTRadius = 0.15*m; // PMTs (12-inch) 103 108 104 SoCube* soCube = new SoCube; 105 soCube->width.setValue(WCPMTRadius); 106 soCube->height.setValue(WCPMTRadius); 107 soCube->depth.setValue(WCPMTRadius); 108 soCube->setName(name); 109 /* 110 SoCylinder* soPMT = new SoCylinder; 111 soPMT->radius.setValue(WCPMTRadius); 112 soPMT->height.setValue(WCPMTRadius); 113 //JEC what's SoCylinder parts? 114 separator->addChild(soPMT); 115 */ 116 117 SbPolyhedronTube sbTube(0,WCPMTRadius,WCPMTRadius/2); 118 SoPolyhedron* soPMT = new SoPolyhedron(sbTube); 119 //soPMT->radius.setValue(WCPMTRadius); 120 //soPMT->height.setValue(WCPMTRadius); 121 //JEC what's SoCylinder parts? 122 separator->addChild(soPMT); 123 124 125 // SoCube* soCube = new SoCube; 126 // soCube->width.setValue(WCPMTRadius); 127 // soCube->height.setValue(WCPMTRadius); 128 // soCube->depth.setValue(WCPMTRadius); 129 // soCube->setName(name); 109 130 110 separator->addChild(soCube);131 // separator->addChild(soCube); 111 132 112 133 fSoRegion->doIt(SbAddNode(separator,"dynamicScene"));
Note: See TracChangeset
for help on using the changeset viewer.