[vtk-developers] [VTK 0013970]: GetBounds not consistant between vtkBox and vtkBlock

Mantis Bug Tracker mantis at public.kitware.com
Mon Mar 25 13:34:21 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://vtk.org/Bug/view.php?id=13970 
====================================================================== 
Reported By:                lgriffiths
Assigned To:                
====================================================================== 
Project:                    VTK
Issue ID:                   13970
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     backlog
Project:                    TBD 
Type:                       incorrect functionality 
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2013-03-25 13:34 EDT
Last Modified:              2013-03-25 13:34 EDT
====================================================================== 
Summary:                    GetBounds not consistant between vtkBox and vtkBlock
Description: 
using 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)


====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-03-25 13:34 lgriffiths     New Issue                                    
======================================================================




More information about the vtk-developers mailing list