Re: [Paraview] Method to Clip Sources & View Closed Volumes?

2017-06-03 Thread Joel Kulesza
Cory,

Thanks for the reply.  Indeed, that's what I suspected was the case and
it's all reasonable.  I was just hoping there might be a way to set a
preference (or another mechanism) so that when a user applied "clip" it
would perform the manipulations necessary to "see" the interior as a solid
region.

I tried applying the Deluanay3D filter to my sphere (80 theta & 80 phi
segments) and got a broken triangularization.  For more complicated shapes,
I'm concerned I'll have a similar result.

Perhaps asking my question another way: is there a recommended approach to
converting constructive solid geometry (CSG, which is effectively only
concerned with boundaries) to something that could be viewed in ParaView
with filters like "clip" meaningfully applied to see the interior regions
(because the end-user may be interested in that internal structure).  For
example, if I had several nested spherical shells defined with CSG, I'd
like to clip them and see those shells and not just the surfaces between
them.

Thanks,
Joel

On Sat, Jun 3, 2017 at 1:56 PM, Cory Quammen 
wrote:

> Joel,
>
> What you are seeing with the clipped sphere is indeed the clipped
> polygonal data from the sphere source. The sphere source does not
> produce volumetric cells inside the surface that you see, so there are
> no internal cells that would be clipped and produce the filled
> appearance you are after.
>
> I'm betting the VTK dataset you viewed has volumetric cells. In that
> case, you will see the surface of the clipped volumetric cells.
>
> You would need to fill the interior of polygonal datasets with
> volumetric cells through some kind of meshing procedure. In ParaView,
> that is pretty much limited to the Delaunay 3D filter, and it works
> fine if your polygonal dataset defines a convex volume. But there is
> no option to set that will do this automatically.
>
> - Cory
>
> On Sat, Jun 3, 2017 at 9:08 AM, Joel Kulesza  wrote:
> > Colleagues,
> >
> > Is there an option I'm not finding that would allow me to continually
> render
> > sources as solid volumes rather than shells?
> >
> > For example, if I plot a VTK data set and "clip" it, I see all internal
> > structure (because there is some).
> >
> > However, if I plot a Sphere and "clip" it, I see a spherical shell (see
> > attached).  I understand why this is, but I'd prefer to have the shell
> > capped so I have what appears to be a solid hemisphere.
> >
> > Any thoughts you can provide are appreciated!
> >
> > Thank you,
> > Joel
> >
> > ___
> > 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 ParaView Wiki at:
> > http://paraview.org/Wiki/ParaView
> >
> > Search the list archives at: http://markmail.org/search/?q=ParaView
> >
> > Follow this link to subscribe/unsubscribe:
> > http://public.kitware.com/mailman/listinfo/paraview
> >
>
>
>
> --
> Cory Quammen
> Staff R Engineer
> Kitware, Inc.
>
___
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 ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview


Re: [Paraview] Method to Clip Sources & View Closed Volumes?

2017-06-03 Thread Cory Quammen
Joel,

What you are seeing with the clipped sphere is indeed the clipped
polygonal data from the sphere source. The sphere source does not
produce volumetric cells inside the surface that you see, so there are
no internal cells that would be clipped and produce the filled
appearance you are after.

I'm betting the VTK dataset you viewed has volumetric cells. In that
case, you will see the surface of the clipped volumetric cells.

You would need to fill the interior of polygonal datasets with
volumetric cells through some kind of meshing procedure. In ParaView,
that is pretty much limited to the Delaunay 3D filter, and it works
fine if your polygonal dataset defines a convex volume. But there is
no option to set that will do this automatically.

- Cory

On Sat, Jun 3, 2017 at 9:08 AM, Joel Kulesza  wrote:
> Colleagues,
>
> Is there an option I'm not finding that would allow me to continually render
> sources as solid volumes rather than shells?
>
> For example, if I plot a VTK data set and "clip" it, I see all internal
> structure (because there is some).
>
> However, if I plot a Sphere and "clip" it, I see a spherical shell (see
> attached).  I understand why this is, but I'd prefer to have the shell
> capped so I have what appears to be a solid hemisphere.
>
> Any thoughts you can provide are appreciated!
>
> Thank you,
> Joel
>
> ___
> 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 ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Search the list archives at: http://markmail.org/search/?q=ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/paraview
>



-- 
Cory Quammen
Staff R Engineer
Kitware, Inc.
___
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 ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/paraview