+ Handle(HYDROGUI_ImagePrs) aPrs;
+
+ Handle(HYDROData_Image) anImageObj = Handle(HYDROData_Image)::DownCast( getObject() );
+ if ( !anImageObj.IsNull() )
+ {
+ aPrs = new HYDROGUI_ImagePrs( imagePixMap( anImageObj ), imageContour( anImageObj ) );
+ shapes.append( aPrs );
+ }
+
+ return shapes;