From: apo Date: Thu, 1 Sep 2005 05:30:41 +0000 (+0000) Subject: To introduce ID's mapping (SALOME_Actor::GetInput method redefined) X-Git-Tag: BR-D5-38-2003_D2005-12-09~53 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=318e1f691e4cc9743c3c7091408db0acd582ddbd;p=modules%2Fvisu.git To introduce ID's mapping (SALOME_Actor::GetInput method redefined) --- diff --git a/src/OBJECT/VISU_Actor.cxx b/src/OBJECT/VISU_Actor.cxx index 8a80da34..338da631 100644 --- a/src/OBJECT/VISU_Actor.cxx +++ b/src/OBJECT/VISU_Actor.cxx @@ -212,6 +212,14 @@ void VISU_Actor::ShallowCopy(vtkProp *prop){ SALOME_Actor::ShallowCopy(prop); } +//---------------------------------------------------------------------------- +vtkDataSet* +VISU_Actor +::GetInput() +{ + return myPipeLine->GetInput(); +} + //---------------------------------------------------------------------------- vtkIdType VISU_Actor diff --git a/src/OBJECT/VISU_Actor.h b/src/OBJECT/VISU_Actor.h index 22429870..d6523570 100644 --- a/src/OBJECT/VISU_Actor.h +++ b/src/OBJECT/VISU_Actor.h @@ -88,6 +88,10 @@ class VTKOCC_EXPORT VISU_Actor : public SALOME_Actor { virtual void SetLineWidth(float theLineWidth); virtual float GetLineWidth(); + virtual + vtkDataSet* + GetInput(); + virtual vtkIdType GetNodeObjId(vtkIdType theID);