<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-7">
<META content="MSHTML 6.00.6001.18099" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>Hi all,</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; I am wondering how to set a 
camera's azimuth and elevation. There is a SetRoll() method in vtkCamera to set 
the roll of a camera. However, no similar methods exist for setting the azimuth 
and elevation. Does anyone know why? And how do I achieve my goal using other 
methods? Thank you.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Chen</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=akoutsou@ipet.gr href="mailto:akoutsou@ipet.gr">Anestis 
  Koutsoudis</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=vtkusers@vtk.org 
  href="mailto:vtkusers@vtk.org">vtkusers@vtk.org</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, September 29, 2008 11:03 
  AM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> [vtkusers] Trying to use 
  vtkSurfaceReconstructionFilter</DIV>
  <DIV><BR></DIV>Hi Dominik,<BR><BR>Thanks for answer but the name of my 
  vtkSurfaceReconstructionFilter<BR>instance (<SMALL><FONT 
  face="Courier New, Courier, monospace">delaunay)</FONT></SMALL>might be 
  misleading but I think thereisn't any<BR>SetAlpha parameter for the 
  vtkSurfaceReconstructionFilter<BR><BR>Cheers<BR><BR>I have been trying to feed 
  an instance of vtkSurfaceReconstructionFilter<BR>with a vtkPolyData that has 
  been assigned a vtkPoints. Here is the following code.<BR>The problem is that 
  it always returns a CUBE not an approximation even erroneous <BR>of the point 
  cloud.<BR><BR>Any ideas on this?<BR><BR>Cheers<BR><SMALL><FONT 
  face="Courier New, Courier, monospace"><BR>vtkPoints *points = 
  vtkPoints::New();<BR>&nbsp;&nbsp; fp=fopen(argv[1],"r");<BR>&nbsp;&nbsp; int 
  counter&nbsp; = 0;<BR>&nbsp;&nbsp; while(!feof(fp)) {&nbsp; 
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  fscanf(fp,"%e,%e,%e\n", &amp;x,&amp;y,&amp;z);&nbsp;&nbsp; // Read an X,Y,Z 
  points 
  file&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  <BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp; 
  points-&gt;InsertPoint(counter,x,y,z);<BR>&nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
  &nbsp;&nbsp; counter++;<BR>&nbsp; }<BR>&nbsp; fclose(fp);<BR>&nbsp;<BR>&nbsp; 
  points-&gt;Modified();<BR>&nbsp; vtkPolyData *pData = 
  vtkPolyData::New();<BR>&nbsp; pData-&gt;SetPoints(points);<BR>&nbsp; 
  pData-&gt;Update();<BR>&nbsp; <BR>&nbsp; vtkSurfaceReconstructionFilter 
  *delaunay = vtkSurfaceReconstructionFilter::New();<BR>&nbsp; 
  delaunay-&gt;SetInput(pData);<BR>&nbsp; 
  delaunay-&gt;SetSampleSpacing(0.5);<BR>&nbsp; 
  delaunay-&gt;Update();</FONT></SMALL><BR><BR>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>This is the private 
  VTK discussion list.<BR>Please keep messages on-topic. Check the FAQ at: 
  http://www.vtk.org/Wiki/VTK_FAQ<BR>Follow this link to 
  subscribe/unsubscribe:<BR>http://www.vtk.org/mailman/listinfo/vtkusers<BR></BLOCKQUOTE></BODY></HTML>