| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0012064 | VTK | (No Category) | public | 2011-04-09 14:34 | 2016-08-12 09:55 | ||||
| Reporter | Erik Rasmussen | ||||||||
| Assigned To | Dave DeMarle | ||||||||
| Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
| Status | closed | Resolution | moved | ||||||
| Platform | Apple Mac | OS | OS X | OS Version | 10.4.10 | ||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0012064: vtkImplicitPlaneRepresentation ignores NormalToZAxis, NormalToYAxis, and NormalToXAxis | ||||||||
| Description | I can't be sure what the intent was here; my assumption is that the intent was to lock the representation to axis-normal. It appears that these instance variables are unused (apart from being set/unset) in the class. If the intent is to force the representation to always be axis-normal, two things are needed. 1) In the method SetNormal(double x, double y, double z) we need something like if(this->NormalToXAxis) x=1.0; y=0.0; z=0.0; if(this->NormalToYAxis) x=0.0; y=0.0; z=0.0; if(this->NormalToZAxis) x=0.0; y=0.0; z=1.0; 2) Also in the methods SetNormalTo?Axis we need something like if (this->NormalToXAxis != var) { this->SetNormal(1.0,0.0,0.0); // no effect, but SetNormal needs to be called this->NormalToXAxis = var; this->Modified(); } There is another oddity with this class reported here http://public.kitware.com/pipermail/vtkusers/2010-January/105856.html [^] The way the code is currently structured, one must SetBounds that include the plane BEFORE doing SetOrigin and SetNormal, or they have no effect and are defaulted to {0,0,0} and x-normal. Erik | ||||||||
| Additional Information | Some of this may be due to me misinterpreting the intent of the class. | ||||||||
| Tags | No tags attached. | ||||||||
| Project | |||||||||
| Type | |||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0030913) Jean-Christophe Fillion-Robin (manager) 2013-06-05 15:41 |
Does the problem still occur with VTK 5.10 ? VTK 6 ? Would be great if you could submit a patch using Gerrit. For more details see http://www.vtk.org/Wiki/VTK/Git/Develop [^] Thanks Jc |
|
(0031199) Dave DeMarle (administrator) 2013-07-22 18:36 |
If the bug is still present in 6.0.0, please reopen this report. |
|
(0037229) Kitware Robot (administrator) 2016-08-12 09:55 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2011-04-09 14:34 | Erik Rasmussen | New Issue | |
| 2011-06-16 13:12 | Zack Galbreath | Category | Development => (No Category) |
| 2013-06-05 15:41 | Jean-Christophe Fillion-Robin | Note Added: 0030913 | |
| 2013-07-22 18:36 | Dave DeMarle | Note Added: 0031199 | |
| 2013-07-22 18:36 | Dave DeMarle | Status | backlog => expired |
| 2013-07-22 18:36 | Dave DeMarle | Assigned To | => Dave DeMarle |
| 2016-08-12 09:55 | Kitware Robot | Note Added: 0037229 | |
| 2016-08-12 09:55 | Kitware Robot | Status | expired => closed |
| 2016-08-12 09:55 | Kitware Robot | Resolution | open => moved |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |