]> SALOME platform Git repositories - modules/visu.git/commitdiff
Salome HOME
1. We need not call the Superclass::DoShallowCopy(thePipeLine, theIsCopyInput) in...
authorapo <apo@opencascade.com>
Mon, 15 Jan 2007 09:56:45 +0000 (09:56 +0000)
committerapo <apo@opencascade.com>
Mon, 15 Jan 2007 09:56:45 +0000 (09:56 +0000)
2. It is impossible retrive UnstructuredGrid from PassFilter if it initlized with PolyData

src/PIPELINE/VISU_GaussPointsPL.cxx

index a694e12205754d57672f0eac151a3fd9ab8d19b9..104fc3336cfd9b17b1d0c3dc35bfce7317922a9f 100644 (file)
@@ -158,6 +158,8 @@ VISU_GaussPointsPL
 ::DoShallowCopy(VISU_PipeLine *thePipeLine,
                bool theIsCopyInput)
 {
+  Superclass::DoShallowCopy(thePipeLine, theIsCopyInput);
+
   if(VISU_GaussPointsPL *aPipeLine = dynamic_cast<VISU_GaussPointsPL*>(thePipeLine)){
     SetPrimitiveType(aPipeLine->GetPrimitiveType());
     SetBicolor(aPipeLine->GetBicolor());
@@ -179,8 +181,6 @@ VISU_GaussPointsPL
 
     CopyGlyph( aPipeLine->myGlyph, this->myGlyph );
   }
-
-  Superclass::DoShallowCopy(thePipeLine, theIsCopyInput);
 }
 
 
@@ -353,7 +353,7 @@ VISU_GaussPointsPL
     return;
 
   if(theIsDeformed){
-    myWarpVector->SetInput( myPassFilter[0]->GetUnstructuredGridOutput() );
+    myWarpVector->SetInput( myPassFilter[0]->GetPolyDataOutput() );
     myPassFilter[1]->SetInput(myWarpVector->GetOutput());
   }else
     myPassFilter[1]->SetInput(myPassFilter[0]->GetOutput());