View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0009958 | ParaView | Bug | public | 2009-11-23 17:04 | 2016-08-12 09:57 | ||||
Reporter | Ken Moreland | ||||||||
Assigned To | Yumin Yuan | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0009958: Clip filter not updating when ClipType changed in Python | ||||||||
Description | When creating and editing a clip filter in Python, the filter does not update properly after the ClipType is changed. To replicate, enter the following script in the Python shell. wavelet = Wavelet() clip = Clip() clip.InsideOut = 1 clip.ClipType = "Box" clip.ClipType.Scale = [0.5,0.5,0.5] Show() Render() At this point the filters should all be executed and updated. However, the output of the clip filter is empty. | ||||||||
Tags | No tags attached. | ||||||||
Project | Sandia | ||||||||
Topic Name | |||||||||
Type | incorrect functionality | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0026271) Utkarsh Ayachit (administrator) 2011-04-27 16:27 |
Seems to work now. |
(0026415) Ken Moreland (manager) 2011-05-02 21:39 |
I just pulled the latest on Mac and still have the same problem. |
(0030739) Yumin Yuan (developer) 2013-05-09 15:41 |
Ok, I figured out the problem. By default the clip box's bounds is set to (0,1,0,1,01), which you may notice after clip.ClipType = "Box", and "clip.ClipType.Scale = [0.5,0.5,0.5]" will make the bounds become (0,0.5,0,0.5,0, 0.5), therefore the output of clip is empty as expected, because it only considers point (0,0,0) is inside. If you add "clip.Crinkleclip = 1", you can see some cells. If you do "clip.ClipType.Bounds = [-5.0, 5.0, -5.0, 5.0, -5.0, 5.0]", instead of "clip.ClipType.Scale = [0.5,0.5,0.5]", the output will be correct. In summary, when running from python, the clip box's bounds needs to be explicitly set currently, just like the radius of clip-with-sphere, in this case we can say this bug is a user error. However, the other (ideal) option will be using the bounds of input data for the clip-box's bounds or clip-sphere's radius (just like doing it from GUI). I will let you guys decide how I should proceed from here. |
(0030756) Yumin Yuan (developer) 2013-05-13 11:44 |
To really fix this, more work needs to be planned. For now, put it in to-do list. |
(0037750) Kitware Robot (administrator) 2016-08-12 09:57 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2009-11-23 17:04 | Ken Moreland | New Issue | |
2010-04-16 02:09 | Utkarsh Ayachit | Target Version | 3.8 => 3.10 |
2011-04-27 16:27 | Utkarsh Ayachit | Note Added: 0026271 | |
2011-04-27 16:27 | Utkarsh Ayachit | Status | backlog => @80@ |
2011-04-27 16:27 | Utkarsh Ayachit | Fixed in Version | => 3.12 |
2011-04-27 16:27 | Utkarsh Ayachit | Resolution | open => unable to reproduce |
2011-04-27 16:27 | Utkarsh Ayachit | Assigned To | => Utkarsh Ayachit |
2011-05-02 21:39 | Ken Moreland | Note Added: 0026415 | |
2011-05-02 21:39 | Ken Moreland | Status | @80@ => @20@ |
2011-05-02 21:39 | Ken Moreland | Resolution | unable to reproduce => reopened |
2013-01-08 21:30 | Alan Scott | Project | => Sandia |
2013-01-08 21:30 | Alan Scott | Type | => incorrect functionality |
2013-05-03 14:01 | Utkarsh Ayachit | Assigned To | Utkarsh Ayachit => Yumin Yuan |
2013-05-07 17:04 | Yumin Yuan | Status | backlog => todo |
2013-05-07 17:04 | Yumin Yuan | Status | todo => active development |
2013-05-09 15:41 | Yumin Yuan | Note Added: 0030739 | |
2013-05-13 11:44 | Yumin Yuan | Note Added: 0030756 | |
2013-05-13 11:44 | Yumin Yuan | Status | active development => todo |
2016-08-12 09:57 | Kitware Robot | Note Added: 0037750 | |
2016-08-12 09:57 | Kitware Robot | Status | todo => closed |
2016-08-12 09:57 | Kitware Robot | Fixed in Version | 3.12 => |
2016-08-12 09:57 | Kitware Robot | Resolution | reopened => moved |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |