mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 17:30:35 +05:00
Windows compatibility.
This commit is contained in:
parent
164f564028
commit
9c03aded93
@ -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();
|
||||
}
|
||||
|
@ -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());
|
||||
|
@ -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; }
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -750,7 +750,7 @@ public:
|
||||
inline void setMyModified() { this->myModified = true; }
|
||||
|
||||
void Modified();
|
||||
unsigned long GetMTime() const;
|
||||
vtkMTimeType GetMTime() const;
|
||||
bool isCompacted();
|
||||
|
||||
protected:
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user