[vtkusers] vtkCallbackCommand in ActiveViz
Dieter Menne
dieter.menne at menne-biomed.de
Tue Jun 26 02:51:53 EDT 2012
You wrote:
>>I'm a bit confused because inheritance from
vtkInteractorStyleRubberBandPick is working more or less.
"less" : the overriden OnLeftButtonUp is not called because this is a static
class, so you replaced it by InteractorStyle_LeftButtonReleaseEvt, and
needed the IsInRubberbandMode flag in addition. SetPoints works, because it
is unique to the derived class.
Good workaround, but I feel this could end up in quite clumsy code (not that
I know better).
Dieter
--
View this message in context: http://vtk.1045678.n5.nabble.com/vtkCallbackCommand-in-ActiveViz-tp5714143p5714215.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list