[vtkusers] vtkCamera::SetParallelScale
    Adam D. Burry 
    aburry at igotechnologies.com
       
    Wed Jan 23 15:54:24 EST 2002
    
    
  
Hi:
This note: 
	http://public.kitware.com/pipermail/vtkusers/1999-July/001395.html
recommends setting the parallel scale to 0.5 - 1.0 times the length
diagonal of the data in world coordinates. (At least that is how I read
it.)
The documentation for vtkCamera::SetParallelScale():
http://public.kitware.com/VTK/doc/release/3/html/classvtkCamera.html#a45
	http://public.kitware.com/VTK/doc/nightly/html/classvtkCamera.html#a44
says that it is the height of the viewport in world coordinates.
What I want to do is set the parallel scale so that my data fills the
viewport in at least one dimension without being clipped, calling
vtkREnderer::ResetCamera( float bounds[6] ) does not make the data big
enough. I want:
+-------------------+
|      +-----+      |
|      |     |      |
|      +-----+      |
+-------------------+
or
+---------+
|         |
|         |
|+-------+|
||       ||
|+-------+|
|         |
|         |
+---------+
Does anyone have experience with this?
Adam
--
Mr. Adam D. Burry, P.Eng.
Software Developer
aburry at igotechnologies.com
    
    
More information about the vtkusers
mailing list