From: apo Date: Fri, 2 Sep 2005 07:35:14 +0000 (+0000) Subject: To unify ID's mapping as for TimeStamp as for Gauss Points X-Git-Tag: BR-D5-38-2003_D2005-12-09~39 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=6d3f4868afc1696b8c132121d7ccb08e5fc422fb;p=modules%2Fvisu.git To unify ID's mapping as for TimeStamp as for Gauss Points (remve unnecessary methods) --- diff --git a/src/CONVERTOR/VISU_Convertor_impl.cxx b/src/CONVERTOR/VISU_Convertor_impl.cxx index fb4058ae..14cbfc23 100644 --- a/src/CONVERTOR/VISU_Convertor_impl.cxx +++ b/src/CONVERTOR/VISU_Convertor_impl.cxx @@ -389,14 +389,6 @@ namespace VISU //--------------------------------------------------------------- - float* - TMeshOnEntityImpl - ::GetNodeCoord(vtkIdType theObjID) - { - vtkIdType aVTKID = GetNodeVTKID(theObjID); - return GetFilter()->GetOutput()->GetPoint(aVTKID); - } - vtkIdType TMeshOnEntityImpl ::GetNodeVTKID(vtkIdType theID) const @@ -411,14 +403,6 @@ namespace VISU return myNamedPointCoords->GetObjID(theID); } - vtkCell* - TMeshOnEntityImpl - ::GetElemCell(int theObjID) - { - vtkIdType aVtkID = GetElemVTKID(theObjID); - return GetFilter()->GetOutput()->GetCell(aVtkID); - } - vtkIdType TMeshOnEntityImpl ::GetElemVTKID(vtkIdType theID) const @@ -446,14 +430,6 @@ namespace VISU //--------------------------------------------------------------- - vtkCell* - TFamilyImpl - ::GetElemCell(vtkIdType theObjID) - { - vtkIdType aVtkID = GetElemVTKID(theObjID); - return GetSource()->GetCell(aVtkID); - } - vtkIdType TFamilyImpl ::GetElemVTKID(vtkIdType theID) const @@ -489,14 +465,6 @@ namespace VISU return myNamedPointCoords->GetVTKID(theID); } - float* - TFamilyImpl - ::GetNodeCoord(vtkIdType theObjID) - { - vtkIdType aVTKID = GetNodeVTKID(theObjID); - return GetSource()->GetPoint(aVTKID); - } - //--------------------------------------------------------------- TNbASizeCells @@ -513,14 +481,6 @@ namespace VISU return make_pair(aNbCells,aCellsSize); } - vtkCell* - TGroupImpl - ::GetElemCell(vtkIdType theObjID) - { - vtkIdType aVtkID = GetElemVTKID(theObjID); - return GetFilter()->GetOutput()->GetCell(aVtkID); - } - vtkIdType TGroupImpl ::GetElemVTKID(vtkIdType theID) const @@ -560,14 +520,6 @@ namespace VISU return myNamedPointCoords->GetVTKID(theID); } - float* - TGroupImpl - ::GetNodeCoord(vtkIdType theObjID) - { - vtkIdType aVTKID = GetNodeVTKID(theObjID); - return GetFilter()->GetOutput()->GetPoint(aVTKID); - } - //--------------------------------------------------------------- void diff --git a/src/CONVERTOR/VISU_Convertor_impl.hxx b/src/CONVERTOR/VISU_Convertor_impl.hxx index dc300b42..64b76f08 100644 --- a/src/CONVERTOR/VISU_Convertor_impl.hxx +++ b/src/CONVERTOR/VISU_Convertor_impl.hxx @@ -309,10 +309,6 @@ namespace VISU struct TMeshOnEntityImpl: virtual TMeshOnEntity, virtual TAppendFilter, virtual TSizeCounter { - virtual - float* - GetNodeCoord(vtkIdType theObjID); - virtual vtkIdType GetNodeVTKID(vtkIdType theID) const; @@ -321,10 +317,6 @@ namespace VISU vtkIdType GetNodeObjID(vtkIdType theID) const; - virtual - vtkCell* - GetElemCell(vtkIdType theID); - virtual vtkIdType GetElemVTKID(vtkIdType theID) const; @@ -354,14 +346,6 @@ namespace VISU vtkIdType GetNodeVTKID(vtkIdType theID) const ; - virtual - float* - GetNodeCoord(vtkIdType theObjID) ; - - virtual - vtkCell* - GetElemCell(vtkIdType theObjID); - virtual vtkIdType GetElemVTKID(vtkIdType theID) const; @@ -395,10 +379,6 @@ namespace VISU TNbASizeCells GetNbASizeCells() const; - virtual - vtkCell* - GetElemCell(vtkIdType theObjID); - virtual vtkIdType GetElemVTKID(vtkIdType theID) const; @@ -415,17 +395,6 @@ namespace VISU vtkIdType GetNodeVTKID(vtkIdType theID) const; - virtual - float* - GetNodeCoord(vtkIdType theObjID); - - virtual - TVTKOutput* - GetVTKOutput() - { - return TAppendFilter::GetVTKOutput(); - } - TID2ID myElemObj2VTKID; TFamilyArr myFamilyArr; PNamedPointCoords myNamedPointCoords;