cleanup by changing from isA vtkMaterialLibrary to hasA
The PV level class no longer changes its ancestry dependent on cmake config option of use or don't use OSPRay. Instead it keeps an internal reference and delegates to that. Other than some long cast lines, this feels cleaner.
Showing with 171 additions and 34 deletions
ParaViewCore/ClientServerCore/Rendering/vtkPVOSPRayMaterialLibrary.cxx → ParaViewCore/ClientServerCore/Rendering/vtkPVMaterialLibrary.cxx
ParaViewCore/ClientServerCore/Rendering/vtkPVOSPRayMaterialLibrary.h → ParaViewCore/ClientServerCore/Rendering/vtkPVMaterialLibrary.h