Hi
I am trying to move some vertex selection code into the C++ API , code is based
on some python from snap3d
the idea is to get access to the GeoSelect Object attach to the current active
Viewer :
python :
geoSelectKnob = nuke.activeViewer().node()['geo']
sel = geoSelectKnob.getSelection()
objs = geoSelectKnob.getGeometry()
in C++ :
GeoSelect_Knob * geoSelectKnob = { the code I am after :) }
GeometryList * objs = geoSelectKnob ->getGeometry();
const GeoSelection selections;
geoSelectKnob ->getSelection(selections);
I am not quite sure how to get Access to the activeViewer in C++ python tells
me its a ViewerWindow object witch I guess is actually a Viewer_Window in c++ ?
Any idea ? maybe some place where I can look for more info ?
Thanks
Damien FAGNOU
MPC
Stereographer
E [email protected]
W www.moving-picture.com
_______________________________________________
Nuke-dev mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev