Salome HOME
PR: display submeshes and groups
[modules/smesh.git] / src / OBJECT / SMESH_ObjectDef.h
index ab79b9a011290a1677a05abf79cdc18d903ac18d..f136c3714289f4a8a02fc5e354a9fb0b401a8fa8 100644 (file)
@@ -77,7 +77,7 @@ public:
                                           int&      theNodeId1,
                                           int&      theNodeId2 ) const;
 
                                           int&      theNodeId1,
                                           int&      theNodeId2 ) const;
 
-  virtual vtkUnstructuredGrid* GetUnstructuredGrid(); // { return myGrid; }
+  virtual vtkUnstructuredGrid* GetUnstructuredGrid();
   
   virtual vtkIdType         GetNodeObjId( int theVTKID );
   virtual vtkIdType         GetNodeVTKId( int theObjID );
   
   virtual vtkIdType         GetNodeObjId( int theVTKID );
   virtual vtkIdType         GetNodeVTKId( int theObjID );
@@ -86,17 +86,18 @@ public:
   
 protected:
 
   
 protected:
 
-//  void                      createPoints( vtkPoints* );
-  void                      buildPrs();
-//  void                      buildNodePrs();
-//  void                      buildElemPrs();
+  void                      createPoints( vtkPoints* );
+  void                      buildPrs(bool buildGrid = false);
+  void                      buildNodePrs();
+  void                      buildElemPrs();
   
 //private:
 
   
 //private:
 
-//  TMapOfIds                 mySMDS2VTKNodes;
-//  TMapOfIds                 myVTK2SMDSNodes;
-//  TMapOfIds                 mySMDS2VTKElems;
-//  TMapOfIds                 myVTK2SMDSElems;
+  TMapOfIds                 mySMDS2VTKNodes;
+  TMapOfIds                 myVTK2SMDSNodes;
+  TMapOfIds                 mySMDS2VTKElems;
+  TMapOfIds                 myVTK2SMDSElems;
+  bool                      myLocalGrid;
 
   vtkUnstructuredGrid*      myGrid;
 };
 
   vtkUnstructuredGrid*      myGrid;
 };