vtkRulerSourceRepresentation

How do I use add ruler in PV in c++ code?

Hello @lyz

have looked at the Ruler Source in ParaView?
https://docs.paraview.org/en/latest/Tutorials/ClassroomTutorials/beginningSourcesAndFilters.html?highlight=ruler#ruler-source

thank you