[vtkusers] bounding box of a vtkStreamLine

Malcolm Drummond malcolm at geovision.co.za
Mon Jun 21 06:00:08 EDT 2004


The output of a vtkStreamline is a vtkPolyData. How about ...

float bounds[6];
streamLine->GetOutput()->GetBounds(bounds);

HTH
Malcolm
  ----- Original Message ----- 
  From: joseph mccoy 
  To: vtkusers at vtk.org 
  Sent: Monday, June 21, 2004 11:44 AM
  Subject: [vtkusers] bounding box of a vtkStreamLine


  Hi All,

  i'm wondering if there is a simple method to obtain the bounding box of a vtkStreamLine. because a streamLine is a vtkPolyDataSource there is no method like 
  streamLine->GetBounds(float bounds[6]) or something similar, isn't it?

  thanks in advance...
  McCoy


------------------------------------------------------------------------------


  _______________________________________________
  This is the private VTK discussion list. 
  Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
  Follow this link to subscribe/unsubscribe:
  http://www.vtk.org/mailman/listinfo/vtkusers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040621/8c0d89b6/attachment.htm>


More information about the vtkusers mailing list