strip->InsertCellPoint(3);
pdFill->SetPoints( _pts );
pdFill->SetStrips( strip );
+
+
+//EED 2017-01-01 Migration VTK7
+#if VTK_MAJOR_VERSION <= 5
_fillPolyMapper->SetInput(pdFill);
+#else
+ _fillPolyMapper->SetInputData(pdFill);
+#endif
+
+
_fillObjectActor->SetMapper(_fillPolyMapper);
_fillPolyMapper->Modified();
///************************* FILL *************************
pdTrianglesInputs->SetPoints( _TrianglesInputsPts );
pdTrianglesInputs->SetStrips( stripTrianglesInputs );
+
+//EED 2017-01-01 Migration VTK7
+#if VTK_MAJOR_VERSION <= 5
_TrianglesInputsPolyMapper->SetInput( pdTrianglesInputs );
+#else
+ _TrianglesInputsPolyMapper->SetInputData( pdTrianglesInputs );
+#endif
+
_TrianglesInputsActor->SetMapper(_TrianglesInputsPolyMapper);
_TrianglesInputsPolyMapper->Modified();
pdTrianglesOutputs->GetCellData()->SetScalars( _cellDataOutputTriangles );
pdTrianglesOutputs->SetPoints( _TrianglesOutputsPts );
pdTrianglesOutputs->SetStrips( stripTrianglesOutputs );
+
+//EED 2017-01-01 Migration VTK7
+#if VTK_MAJOR_VERSION <= 5
_TrianglesOutputsPolyMapper->SetInput( pdTrianglesOutputs );
+#else
+ _TrianglesOutputsPolyMapper->SetInputData( pdTrianglesOutputs );
+#endif
+
_TrianglesOutputsActor->SetMapper(_TrianglesOutputsPolyMapper);
_TrianglesOutputsPolyMapper->Modified();
///************************* Inputs Fill (triangles) *************************
pdFill->SetPoints( _pts );
pdFill->SetStrips( strip );
+//EED 2017-01-01 Migration VTK7
+#if VTK_MAJOR_VERSION <= 5
_fillPolyMapper->SetInput(pdFill);
+#else
+ _fillPolyMapper->SetInputData(pdFill);
+#endif
_fillObjectActor->SetMapper(_fillPolyMapper);
_fillPolyMapper->Modified();
strip->InsertCellPoint( 3 ) ;
pdFill->SetPoints( _pts ) ;
pdFill->SetStrips( strip ) ;
+
+
+//EED 2017-01-01 Migration VTK7
+#if VTK_MAJOR_VERSION <= 5
_fillPolyMapper->SetInput( pdFill ) ;
+#else
+ _fillPolyMapper->SetInputData( pdFill ) ;
+#endif
+
_fillObjectActor->SetMapper( _fillPolyMapper ) ;
_fillPolyMapper->Modified( ) ;
///************************* FILL *************************
pdFill->SetPoints( _pts ) ;
pdFill->SetStrips( strip ) ;
+//EED 2017-01-01 Migration VTK7
+#if VTK_MAJOR_VERSION <= 5
_fillPolyMapper->SetInput( pdFill ) ;
+#else
+ _fillPolyMapper->SetInputData( pdFill ) ;
+#endif
+
_fillObjectActor->SetMapper( _fillPolyMapper ) ;
_fillPolyMapper->Modified( ) ;
aPolygon->GetPointIds());
aPolygonGrid->SetPoints(_pts);
_aPolygonMapper = vtkDataSetMapper::New();
+
+//EED 2017-01-01 Migration VTK7
+#if VTK_MAJOR_VERSION <= 5
_aPolygonMapper->SetInput(aPolygonGrid);
+#else
+ _aPolygonMapper->SetInputData(aPolygonGrid);
+#endif
+
+
_fillObjectActor->SetMapper(_aPolygonMapper);
_fillObjectActor->GetProperty()->SetColor(PORTFILL_NH_R, PORTFILL_NH_G,
PORTFILL_NH_B);