ENH: Allow virtual func to be called during MRML(ThreeD|Slice)View pimpl init#7325
Conversation
…vation Add protected constructor to ctkVTKRenderView and ctkVTKSliceView for associating a derived pimpl. This is required to have the complete virtual function chain executed when virtual function are called in the pimpl init() function. See commontk/CTK@4888deb...f53820a List of CTK changes: $ git shortlog 4888deb1d..f53820a4e --no-merges Jean-Christophe Fillion-Robin (2): STYLE: Add missing override keyword to ctkVTK(Render|Slice)View classes ENH: Ensure virtual functions can be called from derived ctkVTK view pimpl
pieper
left a comment
There was a problem hiding this comment.
I'm not following closely but if this works for you I'm fine with it.
lassoan
left a comment
There was a problem hiding this comment.
Same here. Looks good overall.
|
This pull request updates CTK in the first commit and update the classes For this reason, later this evening and before our nightly build starts, I will bypass out usual check and move forward with the integration. This can be see the build log2 associated with the
I think we should also look for updates our check with something like this: cc: @jamesobutler Footnotes |


The CTK update adds protected constructor to
ctkVTKRenderViewandctkVTKSliceViewfor associating a derived pimpl.This is required to have the complete virtual function chain executed when virtual function are called in the
qMRMLThreeDViewPrivate::init()orqMRMLSliceViewPrivate::init()function.