Hi Vidyadhar, thank you for your reply.<br>
I am using the vtkCamera::SetUserTransform() method as you suggested.<br>
I passed a vtkTransform matrix but I donīt know how to manipulate the
matrix in order to achieve a scaling in the Z direction for all <br>
visualized objects. I know that using vtkTransform::Scale(1, 1, ScaleFactor) simply doesnīt work.<br>
Could you give me a hint on how to do that?<br>
<br>
Thank you very much<br>
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Luca<br>
<br><br><div><span class="gmail_quote">On 3/13/07, <b class="gmail_sendername">vidyadhar</b> &lt;<a href="mailto:vidyadhar@lucidindia.net">vidyadhar@lucidindia.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">






<div bgcolor="#ffffff">
<div><font face="Arial" size="2">Hi,</font></div>
<div><font face="Arial" size="2">The world (studio?) and camera coordinate systems 
are different.&nbsp;In your scene it is not clear what is correspondence between 
them (it is determined by&nbsp;position, target and viewup settings).&nbsp;In 
camera CO z is depth and xy corresponds to visible rect (x - horizontal, y - 
vertical).</font></div>
<div><font face="Arial" size="2">vtkCamera accepts a user defined transform 
(SetUserTransform). Create an instance of vtkTransform and use this method on 
the camera. For example, by setting scale (1,-1,1) one can perform vertical flip 
of entire scene.</font></div>
<div><font face="Arial" size="2">HTH</font></div><span class="sg">
<div><font face="Arial" size="2">Vidyadhar</font></div></span><div><span class="e" id="q_11149af56c611804_2">
<div>----- Original Message ----- </div>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;">
  <div style="background: rgb(228, 228, 228) none repeat scroll 0% 50%; -moz-background-clip: initial; -moz-background-inline-policy: initial; -moz-background-origin: initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-stretch: normal; font-size-adjust: none;">
<b>From:</b> 
  <a title="lplavorante@gmail.com" href="mailto:lplavorante@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Luca 
  Pallozzi Lavorante</a> </div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-stretch: normal; font-size-adjust: none;"><b>To:</b> <a title="vtkusers@vtk.org" href="mailto:vtkusers@vtk.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
vtkusers@vtk.org</a> </div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-stretch: normal; font-size-adjust: none;"><b>Sent:</b> Friday, March 09, 2007 5:14 
PM</div>
  <div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-stretch: normal; font-size-adjust: none;"><b>Subject:</b> [vtkusers] global scaling using 
  vtkCamera?</div>
  <div><br></div>Hi everybody,<br>I am trying to scale all my visible objects 
  (vtkPolyData) along the Z direction, simulating a &quot;studio&quot; scaling. Currently 
  I am using the SetScale() method in each actor. But I noticed that&nbsp; such 
  scaling comes with&nbsp; a translation along the Z axis. Is there some way to 
  avoid that? Can I use vtkCamera to achieve this global scaling instead of 
  modifying each actor? I have tried to use the vtkCamera::ApplyTransform() 
  method, but It doesnīt work.<br><br>Thank you very 
  much<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
  Luca<br></blockquote></span></div></div>
</blockquote></div><br>