[vtkusers] How to make vtkChartXY non-interactive?

Elvis Stansvik elvis.stansvik at orexplore.com
Tue Jun 13 09:10:50 EDT 2017


I'm using a

   vtkChartXY
   vtkColorTransferControlPointsItem
   vtkColorTransferFunctionItem

trio for editing a vtkColorTransferFunction.

I'm now trying to make it non-editable (I want this for system "built-in"
color functions). I've tried calling SetInteractive(false) on all three of
them. I even tried hiding the control points item, but still I can interact
with the points using the mouse.

How can I make it non-interactive?

I'm using VTK 8.0.0.rc1.

Thanks in advance,
Elvis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20170613/a2aabab0/attachment.html>


More information about the vtkusers mailing list