Control Points on a Bézier Curve
I'm new to openCASCADE, I have been making a bit of research for the last past weeks to explore the possibilities of this wonderfull open source Kernel. I've also been diving trhough the forums to see if my issue was previously commented and although, many post contain the same theme, I haven't come across any which actually helped me.
Unfortunatelly I have also just started learning c++ on top of my previous c acknowledge, which difficults the process.
Well, here's my issue:
I would like to generate 3d objects based on Bézier's curves which control points could be modified by the user by dragging them on the GUI.
The underliying idea is quite simple, with a Béier curve that's contained in a 2d plane and which control points are susceptible of modification, the program must generate a whole 3d object by revolving this curve contained on that very first plane arround the Z axis.
So my questions are:
-Is this feasable on CASCADE? (Although, I actually belive that the answer is yes, I want to be sure)
-Which would be the easiest way of approaching this idea?
-Is it there any already writen code on Open CASCADE, or in it's 3rdparty add-ons, that do exactly this?
-Is the Bézier curve idea the best way of working with this issue? Would it be better to go for a NURBS oriented implementation? Would it be even easier with a Bspline?
Hopefuly, I haven't overextended much myself, and someone is able to contribute to my case.
Thanks for the long reading, Best Regards