I’ve seen some examples using vtkDataSetMapper and others using vtkPolyDataMapper.
(On a closer look to the vtkDataSetMapper implementation, I see that it actually creates a vtkPolyDataMapper and I noticed there is already a check to prevent the input from passing through the geometry filter if it’s a vtkPolyData.)
With that been said, should I use vtkPolyDataMapper directly when the input is a vtkPolyData or can I use vtkDataSetMapper for all cases? What’s the common practice for this?
Context: I’m starting to use VTK and trying to implement an internal abstraction for mapper/actor generation. Using a common mapper could simplify this process.