View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013970VTK(No Category)public2013-03-25 13:342014-10-02 12:40
ReporterLaurence Griffiths 
Assigned ToWill Schroeder 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version5.10.1 
Target VersionFixed in Version 
Summary0013970: GetBounds not consistant between vtkBox and vtkBlock
Descriptionusing the vtk python interface, vtkBox.GetBounds does not work with zero inputs

Calling:
bounds=vtkBox.GetBounds()
returns the error: "no overloads to GetBounds() take 0 arguments.

I would expect it to be consistant with:
vtkMultiBlockDataSet.GetBlock(0).GetBounds()
Which works with zero inputs to GetBounds

The alternative in python is messy:
bounds=[0,0,0,0,0,0] #or some other initialisation
vtkBox.GetBounds(bounds)

Tagshackaton
ProjectTBD
Typeincorrect functionality
Attached Files

 Relationships

  Notes
(0031051)
Dave DeMarle (administrator)
2013-06-25 12:44

Please add that signature to vtkBox and submit the patch via gerrit for automated testing and review.
For details on how to do so see http://www.vtk.org/Wiki/VTK/Git/Develop [^]
(0033400)
Sean McBride (developer)
2014-10-01 17:34

Perhaps I'm confused… but vtkBox already has a "double *GetBounds();" method… so what's missing here?
(0033471)
Will Schroeder (manager)
2014-10-02 11:42

Needed to add vtkBox::GetBounds() in wrapping "hints" file.
(0033479)
Will Schroeder (manager)
2014-10-02 12:34

http://review.source.kitware.com/#/t/4764 [^]
(0033480)
Will Schroeder (manager)
2014-10-02 12:40

Merged through gerrit (thanks Bill!)

 Issue History
Date Modified Username Field Change
2013-03-25 13:34 Laurence Griffiths New Issue
2013-06-25 12:44 Dave DeMarle Note Added: 0031051
2014-10-01 17:34 Sean McBride Tag Attached: hackaton
2014-10-01 17:34 Sean McBride Note Added: 0033400
2014-10-02 09:32 Will Schroeder Assigned To => Will Schroeder
2014-10-02 11:42 Will Schroeder Note Added: 0033471
2014-10-02 11:42 Will Schroeder Status backlog => active development
2014-10-02 12:34 Will Schroeder Note Added: 0033479
2014-10-02 12:34 Will Schroeder Status active development => gerrit review
2014-10-02 12:40 Will Schroeder Note Added: 0033480
2014-10-02 12:40 Will Schroeder Status gerrit review => closed
2014-10-02 12:40 Will Schroeder Resolution open => fixed


Copyright © 2000 - 2018 MantisBT Team