[vtkusers] How to insert points to construct a 3d object

Melissa Goh melissagoh27 at gmail.com
Mon Mar 5 23:05:46 EST 2012


Hi David,

I am using vtkPolyData to create a 3d nucleus surface based on the set of
data points. The structure doesn't seems right. I am not sure of how to
insert the points in correct order.

Melissa

On Tue, Mar 6, 2012 at 2:33 AM, David Doria <daviddoria at gmail.com> wrote:

> On Mon, Mar 5, 2012 at 9:33 AM, Melissa Goh <melissagoh27 at gmail.com>
> wrote:
> > I have almost 20,000 data points (X,Y,Z) to construct a 3d object. Is
> there
> > any order that I have to follow to insert the data points?
>
> Do your points have any structure? That is, are they on a grid or
> anything like that? You can take a look at this information:
> http://www.vtk.org/Wiki/VTK/Tutorials/3DDataTypes - perhaps your data
> fits one of those models. If you just have "unorganized points", I'd
> use a vtkPolyData for storage, and the order is unimportant (unless
> you have topology/cells (like polygons, etc) which reference the
> points, then you just have to make sure your cells reference the
> correct point ids).
>
> David
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120306/b6d524f0/attachment.htm>


More information about the vtkusers mailing list