I think you should :
auto mapper = vtkSmartPointer< vtkRenderingVolume>::New();
others, complier don’t define the type of the mapper.
I think you should :
auto mapper = vtkSmartPointer< vtkRenderingVolume>::New();
others, complier don’t define the type of the mapper.