#ifndef _INCLUDE_DRIVERMED_FAMILY
#define _INCLUDE_DRIVERMED_FAMILY
+#include "SMESH_DriverMED.hxx"
+
#include "SMDS_Mesh.hxx"
#include "SMESHDS_GroupBase.hxx"
#include "SMESHDS_SubMesh.hxx"
#include <boost/shared_ptr.hpp>
#include <set>
+#include "SALOMEconfig.h"
+#include CORBA_SERVER_HEADER(SALOMEDS)
+#include CORBA_SERVER_HEADER(SALOMEDS_Attributes)
+
#define REST_NODES_FAMILY 1
#define REST_EDGES_FAMILY -1
#define REST_FACES_FAMILY -2
typedef std::map<int,SMESHDS_SubMesh*> SMESHDS_SubMeshPtrMap;
typedef std::list<SMESHDS_GroupBase*> SMESHDS_GroupBasePtrList;
typedef std::set<const SMDS_MeshElement*> ElementsSet;
+typedef std::map<int,SALOMEDS::Color> ColorMap;
-class DriverMED_Family
+class MESHDRIVERMED_EXPORT DriverMED_Family
{
public:
private:
//! Initialize the tool by SMESHDS_GroupBase
- void Init (SMESHDS_GroupBase* group);
+ void Init (SMESHDS_GroupBase* theGroup, const ColorMap& theColorMap);
//! Split <theSubMesh> on some parts (families) on the basis of the elements type.
static