From 318e1f691e4cc9743c3c7091408db0acd582ddbd Mon Sep 17 00:00:00 2001 From: apo Date: Thu, 1 Sep 2005 05:30:41 +0000 Subject: [PATCH] To introduce ID's mapping (SALOME_Actor::GetInput method redefined) --- src/OBJECT/VISU_Actor.cxx | 8 ++++++++ src/OBJECT/VISU_Actor.h | 4 ++++ 2 files changed, 12 insertions(+) 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); -- 2.39.2