[vtkusers] getbounds() problem

Wylie, Brian bnwylie at sandia.gov
Wed Apr 25 15:46:51 EDT 2007


Calling Update() on the filter before you get the bounds may solve the problem.


  Brian Wylie - Org 1424
  Sandia National Laboratories
  MS 0822 - Building 880/A1-J
  (505)844-2238 FAX(505)845-0833    
       _______ __
      /_  __(_) /_____ _____
       / / / / __/ __ `/ __ \
      / / / / /_/ /_/ / / / /
     /_/ /_/\__/\__,_/_/ /_/
            VTK Informatics Toolkit
  

> -----Original Message-----
> From: vtkusers-bounces+bnwylie=sandia.gov at vtk.org 
> [mailto:vtkusers-bounces+bnwylie=sandia.gov at vtk.org] On 
> Behalf Of ѧ־ Ñî
> Sent: Wednesday, April 25, 2007 10:04 AM
> To: vtkusers at vtk.org
> Subject: [vtkusers] getbounds() problem
> 
> Hi, I use getbounds() method to bound vtkPolyData with 
> bounding box BBox[6], for two vtkPolyData object, detect 
> intersection of two bounding box, but it returns 0 which on 
> the view(surface) the two object does intersect. Do I need to 
> do anything to get it right? Really struggle with this since 
> it looks very simple but don't know where is the problem. : ( 
> thank you for any help
> 
> _________________________________________________________________
> MSN Hotmail is evolving - check out the new Windows Live 
> Hotmail http://get.live.com/betas/mail_betas
> 
> _______________________________________________
> This is the private VTK discussion list. 
> Please keep messages on-topic. Check the FAQ at: 
> http://www.vtk.org/Wiki/VTK_FAQ Follow this link to 
> subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
> 
> 




More information about the vtkusers mailing list