Can the OrientationMarkerType be customized?
我想用椎体代替human, 我该怎么做呢?
I want to replace the OrientationMarkerTypehuman with a vertebral body, how can I do that?
Can the OrientationMarkerType be customized?
我想用椎体代替human, 我该怎么做呢?
I want to replace the OrientationMarkerTypehuman with a vertebral body, how can I do that?
Yes, sure, you can use any model as orientation marker. See for example how it is done in SlicerHeart:
太好了, 可是,老师,我做的model导出后,再次导入就变成了黄色,怎么做带不同的颜色的vtp模型呢?就像这样:
Great, but, teacher, after the model I made is exported, it turns yellow when I import it again. How can I make a vtp model with different colors? Like this:
You can use VTK filters for this: add an RGB color vector to each model node (using vtkArrayCalculator) and then merge them into a single polydata (using vtkAppendPolyData).
这个…太难了吧, 有现成的例子吗?
This… is too difficult, is there a ready-made example?