[vtkusers] mesh properties from a camera view

marco piccima at gmail.com
Tue Aug 13 21:45:04 EDT 2013


this just pop from my mind,
I'm a bit new of vtk so it can be totally wrong:
Can be a solution "downsample" the data?


On 08/13/2013 09:16 PM, David E DeMarle wrote:
> Visible surface selection is pixel based and can not pick more than 
> one cell/point per pixel.
>
> Frustum selection is geometry based and will pick all points/cells 
> behind the screen region regardless of view resolution, but it can not 
> determine what cells/points are visible and what are not.
>
>
>
>
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
>
> On Tue, Aug 13, 2013 at 2:40 PM, marco <piccima at gmail.com 
> <mailto:piccima at gmail.com>> wrote:
>
>     Hi David,
>     Thank you for your help.
>     I have some strange behavior of the selection.
>     If I use a large mesh:
>     55280 points.
>     13820 cells.
>     hitting the s button gives me:
>     Selection has 289 nodes.
>     There are 0 points in the selection.
>     There are 0 cells in the selection.
>     and not selected part is red.......
>     But if I zoom and enlarge the window I get:
>     Selection has 1 nodes.
>     There are 764 points in the selection.
>     There are 191 cells in the selection.
>
>     It happens the same if I zoom out the sphere
>     What is happening?
>
>
>     On 08/13/2013 07:12 AM, David Doria wrote:
>
>         On Mon, Aug 12, 2013 at 11:45 PM, marco <piccima at gmail.com
>         <mailto:piccima at gmail.com>> wrote:
>
>             Thank you very much David,
>             this is a good example, I need to study it , but I think I
>             can make it work for my needs.
>
>             In this example has been used the
>             vtkInteractorStyleTrackballCameraMarco,
>             can I use just the camera position and the object position?
>
>             Marco
>
>         You just have to pass the vtkHardwareSelector the renderer - the
>         interactor style is just used to trigger the event to happen
>         when the
>         's' key is pressed. You can trigger it however you want.
>
>         David
>
>
>     _______________________________________________
>     Powered by www.kitware.com <http://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
>
>     Follow this link to subscribe/unsubscribe:
>     http://www.vtk.org/mailman/listinfo/vtkusers
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130813/8d641fb6/attachment.htm>


More information about the vtkusers mailing list