#include "HYDROGUI_Shape.h"
#include <HYDROData_Calculation.h>
-#include <HYDROData_Zone.h>
+#include <HYDROData_Region.h>
class SUIT_ViewManager;
class OCCViewer_ViewManager;
{
Q_OBJECT
- struct SplittedZone
+ struct Region
{
- QString ZoneName;
- QString PolylineName;
+ QString RegionName;
QColor FillingColor;
QColor BorderColor;
HYDROGUI_SplitZonesTool::SplitData SplitData;
HYDROGUI_Shape* Shape;
- Handle(HYDROData_Zone) DataZone;
+ Handle(HYDROData_Region) DataRegion;
- SplittedZone()
+ Region()
: Shape( NULL ),
FillingColor( Qt::green ),
BorderColor( Qt::transparent )
{ }
- ~SplittedZone()
+ ~Region()
{
if ( Shape )
{
}
};
- typedef QList<SplittedZone> SplittedZonesList;
+ typedef QList<Region> RegionsList;
public:
HYDROGUI_CalculationOp( HYDROGUI_Module* theModule, bool theIsEdit );
SUIT_ViewManager* myActiveViewManager;
OCCViewer_ViewManager* myPreviewViewManager;
- SplittedZonesList mySplittedZones;
+ RegionsList myRegionsList;
};
#endif