Import Geant4 11.0.0 source tree
This commit is contained in:
committed by
Ben Morgan
parent
6399a014b6
commit
80e2389dd8
@@ -100,7 +100,8 @@ G4ViewParameters::G4ViewParameters ():
|
||||
fDisplayLightFrontT(0.),
|
||||
fDisplayLightFrontRed(0.),
|
||||
fDisplayLightFrontGreen(1.),
|
||||
fDisplayLightFrontBlue(0.)
|
||||
fDisplayLightFrontBlue(0.),
|
||||
fSpecialMeshRendering(false)
|
||||
{
|
||||
// Pick up default no of sides from G4Polyhedron.
|
||||
// Note that this parameter is variously called:
|
||||
@@ -451,6 +452,18 @@ G4String G4ViewParameters::DrawingStyleCommands() const
|
||||
oss << "\n/vis/viewer/set/numberOfCloudPoints "
|
||||
<< fNumberOfCloudPoints;
|
||||
|
||||
oss << "\n/vis/viewer/set/specialMeshRendering ";
|
||||
if (fSpecialMeshRendering) {
|
||||
oss << "true";
|
||||
} else {
|
||||
oss << "false";
|
||||
}
|
||||
|
||||
oss << "\n/vis/viewer/set/specialMeshVolumes";
|
||||
for (const auto& volume : fSpecialMeshVolumes) {
|
||||
oss << ' ' << volume.GetName() << ' ' << volume.GetCopyNo();
|
||||
}
|
||||
|
||||
oss << std::endl;
|
||||
|
||||
return oss.str();
|
||||
|
||||
Reference in New Issue
Block a user