mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 18:30:35 +05:00
fix bug with Smesh Create Group select
This commit is contained in:
parent
79fe25c5be
commit
442b3d1c8b
@ -1453,27 +1453,27 @@ void SMESH_ActorDef::UnShrink()
|
||||
}
|
||||
|
||||
|
||||
int SMESH_ActorDef::GetNodeObjId(int theVtkID)
|
||||
vtkIdType SMESH_ActorDef::GetNodeObjId(vtkIdType theVtkID)
|
||||
{
|
||||
return myPickableActor->GetNodeObjId(theVtkID);
|
||||
}
|
||||
|
||||
double* SMESH_ActorDef::GetNodeCoord(int theObjID)
|
||||
double* SMESH_ActorDef::GetNodeCoord(vtkIdType theObjID)
|
||||
{
|
||||
return myPickableActor->GetNodeCoord(theObjID);
|
||||
}
|
||||
|
||||
int SMESH_ActorDef::GetNodeVtkId(int theObjID)
|
||||
vtkIdType SMESH_ActorDef::GetNodeVtkId(vtkIdType theObjID)
|
||||
{
|
||||
return myPickableActor->GetNodeVtkId(theObjID);
|
||||
}
|
||||
|
||||
int SMESH_ActorDef::GetElemObjId(int theVtkID)
|
||||
vtkIdType SMESH_ActorDef::GetElemObjId(vtkIdType theVtkID)
|
||||
{
|
||||
return myPickableActor->GetElemObjId(theVtkID);
|
||||
}
|
||||
|
||||
vtkCell* SMESH_ActorDef::GetElemCell(int theObjID)
|
||||
vtkCell* SMESH_ActorDef::GetElemCell(vtkIdType theObjID)
|
||||
{
|
||||
return myPickableActor->GetElemCell(theObjID);
|
||||
}
|
||||
|
@ -144,12 +144,12 @@ class SMESH_ActorDef : public SMESH_Actor
|
||||
virtual void SetBallScale(double size);
|
||||
virtual double GetBallScale();
|
||||
|
||||
virtual int GetNodeObjId(int theVtkID);
|
||||
virtual double* GetNodeCoord(int theObjID);
|
||||
virtual int GetNodeVtkId(int theObjID);
|
||||
virtual vtkIdType GetNodeObjId(vtkIdType theVtkID);
|
||||
virtual double* GetNodeCoord(vtkIdType theObjID);
|
||||
virtual vtkIdType GetNodeVtkId(vtkIdType theObjID);
|
||||
|
||||
virtual int GetElemObjId(int theVtkID);
|
||||
virtual vtkCell* GetElemCell(int theObjID);
|
||||
virtual vtkIdType GetElemObjId(vtkIdType theVtkID);
|
||||
virtual vtkCell* GetElemCell(vtkIdType theObjID);
|
||||
|
||||
virtual int GetObjDimension( const int theObjId );
|
||||
|
||||
|
@ -839,9 +839,9 @@ SMESH_DeviceActor
|
||||
}
|
||||
|
||||
|
||||
int
|
||||
vtkIdType
|
||||
SMESH_DeviceActor
|
||||
::GetNodeObjId(int theVtkID)
|
||||
::GetNodeObjId(vtkIdType theVtkID)
|
||||
{
|
||||
vtkIdType anID = theVtkID;
|
||||
|
||||
@ -855,7 +855,7 @@ SMESH_DeviceActor
|
||||
|
||||
double*
|
||||
SMESH_DeviceActor
|
||||
::GetNodeCoord(int theObjID)
|
||||
::GetNodeCoord(vtkIdType theObjID)
|
||||
{
|
||||
vtkDataSet* aDataSet = myMergeFilter->GetOutput();
|
||||
vtkIdType anID = myVisualObj->GetNodeVTKId(theObjID);
|
||||
@ -864,16 +864,16 @@ SMESH_DeviceActor
|
||||
return aCoord;
|
||||
}
|
||||
|
||||
int
|
||||
vtkIdType
|
||||
SMESH_DeviceActor
|
||||
::GetNodeVtkId(int theObjID)
|
||||
::GetNodeVtkId(vtkIdType theObjID)
|
||||
{
|
||||
return myVisualObj->GetNodeVTKId(theObjID);
|
||||
}
|
||||
|
||||
int
|
||||
vtkIdType
|
||||
SMESH_DeviceActor
|
||||
::GetElemObjId(int theVtkID)
|
||||
::GetElemObjId(vtkIdType theVtkID)
|
||||
{
|
||||
vtkIdType anId = myGeomFilter->GetElemObjId(theVtkID);
|
||||
if(anId < 0)
|
||||
@ -897,7 +897,7 @@ SMESH_DeviceActor
|
||||
|
||||
vtkCell*
|
||||
SMESH_DeviceActor
|
||||
::GetElemCell(int theObjID)
|
||||
::GetElemCell(vtkIdType theObjID)
|
||||
{
|
||||
vtkDataSet* aDataSet = myVisualObj->GetUnstructuredGrid();
|
||||
vtkIdType aGridID = myVisualObj->GetElemVTKId(theObjID);
|
||||
|
@ -68,12 +68,12 @@ class SMESHOBJECT_EXPORT SMESH_DeviceActor: public vtkLODActor{
|
||||
void SetStoreGemetryMapping(bool theStoreMapping);
|
||||
void SetStoreIDMapping(bool theStoreMapping);
|
||||
|
||||
virtual int GetNodeObjId(int theVtkID);
|
||||
virtual double* GetNodeCoord(int theObjID);
|
||||
virtual int GetNodeVtkId(int theObjID);
|
||||
virtual vtkIdType GetNodeObjId(vtkIdType theVtkID);
|
||||
virtual double* GetNodeCoord(vtkIdType theObjID);
|
||||
virtual vtkIdType GetNodeVtkId(vtkIdType theObjID);
|
||||
|
||||
virtual int GetElemObjId(int theVtkID);
|
||||
virtual vtkCell* GetElemCell(int theObjID);
|
||||
virtual vtkIdType GetElemObjId(vtkIdType theVtkID);
|
||||
virtual vtkCell* GetElemCell(vtkIdType theObjID);
|
||||
|
||||
virtual void SetTransform(VTKViewer_Transform* theTransform);
|
||||
virtual vtkMTimeType GetMTime();
|
||||
|
@ -141,7 +141,7 @@ namespace SMESH
|
||||
|
||||
TPythonDump&
|
||||
TPythonDump::
|
||||
operator<<(SMESH::smIdType theArg){
|
||||
operator<<(long long theArg){
|
||||
myStream<<theArg;
|
||||
return *this;
|
||||
}
|
||||
|
@ -135,7 +135,7 @@ namespace SMESH
|
||||
operator<<(int theArg);
|
||||
|
||||
TPythonDump&
|
||||
operator<<(SMESH::smIdType theArg);
|
||||
operator<<(long long theArg);
|
||||
|
||||
TPythonDump&
|
||||
operator<<(double theArg);
|
||||
|
Loading…
Reference in New Issue
Block a user