Different within one TopoDS_Compound

Who has an idea how to specify the color of shapes and curves within one TopoDS_Compound ? I am putting several splines and surfaces into one compound and want to specify the individual colour for each of those splines and surfaces.
Thankful for any hint !


Francois Lauzon's picture

There is nothing that do excatly what you want. I would create my own AIS_InteractiveObject to do that. Looking at the source code from AIS_Shape would be a good starting point.

Good Luck,