[vtkusers] Newby question

Sebastien Jourdain sebastien.jourdain at kitware.com
Sat Aug 6 19:18:37 EDT 2011


Hi Umberto,

If your points are regularly spaced, why don't you use an ImageData
with some Arbitrary known value for the void location
and just make a threshold so you can create those holes. Once you've
done that, you have the "connectivity" that you were missing for doing
the processing that you tried to achieved. Otherwise, you can create
your own connectivity if you know the topology.

Seb

On Sat, Aug 6, 2011 at 12:17 PM, uiemma <u.iemma at uniroma3.it> wrote:
> Seb, you're right. I'll try to explain better.
> My code virtually measures the pressure field at a number of points in
> space. The points are regularly spaced except than in the region where a
> scattering object is present. So, the "voids" are region of the domain where
> the virtual microphones are removed.
> Something like this:
> ................
> ................
> ....        ....
> ....        ....
> ................
> ................
>
> What I want is to plot, e.g., the contours of the pressure field from the
> scattered data.
> Hope it is clearer now.
> I've seen that vtk offers an exhaustive library of functions to manipulate
> data and write files, but, as far as I understood, they must be called from
> C++ and my code is pure C.
> Tx
> Umb
>
>
>
>
> --
> View this message in context: http://vtk.1045678.n5.nabble.com/Newby-question-tp4670142p4672960.html
> Sent from the VTK - Users mailing list archive at Nabble.com.
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>



More information about the vtkusers mailing list