Changeset 1136 for trunk/source/visualization/modeling
- Timestamp:
- Nov 2, 2009, 3:49:55 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/visualization/modeling/src/G4LogicalVolumeModel.cc
r1038 r1136 96 96 // Add Voxels. 97 97 G4DrawVoxels dv; 98 99 // FIXME : LG 1 May 2009 : return a pointer...should be destroy by the compiler100 98 G4PlacedPolyhedronList* pPPL = 101 99 dv.CreatePlacedPolyhedra (fpTopPV -> GetLogicalVolume ()); … … 104 102 const G4Polyhedron& polyhedron = (*pPPL)[i].GetPolyhedron (); 105 103 sceneHandler.BeginPrimitives (transform); 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 104 sceneHandler.AddPrimitive (polyhedron); 113 printf("G4LogicalVolumeModel::DescribeYourselfTo AFTER ADD\n");114 105 sceneHandler.EndPrimitives (); 115 106 }
Note:
See TracChangeset
for help on using the changeset viewer.
