View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0004507 | VTK | (No Category) | public | 2007-02-27 16:34 | 2016-08-12 09:54 | ||||
Reporter | Bill McGrory | ||||||||
Assigned To | Sebastien Barre | ||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||
Status | closed | Resolution | moved | ||||||
Platform | OS | OS Version | |||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0004507: vtkActor::GetBounds returns unitialized bounds when no mapper is connected | ||||||||
Description | The code for vtkActor::GetBounds blindly returns the actor's Bounds as the bounds, and doesn't check to see if it is initialized or not. There is a check in the mapper code to see if the mapper's bounds are initialized. if not, then it returns a null pointer to bounds. I believe that a null bounds should be returned if there is no mapper, and the actor's bounds are unitialized. This has consequences for vtkAssembly::GetBounds because the assembly does not check for null pointer return on the child GetBounds calls. Thus, if you include an actor in an assembly that does not have a mapper, then the values -1, and 1 will be included in the collective bounds calculation for the assembly, thus returning incorrect bounds. | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Type | |||||||||
Attached Files | ![]() ![]() | ||||||||
Relationships | |
Relationships |
Notes | |
(0006583) Bill McGrory (reporter) 2007-02-28 10:34 |
I have uploaded patches for vtkActor.cxx and vtkAssembly.cxx note the patch for vtkAssembly.cxx is relative to having patches applied from bug 0003312 |
(0036906) Kitware Robot (administrator) 2016-08-12 09:54 |
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 |
2008-02-06 10:12 | Jeff Baumes | Assigned To | Will Schroeder => Sebastien Barre |
2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
2016-08-12 09:54 | Kitware Robot | Note Added: 0036906 | |
2016-08-12 09:54 | Kitware Robot | Status | expired => closed |
2016-08-12 09:54 | Kitware Robot | Resolution | open => moved |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |