[vtkusers] ParallelProjection question

Dov Mayzlish dov.mayzlish at philips.com
Mon Aug 6 07:41:07 EDT 2007


Hi Everyone,

I have a problem understanding how to interpret the size of the rendered
image.

I render an actor with ParallelProjection.
             camera->ParallelProjectionOn();
I define the clipping planes using
            this->ren->ComputeVisiblePropBounds( allBounds );
            this->ren->ResetCameraClippingRange( allBounds );
and the scale by:
            camera->SetParallelScale(zoom);


How can I know the size of the rendered image in the viewport in real world
coordinates, from these (or other) parameters?

Thanks,
Dov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070806/b6741e37/attachment.htm>


More information about the vtkusers mailing list