Changeset 1038 for trunk/source/visualization/modeling/src
- Timestamp:
- May 12, 2009, 11:04:00 AM (15 years ago)
- Location:
- trunk/source/visualization/modeling/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/modeling/src/G4LogicalVolumeModel.cc
r954 r1038 96 96 // Add Voxels. 97 97 G4DrawVoxels dv; 98 99 // FIXME : LG 1 May 2009 : return a pointer...should be destroy by the compiler 98 100 G4PlacedPolyhedronList* pPPL = 99 101 dv.CreatePlacedPolyhedra (fpTopPV -> GetLogicalVolume ()); … … 102 104 const G4Polyhedron& polyhedron = (*pPPL)[i].GetPolyhedron (); 103 105 sceneHandler.BeginPrimitives (transform); 104 sceneHandler.AddPrimitive (polyhedron); 106 printf("G4LogicalVolumeModel::DescribeYourselfTo BEFORE ADD %d\n",fpTopPV -> GetLogicalVolume ()); 107 if (&polyhedron) { 108 printf("G4LogicalVolumeModel::DescribeYourselfTo poly FAILED\n"); 109 } else { 110 printf("G4LogicalVolumeModel::DescribeYourselfTo poly OK\n"); 111 } 112 sceneHandler.AddPrimitive (polyhedron); 113 printf("G4LogicalVolumeModel::DescribeYourselfTo AFTER ADD\n"); 105 114 sceneHandler.EndPrimitives (); 106 115 } -
trunk/source/visualization/modeling/src/G4PhysicalVolumeModel.cc
r954 r1038 761 761 } 762 762 values->push_back(G4AttValue("PVPath", oss.str(),"")); 763 if (fpCurrentLV) { 764 printf("G4PhysicalVolumeModel::CreateCurrentAttValues OK\n"); 765 } else { 766 printf("G4PhysicalVolumeModel::CreateCurrentAttValues Failed\n"); 767 } 763 768 values->push_back(G4AttValue("LVol", fpCurrentLV->GetName(),"")); 764 769 G4VSolid* pSol = fpCurrentLV->GetSolid();
Note: See TracChangeset
for help on using the changeset viewer.