<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.6944.0">
<TITLE>[vtkusers] how to access to vertices,faces... with vtk</TITLE>
</HEAD>
<BODY>
<DIV id=idOWAReplyText16683 dir=ltr>
<DIV dir=ltr><FONT face=Arial color=#000000 size=2>Hi,</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Try using </FONT><FONT face=Arial
size=2>OBJreader->UpdateWholeExtent();</FONT></DIV>
<DIV dir=ltr><FONT face=Arial size=2></FONT> </DIV>
<DIV dir=ltr><FONT face=Arial size=2>Theo.</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> vtkusers-bounces+t.lim=hw.ac.uk@vtk.org on
behalf of Syn3DDM<BR><B>Sent:</B> Fri 23/03/2007 17:37<BR><B>To:</B>
vtkusers@vtk.org<BR><B>Subject:</B> [vtkusers] how to access to
vertices,faces... with vtk<BR></FONT><BR></DIV>
<DIV><BR>
<P><FONT size=2>I am a new user of vtk. I am trying to access vertices,faces in
a charged<BR>mesh.<BR>i tried this code but it doesn't work:<BR><BR>vtkOBJReader
*OBJreader=vtkOBJReader::New();<BR><BR>OBJreader->SetFileName("F:\\Y6689_VENUS.obj");<BR><BR>vtkPolyData
*mydata=vtkPolyData::New();<BR><BR>mydata=OBJreader->GetOutput();<BR><BR>vtkPoints
*mypoints=mydata->GetPoints();//this instruction does'nt
work<BR>
//it causes a<BR>problem when I execute the program!<BR><BR>this code doesn't
work. I have even tried with vtkPLYReader but also it<BR>doesn't work!<BR>If
someone has a solution please help me.<BR>--<BR>View this message in context: <A
href="http://www.nabble.com/how-to-access-to-vertices%2Cfaces...-with-vtk-tf3455320.html#a9639837">http://www.nabble.com/how-to-access-to-vertices%2Cfaces...-with-vtk-tf3455320.html#a9639837</A><BR>Sent
from the VTK - Users mailing list archive at
Nabble.com.<BR><BR>_______________________________________________<BR>This is
the private VTK discussion list.<BR>Please keep messages on-topic. Check the FAQ
at: <A
href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</A><BR>Follow
this link to subscribe/unsubscribe:<BR><A
href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</A><BR></FONT></P></DIV>
</BODY>
</HTML>