if (bbGetInputActive()==true)
{
- polydatamapper->SetInput( bbGetInputIn() );
- vtkactor->GetProperty()->SetRepresentation( bbGetInputRepresentation() );
+//EED 2017-01-01 Migration VTK7
+#if VTK_MAJOR_VERSION <= 5
+ polydatamapper->SetInput( bbGetInputIn() );
+#else
+ polydatamapper->SetInputData( bbGetInputIn() );
+#endif
+
+ vtkactor->GetProperty()->SetRepresentation( bbGetInputRepresentation() );
+
if (bbGetInputRepresentation()==1)
{
vtkactor->GetProperty()->SetAmbient(1);
printf("EED WARNNING! PolyDataToActor::DoProcess which is the default values of Ambient, Diffuse, Specular ? \n");
}
-
vtkactor->GetProperty()->SetLineWidth( bbGetInputLineWidth() );
vtkactor->GetProperty()->SetColor( bbGetInputColour()[0],