Dynamically change and redraw shape...

I create complex structure, consist of primitives: MakeCone.Shape, MakeCylinder.Shape etc, I just create this shapes and then change shape location, and Display it. (I think it could be better to use Solids and Compound Solid for this task, isn't it? But can't understand, how create solid from primitive shape :( ...)
And then the problem: when user change property (for example radius), shape must be changed dynamically... How can I achieve this?...

timoor's picture

Have you considered the the Transformation sample, I think it's in the OCAF manual. The cxx implementation is included. I don't know that it'll do what you want, but thought it worth bringing to your attention. My cut and paste of it compiles and builds ok.
Tm