[vtkusers] Problem with dynamic colormap

ghy ghy at tellyes.com
Wed Mar 19 18:48:44 EDT 2014


I have read your snippet code. 
I just wander why you using a Timer to control your dynamic color mapping
instead of several interact events such as LeftButtonPressEvent,
LeftButtonReleaseEvent, especial MouseMoveEvent. 
I suggest that you should better enable color mapping refresh when a
LeftButtonPressEvent happens, and turn off the color mapping refresh when a 
LeftButtonReleaseEvent happens. Your pipeline should using
vtkElevationFilter to map points positions to scalar dataset every time when
the EentID = MouseMoveEvent occurs. 

Hope it will help.

Susan.



--
View this message in context: http://vtk.1045678.n5.nabble.com/Problem-with-dynamic-colormap-tp5726283p5726411.html
Sent from the VTK - Users mailing list archive at Nabble.com.


More information about the vtkusers mailing list