49 void DicomPhantomParameterisationColour::ReadColourData()
54 fColours[
"Default"] = blankAtt;
57 std::ifstream
fin(
"ColourMap.dat");
60 G4double cred, cgreen, cblue, copacity;
62 for(
G4int ii = 0; ii < nMate; ii++ ){
63 fin >> mateName >> cred >> cgreen >> cblue >> copacity;
64 G4Colour colour( cred, cgreen, cblue, copacity );
66 fColours[mateName] = visAtt;
78 std::string::size_type iuu = mateName.find(
"__");
79 if( iuu != std::string::npos ) {
80 mateName = mateName.substr( 0, iuu );
82 std::map<G4String,G4VisAttributes*>::const_iterator ite = fColours.find(mateName);
83 if( ite != fColours.end() ){