MantisBT - VTK | |||||
View Issue Details | |||||
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 | ||||
Project | |||||
Type | |||||
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. | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | vtkActor.cxx.patch (641) 1969-12-31 19:00 https://www.vtk.org/Bug/file/5905/vtkActor.cxx.patch vtkAssembly.cxx.patch (2,845) 1969-12-31 19:00 https://www.vtk.org/Bug/file/5906/vtkAssembly.cxx.patch | ||||
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 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|