{
}
+HYDROData_SequenceOfObjects HYDROData_Object::GetAllReferenceObjects() const
+{
+ HYDROData_SequenceOfObjects aResSeq = HYDROData_Entity::GetAllReferenceObjects();
+
+ Handle(HYDROData_Bathymetry) aRefBathymetry = GetBathymetry();
+ if ( !aRefBathymetry.IsNull() )
+ aResSeq.Append( aRefBathymetry );
+
+ return aResSeq;
+}
+
void HYDROData_Object::SetTopShape( const TopoDS_Shape& theShape )
{
TNaming_Builder aBuilder( myLab.FindChild( DataTag_TopShape ) );
aBuilder.Generated( theShape );
}
+void HYDROData_Object::Update()
+{
+ removeTopShape();
+ removeShape3D();
+ SetToUpdate( false );
+}
+
void HYDROData_Object::SetBathymetry( const Handle(HYDROData_Bathymetry)& theBathymetry )
{
SetReferenceObject( theBathymetry, DataTag_Bathymetry );