]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
To introduce ID's mapping (SALOME_Actor::GetInput method redefined)
authorapo <apo@opencascade.com>
Thu, 1 Sep 2005 05:30:41 +0000 (05:30 +0000)
committerapo <apo@opencascade.com>
Thu, 1 Sep 2005 05:30:41 +0000 (05:30 +0000)
src/OBJECT/VISU_Actor.cxx
src/OBJECT/VISU_Actor.h

index 8a80da342c3944668ac7bf079e8b9a0834af1c8f..338da63168975a0dc9b8aeaf7854d9067e8bc07f 100644 (file)
@@ -212,6 +212,14 @@ void VISU_Actor::ShallowCopy(vtkProp *prop){
   SALOME_Actor::ShallowCopy(prop);
 }
 
+//----------------------------------------------------------------------------
+vtkDataSet* 
+VISU_Actor
+::GetInput()
+{
+  return myPipeLine->GetInput();
+}
+
 //----------------------------------------------------------------------------
 vtkIdType
 VISU_Actor
index 22429870412f6337a94e2c126bfcc3394aa0eb92..d6523570a89434a62173eb00c3edb5dbeb6d1c46 100644 (file)
@@ -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);