//NTU: For updating points
lstSourceSphere.push_back(vtksphere);
vtkPolyDataMapper *sphereMapper = vtkPolyDataMapper::New();
+
+//EED 2017-01-01 Migration VTK7
+#if VTK_MAJOR_VERSION <= 5
sphereMapper->SetInput( vtksphere->GetOutput() );
+#else
+ sphereMapper->SetInputData( vtksphere->GetOutput() );
+#endif
+
vtkActor *sphereActor = vtkActor::New();
sphereActor->SetMapper(sphereMapper);
sphereActor->SetOrigin(0, 0, 0);
} // if size
}
//------------------------------------------------------------------------
-void WidgetShowNPoints::WidgetShowNPoints::SetType(int type)
+void WidgetShowNPoints::SetType(int type)
{
mtype=type;
}
//------------------------------------------------------------------------
-int WidgetShowNPoints::WidgetShowNPoints::GetType()
+int WidgetShowNPoints::GetType()
{
return mtype;
}