X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FSMESHDS%2FSMESHDS_GroupBase.cxx;h=1559f642b1522050cb71313129af48664692ed59;hp=90b91add67f7fa75be50276a40d9bbefb6fac145;hb=e7f0754d3237e66a3ff646d14aa97599963f6324;hpb=65d7c9da5bb0685de387bb6683339b7af2b82944 diff --git a/src/SMESHDS/SMESHDS_GroupBase.cxx b/src/SMESHDS/SMESHDS_GroupBase.cxx index 90b91add6..1559f642b 100644 --- a/src/SMESHDS/SMESHDS_GroupBase.cxx +++ b/src/SMESHDS/SMESHDS_GroupBase.cxx @@ -169,21 +169,12 @@ void SMESHDS_GroupBase::SetType(SMDSAbs_ElementType theType) void SMESHDS_GroupBase::SetColorGroup(int theColorGroup) { - cout << "theColorGroup = " << theColorGroup << endl; - int aRed = ( theColorGroup/1000000 ); int aGreen = ( theColorGroup -aRed*1000000)/1000; int aBlue = ( theColorGroup - aRed*1000000 - aGreen*1000 ); - cout << "aRed = " << aRed << endl; - cout << "aGreen = " << aGreen << endl; - cout << "aBlue = " << aBlue << endl; double aR = aRed/255.0; double aG = aGreen/255.0; double aB = aBlue/255.0; - cout << "aR = " << aR << endl; - cout << "aG = " << aG << endl; - cout << "aB = " << aB << endl; - Quantity_Color aColor( aR, aG, aB, Quantity_TOC_RGB ); SetColor( aColor ); } @@ -202,9 +193,6 @@ int SMESHDS_GroupBase::GetColorGroup() const int aR = aRed*255; int aG = aGreen*255; int aB = aBlue*255; - cout << "aRed = " << aR << endl; - cout << "aGreen = " << aG << endl; - cout << "aBlue = " << aB << endl; int aRet = (int)(aR*1000000 + aG*1000 + aB); return aRet;