- void vtkGPortView::updateColors( ) {
- _fillObjectActor->GetProperty( )->SetColor( 0.45 , 0.45 , 0.45 ) ;
+ void vtkGPortView::updateColors( )
+ {
+//EED2017-04-08
+ float rgb[3];
+ getColors(rgb);
+ _fillObjectActor->GetProperty( )->SetColor( rgb[0] , rgb[1] , rgb[2] ) ;
+ }
+
+ //=========================================================================
+//EED2017-04-08
+ void vtkGPortView::getColors(float* rgb)
+ {
+ rgb[0]=0.45; rgb[1]=0.45; rgb[2]=0.45;