Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Color Number (Color Group) parameter is returned for compatibility
[modules/smesh.git]
/
src
/
SMESHDS
/
SMESHDS_GroupBase.hxx
diff --git
a/src/SMESHDS/SMESHDS_GroupBase.hxx
b/src/SMESHDS/SMESHDS_GroupBase.hxx
index 48fd791205554a7fe0307f1b5173c79a453a5276..7e2d521e0dec5b54cd6ae8b2ff06b2c121ab45f3 100644
(file)
--- a/
src/SMESHDS/SMESHDS_GroupBase.hxx
+++ b/
src/SMESHDS/SMESHDS_GroupBase.hxx
@@
-32,11
+32,9
@@
#include <string>
#include "SMDSAbs_ElementType.hxx"
#include "SMDS_MeshElement.hxx"
#include <string>
#include "SMDSAbs_ElementType.hxx"
#include "SMDS_MeshElement.hxx"
-
-#include "SALOMEconfig.h"
-#include CORBA_SERVER_HEADER(SALOMEDS)
-#include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
+#include <Quantity_Color.hxx>
+
class SMESHDS_Mesh;
class SMESHDS_EXPORT SMESHDS_GroupBase
class SMESHDS_Mesh;
class SMESHDS_EXPORT SMESHDS_GroupBase
@@
-72,11
+70,15
@@
class SMESHDS_EXPORT SMESHDS_GroupBase
virtual ~SMESHDS_GroupBase() {}
virtual ~SMESHDS_GroupBase() {}
- void SetColor (const
SALOMEDS::
Color& theColor)
+ void SetColor (const
Quantity_
Color& theColor)
{ myColor = theColor;}
{ myColor = theColor;}
-
SALOMEDS::
Color GetColor() const
+
Quantity_
Color GetColor() const
{ return myColor;}
{ return myColor;}
+
+ void SetColorGroup (int theColorGroup);
+
+ int GetColorGroup() const;
protected:
const SMDS_MeshElement* findInMesh (const int theID) const;
protected:
const SMDS_MeshElement* findInMesh (const int theID) const;
@@
-96,7
+98,7
@@
class SMESHDS_EXPORT SMESHDS_GroupBase
int myCurIndex;
int myCurID;
SMDS_ElemIteratorPtr myIterator;
int myCurIndex;
int myCurID;
SMDS_ElemIteratorPtr myIterator;
-
SALOMEDS::Color
myColor;
+
Quantity_Color
myColor;
};
#endif
};
#endif