Salome HOME
Merge imn/IMACS branch into imn/IMACS_8_3_0
[modules/smesh.git] / src / SMESH_SWIG_WITHIHM / libSMESH_Swig.h
index 654c3e699c200ba8e0fdec51d6d9d1c0f6dafa8b..931614c1ef0082a5216bb505475e78dfafc3e329 100644 (file)
@@ -60,6 +60,37 @@ typedef enum
     Ball       = BallSelection
   } SelectionMode;
 
+typedef struct
+{
+  double r, g, b;
+  int delta;
+} surfaceColorStruct;
+
+typedef struct
+{
+  double r, g, b;
+  int delta;
+} volumeColorStruct;
+
+typedef struct
+{
+  double r, g, b;
+} edgeColorStruct;
+
+typedef struct
+{
+  double r, g, b;
+} nodeColorStruct;
+
+struct actorAspect
+{
+  surfaceColorStruct surfaceColor;
+  volumeColorStruct volumeColor;
+  edgeColorStruct edgeColor;
+  nodeColorStruct nodeColor;
+  double opacity;
+};
+
 class SMESH_SWIG_EXPORT SMESH_Swig
 {
 public:
@@ -98,6 +129,9 @@ public:
    */
   void                       SetMeshIcon( const char*, const bool, const bool );
 
+  actorAspect                GetActorAspect(const char* Mesh_Entry, int viewId = 0 );
+  void                       SetActorAspect( const actorAspect& actorPres, const char* Mesh_Entry, int viewId = 0  );
+
   void setSelectionMode( SelectionMode selectionMode );
   std::vector<int> getSelected( const char* Mesh_Entry );
   std::vector<std::pair<int, int> > getSelectedEdgeOfCell( const char* Mesh_Entry );