MantisBT - VTK | |||||
| View Issue Details | |||||
| 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 | ||||
| Project | |||||
| Type | |||||
| 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 | ||||
| Steps To Reproduce | |||||
| Additional Information | Some of this may be due to me misinterpreting the intent of the class. | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| 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 | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||