In Slicer: vtkMRMLMarkupsNode Class Reference, I found out that there is no “vtkMRMLMarkupsRulerNode”, I want to add the effect of “Ruler”(Line with tick marks), how can I achieve it?

As far as I know there are no tick marks on the Markups lines like there were on Annotation rulers. It would be a nice feature for both straight lines and curves to have configurable tick marks at regular intervals in world space.

@jumbojing you could add a feature request to the bugtracker about adding tickmarks to markups line. If the issue gets enough upvotes (:+1:) then we’ll implement it. If it is urgent for you then you can try to implement it yourself or find a student or software developer with C++ and VTK programming experience who contribute this enhancement.