enthought / enthought/mayavi

data_set_clipper broken with VTK6

Open
#475 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.4k
Forks
316
Avg merge
7h 44m
Merged PRs (30d)
5

Description

Hi,

Trying to use the data_set_clipper on a machine with VTK6 (either programmatically or adding the filter through the GUI) leads to errors.
After searching, it seems that in the switch to VTK6 every direct assignments like `value.input = self.inputs[0].outputs[0]` have to go through a function ie. `configure_input_data`.
Fixing this gets ride of errors, but the clipped data is never updated when moving. After a lot of trial/error it works for me to add a `self.inputs[0].data_changed = True` in interactive event handling.

As I'm no real VTK user nor mayavi developper I've no idea what the real fix would be. Since adding the filter through GUI is also broken, I don't think that my code is guilty. Maybe this filter was forgotten at VTK6 support step? But it's a very useful one :)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.