using vtkGeometryFilter to convert to polygonal data

Gala'Vi and Liss @ Mainframe Country pushkare at students.uiuc.edu
Thu Jun 24 11:27:16 EDT 1999



Use a probe filter and an implicit plane function.

There is an example code in the file cut.tcl which is in
         graphics/examplesTcl 
directory of vtk. That one should give you an idea of how it works.
Don't pay attention to that Plot3D reader, that one just produces a
vtkDataSet from some data files.

Hope this helps.
Gala'Vi
NCSA, UIUC

//***********************************************
  -- There is always a way, 
        you just have to find it.
              (B.Hambly "Children Of The Jedi")
//***********************************************

On Thu, 24 Jun 1999, Ben Held wrote:

> The documentation for vtkGeometryFilter says it can be used "to convert
> data to polygonal type".  I need to convert vtkDataSet to vtkPolyData.  If
> I use vtkGeometry filter, I just get the free faces out.  I need to get all
> of the data out (including inside faces), because I then pass the
> vtkPolyData into a vtkCutter to display a cut plane.  Right now, the cut
> plane image is just an outline of the surface I wish to see.
> 
> Help!
> 
> TIA,
> 
> Ben
> 
> John
> Ben L. Held
> Simulation Technology & Applied Research, Inc.
> 11520 N. Port Washington Rd.
> Suite 101 B
> Mequon, WI  53092
> Phone: (414) 240-0293
> FAX: (414) 240-0294
> e-mail: ben.held at staarinc.com
> 
> 
> 
> -----------------------------------------------------------------------------
> This is the private VTK discussion list.  Please keep messages on-topic.
> Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
> To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
> <majordomo at gsao.med.ge.com>.  For help, send message body containing
> "info vtkusers" to the same address.     Live long and prosper.
> -----------------------------------------------------------------------------
> 



-----------------------------------------------------------------------------
This is the private VTK discussion list.  Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>.  For help, send message body containing
"info vtkusers" to the same address.     Live long and prosper.
-----------------------------------------------------------------------------





More information about the vtkusers mailing list