#include <HYDROData_ShapesGroup.h>
#include <HYDROData_Stream.h>
#include <HYDROData_Zone.h>
- #include <HYDROGUI_PrsShape.h>
++#include <HYDROGUI_Polyline.h>
#include <AIS_Shape.hxx>
#include <BRep_Builder.hxx>
if( myTopoShape.IsNull() )
return Handle_AIS_InteractiveObject();
else
- return new AIS_Shape( myTopoShape );
+ if ( myObject->IsKind( STANDARD_TYPE(HYDROData_PolylineXY) ) ||
+ myObject->IsKind( STANDARD_TYPE(HYDROData_Polyline3D)) ||
+ myObject->IsKind( STANDARD_TYPE(HYDROData_Profile) ))
- return new HYDROGUI_PrsShape(myTopoShape);
++ return new HYDROGUI_Polyline(myTopoShape);
+ else
+ return new AIS_Shape( myTopoShape );
}
void HYDROGUI_Shape::buildShape()