[vtkusers] vtkCamera Question

Fatima Zahra El Filali felfilali at dons.usfca.edu
Wed May 6 12:12:19 EDT 2015


Thanks for your help.
I added your suggestion and still no luck.
What i am trying to do is to put the camera within the actor for my
Structured grid of 500x500x100.
Any other ideas?
thanks
Fatima

On Mon, May 4, 2015 at 10:57 PM, Wahyudin Permana Syam <gebe_top at yahoo.com>
wrote:

> Hi Fatima,
>
> maybe your data is out of clipping range
>
> you can try to add:
>
> ren->ResetCameraClippingRange();
>
> to make sure all the data inside the clipping range
>
>
> ============================================================
> Best regards,
> Wahyudin Permana Syam
> ============================================================
>
>   ------------------------------
>  *From:* Fatima Zahra El Filali <felfilali at dons.usfca.edu>
> *To:* VTK Users <vtkusers at vtk.org>
> *Sent:* Monday, May 4, 2015 8:05 PM
> *Subject:* [vtkusers] vtkCamera Question
>
> Hello,
>
> I am having some trouble with vtkCamera.
>
> Here is what I am trying to do:
>
> I am viewing a Structured Grid of dimension 500x500x100 and would like to
> put the camera in the middle of the grid and look out.
>
> When I set position to the middle of the grid 250x250x50 and focal point
> to the default (0,0,0) I cannot view anything.
>
> Any hints? or idea as to what coordinates I should be using?
>
> Thanks
> Fatima
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20150506/140ae1b6/attachment.html>


More information about the vtkusers mailing list