#include "HYDROGUI_Tool.h"
#include <HYDROData_Bathymetry.h>
-#include <HYDROData_Calculation.h>
+#include <HYDROData_CalculationCase.h>
#include <HYDROData_Document.h>
#include <HYDROData_Image.h>
#include <HYDROData_ImmersibleZone.h>
anIterator = HYDROData_Iterator( aDocument, KIND_CALCULATION );
for( ; anIterator.More(); anIterator.Next() )
{
- Handle(HYDROData_Calculation) aCalculObj =
- Handle(HYDROData_Calculation)::DownCast( anIterator.Current() );
+ Handle(HYDROData_CalculationCase) aCalculObj =
+ Handle(HYDROData_CalculationCase)::DownCast( anIterator.Current() );
if( !aCalculObj.IsNull() )
createObject( aCalculRootObj, aCalculObj );
}
}
else if ( anObjectKind == KIND_CALCULATION )
{
- Handle(HYDROData_Calculation) aCaseObj =
- Handle(HYDROData_Calculation)::DownCast( aDataObj );
+ Handle(HYDROData_CalculationCase) aCaseObj =
+ Handle(HYDROData_CalculationCase)::DownCast( aDataObj );
LightApp_DataObject* aCaseRegionsSect =
createObject( aGuiObj, tr( "CASE_REGIONS" ), aGuiObj->entry() );