For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Attributes to TopoDS_Shape

Zoltan Gaal's picture

I'm not using OCAF, since i have my own visualization engine. But i'd like to attach attributes to faces, edges etc. I've seen that it's possible to use stl::map or similar datastruct to solve the problem. I'd prefer a more general method like derivation from TopoDS_Face, TopoDS_Wire, etc. Unfortunately i cannot derive because in a Copy constructor the myTShape memeber of TopoDS_Shape cannot be set.

Is there any other way to solve the problem?

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.