[vtkusers] Move STL model and colormap it
ghy
ghy at tellyes.com
Thu Mar 13 20:53:16 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/Move-STL-model-and-colormap-it-tp5726112p5726311.html
Sent from the VTK - Users mailing list archive at Nabble.com.
More information about the vtkusers
mailing list