I’m rewrite the C++ 's project , C++ using vtkStripper class show object’s section,but I can’t find the class in vtk.js
You will have to re-implement in JS if you want to use it with vtk.js.
Just be aware that vtk.js focus is mostly the rendering end of a vtk pipeline. All the filtering part is mostly missing even if the pipeline infrastructure exists in vtk.js. So converting your C++ app into JS might not be as easy as you may think.
To some extent, if your code is already in C++, it might be easier to convert it directly to web assembly directly. You can find some examples here on how to do it.
Thinks, great honor to have your answer.