> I would humbly suggest that if you're going to include a knob in knobs.h, and > reveal its presence to the developer community, then you need to include all > the definitions required to utilize it. I, personally, would love to have Qt > included in the DDImage dependencies, and permit us access not only to that, > but to the necessary information to define our own knobs. It's a relative > mystery to me why this isn't currently available.
Because DDImage was originally designed to be a cross-application image support library so embedding elements of a user-interface library within it was deemed undesirable. At the time (~2000-2001) Digital Domain was using both FLTK and Qt - FLTK for Nuke and Qt for other apps which also used DDImage. Now ten years later and outside Digital Domain the case can be made for including the knob's implementations in DDImage so that custom knobs can be created from the base classes. fwiw you should keep in perspective that Nuke is not a new product and has many, many years of legacy code/structure that's being systematically addressed by the Foundry, but you can't re-architect a large application overnight. -jonathan > -----Original Message----- > From: nuke-dev-boun...@support.thefoundry.co.uk > [mailto:nuke-dev-boun...@support.thefoundry.co.uk] On Behalf Of Jonathan > Egstad > Sent: Tuesday, May 31, 2011 10:51 AM > To: Nuke plug-in development discussion > Subject: Re: [Nuke-dev] Histogram_Data? > > None of the knob implementations are in DDImage (though they should be) so > Histogram_Knob's not the only one. > This is the case to avoid having to include Qt in the DDImage dependencies > (and FLTK before Qt.) > > Wouter are you suggesting that all the knobs will be moved to DDImage at some > point? > > -jonathan > > > On May 31, 2011, at 10:15 AM, Wouter Klouwen wrote: > >> On 31/05/2011 17:06, Steve3D wrote: >>> class Histogram_Data; >> >>> So, I think 'ah-ha! I must be missing a .h include.' And I search the >>> entire Includes directory for 'Histogram_Data', and find nothing. I >>> scratch my head.... >> >> You are indeed missing an include. However, this include is in the nuke >> source, not in DDImage, where it probably should be. >> Looking at the way the Histogram_Knob is implemented, you'd have to have an >> interface to the Histogram_Data, so can you please file a bug report with >> support? >> >> -- >> Wouter Klouwen, Software Engineer >> The Foundry, 6th Floor, The Communications Building, >> 48 Leicester Square, London, WC2H 7LT, UK >> T: +442079686828 - F: +442074341550 - thefoundry.co.uk The Foundry >> Visionmongers Ltd - Reg.d in England and Wales No: 4642027 >> _______________________________________________ >> Nuke-dev mailing list >> Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ >> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev > > _______________________________________________ > Nuke-dev mailing list > Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev > (CONFIDENTIALITY NOTICE: The information contained in this email may be > confidential and/or privileged. This email is intended to be reviewed by only > the individual or organization named above. If you are not the intended > recipient, or an authorized representative of the intended recipient, you are > hereby notified that any review, dissemination or copying of this email, or > the information contained herein is strictly prohibited. If you have received > this communication in error, please notify the sender by return email and > delete this email from your system. Thank You.) > > _______________________________________________ > Nuke-dev mailing list > Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev _______________________________________________ Nuke-dev mailing list Nuke-dev@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-dev