]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Windows compatibility.
authorana <ana@opencascade.com>
Thu, 24 Nov 2016 11:29:42 +0000 (14:29 +0300)
committerana <ana@opencascade.com>
Thu, 24 Nov 2016 11:29:42 +0000 (14:29 +0300)
src/OBJECT/SMESH_Actor.cxx
src/OBJECT/SMESH_DeviceActor.cxx
src/OBJECT/SMESH_DeviceActor.h
src/SMDS/SMDS_Mesh.cxx
src/SMDS/SMDS_Mesh.hxx
src/SMDS/SMDS_UnstructuredGrid.cxx
src/SMDS/SMDS_UnstructuredGrid.hxx

index d33d2b181ad0ff1f8947a9c02c76e15cf29224ac..5c2e918ab00908321c1b5a94d495cea394842f48 100644 (file)
@@ -1940,9 +1940,9 @@ int SMESH_ActorDef::RenderTranslucentGeometry(vtkViewport *vp)
 
 void SMESH_ActorDef::Render(vtkRenderer *ren)
 {
-  unsigned long aTime = myTimeStamp->GetMTime();
-  unsigned long anObjTime = myVisualObj->GetUnstructuredGrid()->GetMTime();
-  unsigned long aClippingTime = myImplicitBoolean->GetMTime();
+  vtkMTimeType aTime = myTimeStamp->GetMTime();
+  vtkMTimeType anObjTime = myVisualObj->GetUnstructuredGrid()->GetMTime();
+  vtkMTimeType aClippingTime = myImplicitBoolean->GetMTime();
   if(anObjTime > aTime || aClippingTime > aTime)
     Update();
 }
index f6db97d25e162aec96042df4255cdb7114ff7d03..2f6ccd06f0044e7a26e03d7b5a87c80db50f26f9 100644 (file)
@@ -615,7 +615,7 @@ SMESH_DeviceActor
 
 
 
-unsigned long int
+vtkMTimeType
 SMESH_DeviceActor
 ::GetMTime()
 {
@@ -640,7 +640,7 @@ SMESH_DeviceActor
   //      << " " << myTransformFilter->GetMTime()
   //      << " " << myFaceOrientationFilter->GetMTime() << endl;
 
-  unsigned long mTime = this->Superclass::GetMTime();
+  vtkMTimeType mTime = this->Superclass::GetMTime();
   mTime = max(mTime,myExtractGeometry->GetMTime());
   mTime = max(mTime,myExtractUnstructuredGrid->GetMTime());
   mTime = max(mTime,myMergeFilter->GetMTime());
index b9e7496081003182b1379b3716eb4900190ab2e2..1b8ceb48ebe216b8bca4876a5c0628dd8e6fae6c 100644 (file)
@@ -75,7 +75,7 @@ class SMESHOBJECT_EXPORT SMESH_DeviceActor: public vtkLODActor{
   virtual vtkCell* GetElemCell(int theObjID);
 
   virtual void SetTransform(VTKViewer_Transform* theTransform); 
-  virtual unsigned long int GetMTime();
+  virtual vtkMTimeType GetMTime();
 
   virtual void SetFacesOriented(bool theIsFacesOriented);
   virtual bool GetFacesOriented() { return myIsFacesOriented; }
index 74148811fa0e8194e50a0663830cd13d60060a54..d70ff4bcdf59aebdf0e0fbcaf26a83f0033fae89 100644 (file)
@@ -4708,7 +4708,7 @@ void SMDS_Mesh::Modified()
 }
 
 //! get last modification timeStamp
-unsigned long SMDS_Mesh::GetMTime() const
+vtkMTimeType SMDS_Mesh::GetMTime() const
 {
   return this->myModifTime;
 }
index 1d6b2cf11ab402faa9a3a60ed1a9620eaa1293d2..459befaa9d8eaf087bb99552db9e3a603f031d6e 100644 (file)
@@ -750,7 +750,7 @@ public:
   inline void setMyModified() { this->myModified = true; }
 
   void Modified();
-  unsigned long GetMTime() const;
+  vtkMTimeType GetMTime() const;
   bool isCompacted();
 
 protected:
index d37eec1397e1c92cd7b93bcd8c8a05b633638e9d..bf9df36cffc1c1c80eb5fa3b3fde23e680f301a0 100644 (file)
@@ -125,9 +125,9 @@ SMDS_UnstructuredGrid::~SMDS_UnstructuredGrid()
 {
 }
 
-unsigned long SMDS_UnstructuredGrid::GetMTime()
+vtkMTimeType SMDS_UnstructuredGrid::GetMTime()
 {
-  unsigned long mtime = vtkUnstructuredGrid::GetMTime();
+  vtkMTimeType mtime = vtkUnstructuredGrid::GetMTime();
   return mtime;
 }
 
index 67dada6c9552e03512dc09c74675f19bdc855017..7750a4b8107abd4ee6895358d40cdd94180fc618 100644 (file)
@@ -69,7 +69,7 @@ public:
                    int               newNodeSize,
                    std::vector<int>& idCellsOldToNew,
                    int               newCellSize);
-  virtual unsigned long GetMTime();
+  virtual vtkMTimeType GetMTime();
   virtual vtkPoints *GetPoints();
 
   int InsertNextLinkedCell(int type, int npts, vtkIdType *pts);