[vtkusers] Simplest way to paint an R3 Convex Hull?

Phlip phlip_cpp at my-deja.com
Tue Jul 24 00:20:45 EDT 2001


"David E. Jones" wrote:

>  I won't try to answer your question about colors but I think I have
> some useful
>  information for you.   I'm not completely sure what your goal is
> either but I have
>  some comments on vtkDelaunay3D and Ken Clarkson's hull program.  I've
> used
>  both of them extensively.
> 
>    1)  One observation is that the hull program is extremely
> portable.

My motivation is to render the same R3 shape over and over again, and
then rubber-stamp it all over the place. We did that. Because we are not
stressing the intellect of the vtkDelaunay3D object by running the same,
simple, XYZ points thru it over and over again, I have no fears for its
robustness.

Our code is a joyful one-shot - portability is a problem we wish we had!

> it is robust.  We don't
>           use it for convex hulls however because it's hulls aren't
> convex.

Our hand-generated static XYZ set is itself convex.

>        3) NCSA's Alpha Shapes:  I don't use black boxes.  The
> concealment of the source
>             code by a reaearch organization seems inappropriate to me.

"Black box" is just a design thing, and folks who try to enforce
absolute opacity between programmers don't "get" it.

What we need now is to individually address each flat in the output of
the vtkDelaunay3D, and color each flat differently.

If the simplest thing were to start over with vtkPlanes and proceed from
there I'l do that, but the VTK documentation on the subject of
addressing and coloring flats is ... opaque.

-- 
  Phlip                          phlip_cpp at my-deja.com
====== http://clublet.com/c/c/why?ZenoBuddhism =======
  --  Who needs a degree when we have Web e-search engines?  --




More information about the vtkusers mailing list