class SUIT_ViewManager;
class GraphicsView_ViewPort;
class OCCViewer_ViewFrame;
-class Handle_HYDROData_Document;
+class HYDROData_Document;
+class HYDROData_CalculationCase;
namespace HYDROGUI_Tool
{
HYDROData_SequenceOfObjects GetSelectedObjects( HYDROGUI_Module* theModule );
- bool IsObjectHasPresentation( const Handle_HYDROData_Entity& theObject,
+ bool IsObjectHasPresentation( const Handle(HYDROData_Entity)& theObject,
const QString& theViewerType = "" );
Handle(HYDROData_Entity) GetSelectedObject( HYDROGUI_Module* theModule );
ObjectKind GetSelectedPartition( HYDROGUI_Module* theModule );
+ bool IsSelectedPartOfCalcCase( HYDROGUI_Module* theModule, Handle(HYDROData_CalculationCase)& theOutCalCase,
+ QString& theOutPart);
+
Handle(HYDROData_Entity) FindObjectByName( HYDROGUI_Module* theModule,
const QString& theName,
const ObjectKind theObjectKind = KIND_UNKNOWN );
QColor GenerateFillingColor( HYDROGUI_Module* theModule, const QStringList& theZoneNames );
- QColor GenerateFillingColor( const Handle_HYDROData_Document& theDoc,
+ QColor GenerateFillingColor( const Handle(HYDROData_Document)& theDoc,
const QStringList& theZoneNames );
QStringList GetSelectedGeomObjects( HYDROGUI_Module* theModule,