I am tracking some line nodes of type `vtkMRMLMarkupsLineNode` in a class called Plan for specific plan created by the user. How can I add those lines to the qMRMLSubjectHierarchyTreeView that I created in my custom widget?
if I set nodeType = [‘vtkMRMLMarkupsLineNode’] it correctly shows the lines only but it also shows the folder. How can I get rid of the folders if I can’t add a node to the tree view?
One last thing, How can I remove a specific node from the tree view but not from the scene?
Any help will be appreciated and thanks for your precious time.