]> SALOME platform Git repositories - modules/hydro.git/blob - src/HYDROData/HYDROData_Digue.cxx
Salome HOME
Dump of profile is implemented.
[modules/hydro.git] / src / HYDROData / HYDROData_Digue.cxx
1
2 #include "HYDROData_Digue.h"
3
4 #include "HYDROData_Document.h"
5
6 #include <TopoDS_Shape.hxx>
7
8 #include <QColor>
9 #include <QStringList>
10
11 IMPLEMENT_STANDARD_HANDLE(HYDROData_Digue,HYDROData_Channel)
12 IMPLEMENT_STANDARD_RTTIEXT(HYDROData_Digue,HYDROData_Channel)
13
14
15 HYDROData_Digue::HYDROData_Digue()
16 : HYDROData_Channel()
17 {
18 }
19
20 HYDROData_Digue::~HYDROData_Digue()
21 {
22 }
23
24 QStringList HYDROData_Digue::DumpToPython( MapOfTreatedObjects& theTreatedObjects ) const
25 {
26   QStringList aResList = dumpObjectCreation( theTreatedObjects );
27   QString aName = GetName();
28
29   // TODO
30
31   aResList << QString( "" );
32   aResList << QString( "%1.Update();" ).arg( aName );
33   aResList << QString( "" );
34
35   return aResList;
36 }
37
38 QColor HYDROData_Digue::DefaultFillingColor()
39 {
40   return QColor( Qt::red );
41 }
42
43 QColor HYDROData_Digue::DefaultBorderColor()
44 {
45   return QColor( Qt::transparent );
46 }
47
48 QColor HYDROData_Digue::getDefaultFillingColor() const
49 {
50   return DefaultFillingColor();
51 }
52
53 QColor HYDROData_Digue::getDefaultBorderColor() const
54 {
55   return DefaultBorderColor();
56 }
57