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();
}
-unsigned long int
+vtkMTimeType
SMESH_DeviceActor
::GetMTime()
{
// << " " << 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());
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; }
}
//! get last modification timeStamp
-unsigned long SMDS_Mesh::GetMTime() const
+vtkMTimeType SMDS_Mesh::GetMTime() const
{
return this->myModifTime;
}
inline void setMyModified() { this->myModified = true; }
void Modified();
- unsigned long GetMTime() const;
+ vtkMTimeType GetMTime() const;
bool isCompacted();
protected:
{
}
-unsigned long SMDS_UnstructuredGrid::GetMTime()
+vtkMTimeType SMDS_UnstructuredGrid::GetMTime()
{
- unsigned long mtime = vtkUnstructuredGrid::GetMTime();
+ vtkMTimeType mtime = vtkUnstructuredGrid::GetMTime();
return mtime;
}
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);