Porting FreeCAD to VTK 9.0

I’m only the Fedora packager for FreeCAD and amateur C++ programmer, but I am asking if we can get some help porting FreeCAD to VTK 9.0

I think we have it down to just a few problem areas. Please see the thread[1] in the FreeCAD forums for full context but I’ll try to paste the problems here.

#ifdef VTK_CELL_ARRAY_V2
//FIXME: vtk9
#else
  pts[0] = node->getVtkId();
#endif[/code]
#ifdef VTK_CELL_ARRAY_V2
      vtkIdType oldLoc; //FIXME: vtk9
#else
      vtkIdType oldLoc = this->Locations->GetValue(j);
#endif
#ifdef VTK_CELL_ARRAY_V2
//FIXME: vtk9
#else
          pts[i] = localClonedNodeIds[oldpt];
#endif
#ifdef VTK_CELL_ARRAY_V2
//FIXME: vtk9
  this->Links = SMDS_CellLinks::New();
  //this->Links->Allocate(this->GetNumberOfPoints());
  this->Links->Register(this);
  //this->Links->BuildLinks(this, this->Connectivity);
  this->Links->Delete();
#else
  this->Links = SMDS_CellLinks::New();
  this->Links->Allocate(this->GetNumberOfPoints());
  this->Links->Register(this);
  this->Links->BuildLinks(this, this->Connectivity);
  this->Links->Delete();
#endif

Thanks,
Richard

[1] https://forum.freecadweb.org/viewtopic.php?p=438817#p438817