Salome HOME
PR: SMDS refactoring in progress
[modules/smesh.git] / src / SMDS / SMDS_UnstructuredGrid.hxx
1 /* 
2  * File:   SMDS_UnstructuredGrid.hxx
3  * Author: prascle
4  *
5  * Created on September 16, 2009, 10:28 PM
6  */
7
8 #ifndef _SMDS_UNSTRUCTUREDGRID_HXX
9 #define _SMDS_UNSTRUCTUREDGRID_HXX
10
11 #include <vtkUnstructuredGrid.h>
12 //#include <vtkCellLinks.h>
13
14 //class SMDS_CellLinks: public vtkCellLinks
15 //{
16 //public:
17 //    Link *AdjustSize(vtkIdType sz);
18 //
19 //    //virtual void Delete();
20 //    static SMDS_CellLinks* New();
21 //protected:
22 //    SMDS_CellLinks();
23 //    ~SMDS_CellLinks();
24 //};
25
26 class SMDS_UnstructuredGrid: public vtkUnstructuredGrid
27 {
28 public:
29 //    void BuildLinks(); // initialise un SMDS_CellLinks;
30 //    SMDS_CellLinks* GetCellLinks();
31 //
32 //    vtkIdType GetCellArraySize() { return (this->Connectivity ? this->Connectivity->GetSize() : 0); };
33
34         virtual unsigned long GetMTime();
35         virtual void UpdateInformation();
36
37     //virtual void Delete();
38     static SMDS_UnstructuredGrid* New();
39 protected:
40     SMDS_UnstructuredGrid();
41     ~SMDS_UnstructuredGrid();
42 };
43
44
45 #endif  /* _SMDS_UNSTRUCTUREDGRID_HXX */
46