<!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> </DIV>
<DIV>Hi all,</DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> 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> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Chen</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </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> fp=fopen(argv[1],"r");<BR> int
counter = 0;<BR> while(!feof(fp)) {
<BR>
fscanf(fp,"%e,%e,%e\n", &x,&y,&z); // Read an X,Y,Z
points
file
<BR>
points->InsertPoint(counter,x,y,z);<BR>
counter++;<BR> }<BR> fclose(fp);<BR> <BR>
points->Modified();<BR> vtkPolyData *pData =
vtkPolyData::New();<BR> pData->SetPoints(points);<BR>
pData->Update();<BR> <BR> vtkSurfaceReconstructionFilter
*delaunay = vtkSurfaceReconstructionFilter::New();<BR>
delaunay->SetInput(pData);<BR>
delaunay->SetSampleSpacing(0.5);<BR>
delaunay->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>