<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2614.3500" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello Fellow VTK Users:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I'm new to VTK and am working through the examples
in the VTK User's Guide. I'm a C++ programmer, so I'm translating the
examples in the book from Tcl to C++. The cylinder example
(procedural source object 4.1) worked fine, so I know the basic setup of VTK is
OK. The next example, CADPart, in which a data file is read instead of
generating the data, however, crashes while running with the error:
"Segmentation Fault". Using the debugger, I pinpointed the crash to the
vtkSTLReader::SetFileName() call. If anyone knows the cause I would
appreciate your help.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Second, I inserted a vtkShrinkPolyData filter
into the Cylinder example, since I could not get the CADPart example to
work. The return type for vtkCylinderSource::GetOutput()
matches the input type for vtkShrinkPolyData::SetInput(), so I though it would
work, however I get a "Segmentation Fault" again at
the vtkShrinkPolyData::SetInput() call. Any answers?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thank you.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Jim Reigle </FONT></DIV></BODY></HTML>