return aResColor;
}
+bool HYDROData_Entity::GetColor( QColor& theOutColor,
+ const int theTag ) const
+{
+ TDF_Label aLabel = theTag == 0 ? myLab : myLab.FindChild( theTag );
+
+ Handle(TDataStd_IntegerArray) aColorArray;
+ if ( aLabel.FindAttribute( TDataStd_IntegerArray::GetID(), aColorArray ) )
+ {
+ theOutColor.setRed( aColorArray->Value( 1 ) );
+ theOutColor.setGreen( aColorArray->Value( 2 ) );
+ theOutColor.setBlue( aColorArray->Value( 3 ) );
+ theOutColor.setAlpha( aColorArray->Value( 4 ) );
+ return true;
+ }
+
+ return false;
+}
+
+
QStringList HYDROData_Entity::dumpObjectCreation( MapOfTreatedObjects& theTreatedObjects ) const
{
QStringList aResList;