const int BATH_HIGHLIGHT_MODE = 10;
-HYDROGUI_BathymetryPrs::HYDROGUI_BathymetryPrs()
+HYDROGUI_BathymetryPrs::HYDROGUI_BathymetryPrs( const HYDROGUI_ShapeBathymetry* theShape )
+ : myShape( theShape )
{
SetHilightMode( BATH_HIGHLIGHT_MODE );
SetAutoHilight( Standard_True );
{
}
+HYDROGUI_ShapeBathymetry* HYDROGUI_BathymetryPrs::GetShape() const
+{
+ return const_cast<HYDROGUI_ShapeBathymetry*>( myShape );
+}
+
void HYDROGUI_BathymetryPrs::UpdateBound()
{
Handle(Graphic3d_ArrayOfPoints) points = GetPoints();