DiscussionsIssue archiveOther usage issues

Archived discussion

Coloring edges of meshes

Other usage issuesFri, 04/03/2009 - 15:222 replies

Browse this forum
QuestionAuthor

Hi, is there a way to assign different colors for edges of meshes? I couldn't find something like MeshVS_ElementalColorPrsBuilder for edges.
There is Drawer->SetColor(MeshVS_DA_EdgeColor, ..) but it applies to all edges.
Thanks

Discussion

2 archived replies

Posts are displayed in their archived order.

01Commenter-1

I haven't played with MeshVS myself, but if it is like using AIS_Shape then you would have to implement it yourself. I am aware it is possible to assign different colors to the vertices, but I do really have my doubts about edges.

02Author

Maybe I should try to draw lines externally using AIS_Line etc. But then what is the fastest way to draw too many lines (each colored differently)?
Thanks