<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=big5" http-equiv=Content-Type>
<META content="MSHTML 5.00.3103.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=細明體 size=2>Dear VTKers;</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=細明體 size=2>In C++, some&nbsp;loops that do a azimuth of the 
cameras per iteration like below</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=細明體 size=2>for(i=0; i &lt;360; i+=9) {</FONT></DIV>
<DIV><FONT face=細明體 size=2>&nbsp;&nbsp;&nbsp; 
ren-&gt;GetActiveCamera()-&gt;Azimuth(9);</FONT></DIV>
<DIV><FONT face=細明體 size=2>&nbsp;&nbsp;&nbsp; renWindow-&gt;Render</FONT></DIV>
<DIV><FONT face=細明體 size=2>}</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=細明體 size=2>And <FONT face=細明體 size=2>I have using VTKPanel 
instead of vtkRenderWindow</FONT></FONT><FONT face=細明體 size=2>, I try to write 
the code like this</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=細明體 size=2>public static void main(String[] args) {</FONT></DIV>
<DIV><FONT face=細明體 size=2>&nbsp; JFrame frame;<BR>&nbsp;&nbsp;frame = new 
JFrame("sample");<BR>&nbsp;&nbsp;vtkPanel renwin = new 
vtkPanel();<BR>&nbsp;&nbsp;vtkConeSource cone = new vtkConeSource();</FONT><FONT 
face=細明體 
size=2><BR>&nbsp;&nbsp;frame.getContentPane().add("Center",renwin);<BR>&nbsp;&nbsp;cone.SetResolution(16);<BR>&nbsp;&nbsp;vtkPolyDataMapper 
coneMapper = new 
vtkPolyDataMapper();<BR>&nbsp;&nbsp;coneMapper.SetInput(cone.GetOutput());<BR>&nbsp;&nbsp;vtkActor 
coneActor = new 
vtkActor();<BR>&nbsp;&nbsp;coneActor.SetMapper(coneMapper);<BR>&nbsp;&nbsp;renwin.GetRenderer().AddActor(coneActor);<BR>&nbsp;&nbsp;renwin.GetRenderer().SetBackground(0.2,0.5,0.3);</FONT></DIV>
<DIV><FONT face=細明體 
size=2>&nbsp;&nbsp;ren.GetActiveCamra().Azimuth(90);<BR>&nbsp;&nbsp;frame.pack();<BR>&nbsp;&nbsp;frame.setVisible(true);<BR>&nbsp;&nbsp;for(int 
i=0; i&lt;360; i+=9) 
{<BR>&nbsp;&nbsp;&nbsp;renwin.GetRenderer().GetActiveCamera().Azimuth(9);<BR>&nbsp;&nbsp;&nbsp;renwin.GetRenderWindow().Render();<BR>&nbsp;&nbsp;}</FONT></DIV>
<DIV><FONT face=MingLiu size=2>}</FONT></DIV>
<DIV><FONT face=細明體 size=2>but it doesn't work...:~~</FONT></DIV>
<DIV><FONT face=MingLiu size=2>
<DIV><FONT face=細明體 size=2>How to use it in Java?</FONT><FONT face=細明體 
size=2></DIV></FONT>
<DIV><FONT face=細明體 size=2>or there'll another way to do so??</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV></FONT><FONT face=MingLiu size=2>Regards</FONT></DIV></DIV></BODY></HTML>