<html><div style='background-color:'><DIV>
<P>Hello,</P>
<P>I would calulate the distance, depending on your volume spacing, from the origin of the volume and use (in C++)</P>
<P>renderer1->GetActiveCamera()->SetPosition(x,y,z);</P>
<P>and</P>
<P>renderer1->GetActiveCamera()->SetFocalPoint(x,y,z);</P>
<P>Not sure if this is what you are looking for but it works for me.</P>
<P>Alex<BR><BR></P></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>>From: ±èµµ¿¬ <DYKIM@NS.KOPEC.CO.KR>
<DIV></DIV>
<DIV></DIV>>To: <VTKUSERS@PUBLIC.KITWARE.COM>
<DIV></DIV>
<DIV></DIV>>Subject: [vtkusers] vtkCamera
<DIV></DIV>
<DIV></DIV>>Date: Fri, 26 Jul 2002 13:40:45 +0900
<DIV></DIV>
<DIV></DIV>>
<DIV></DIV>
<DIV></DIV>>Hello !
<DIV></DIV>
<DIV></DIV>>
<DIV></DIV>
<DIV></DIV>>I would like know how can i put the camera to inside the actor(object).
<DIV></DIV>
<DIV></DIV>>
<DIV></DIV>
<DIV></DIV>>For instance, if i have a 64*64*100 volume, how can i take the view from the camera position(32,20,5) and focal point(32,20,10).
<DIV></DIV>
<DIV></DIV>>
<DIV></DIV>
<DIV></DIV>>Best Regards,
<DIV></DIV>
<DIV></DIV>>
<DIV></DIV>
<DIV></DIV>>D.Y.Kim
<DIV></DIV>
<DIV></DIV>
<DIV></DIV></div><br clear=all><hr>MSN Photos is the easiest way to share and print your photos: <a href='http://g.msn.com/1HM1ENUS/c156??PI=44364'>Click Here</a><br></html>