#include <vtkPolyDataMapper.h>
#include <vtkPolyData.h>
#include <vtkPassThroughFilter.h>
+#include <VISU_UsedPointsFilter.hxx>
+#include <vtkUnstructuredGrid.h>
+#include <VISU_MergeFilter.hxx>
//----------------------------------------------------------------------------
vtkStandardNewMacro(VISU_VectorsAct);
return aSize;
}
+
+//----------------------------------------------------------------------------
+vtkDataSet*
+VISU_VectorsAct
+::GetValLabelsInput()
+{
+ VISU_VectorsPL* aPL = dynamic_cast<VISU_VectorsPL*>( GetPipeLine() );
+ if ( aPL )
+ {
+ return aPL->GetMergedInput();
+ /*VISU_UsedPointsFilter* aFilter = aPL->GetUsedPointsFilter();
+ vtkSmartPointer< VISU_MergeFilter > aFilter = aPL->myMergeFilter;
+ if ( aFilter )
+ {
+ aFilter->Update();
+ return aFilter->GetOutput();
+ }*/
+ }
+
+ return Superclass::GetValLabelsInput();
+}