Re: [Paraview] vtkCutter

2017-10-30 Thread Cory Quammen
Hmm, vtkContourTriangulator may not copy point data to its output. You can use Resample With Dataset to get the point data back in the output of vtkContourTriangulator. Select the input to the triangulator as well as the triangulator itself and add a Resample With Dataset Set filter. Set the Input

Re: [Paraview] vtkCutter

2017-10-26 Thread Heiland, Randy
Thanks very much, Cory! It did indeed (mostly) work for me. Wow, I continue to be amazed at PV. That was a super simple solution, thanks to the XML plugin option (and vtkContourTriangulator). I say “mostly” because I had some intersecting spheres in my test case and the filter got a bit

Re: [Paraview] vtkCutter

2017-10-26 Thread Cory Quammen
On Thu, Oct 26, 2017 at 11:15 AM, Heiland, Randy wrote: > Thanks! Before I start down that path, will this handle multiple, disjoint > polylines? E.g., a plane slicing through 2 spheres; I just want to cap the > sliced spheres. > I'm about 95% sure it will. It is fairly robust

Re: [Paraview] vtkCutter

2017-10-26 Thread Heiland, Randy
Thanks! Before I start down that path, will this handle multiple, disjoint polylines? E.g., a plane slicing through 2 spheres; I just want to cap the sliced spheres. > On Oct 26, 2017, at 11:10 AM, Cory Quammen wrote: > > There isn't a filter exposed in ParaView to

Re: [Paraview] vtkCutter

2017-10-26 Thread Cory Quammen
There isn't a filter exposed in ParaView to do this. You could expose vtkContourTriangulator in an XML plugin [1] and apply that to the polyline created by the planar Slice through your polygonal geometry. Cory [1] https://www.paraview.org/Wiki/ParaView/Plugin_HowTo#XML_Only On Thu, Oct 26,

Re: [Paraview] vtkCutter

2017-10-26 Thread Heiland, Randy
Yes, sorry I wasn’t clear. > On Oct 26, 2017, at 10:33 AM, Cory Quammen wrote: > > I'm not sure what you mean. Are you trying to clip some polygonal geometry > with a plane and want to fill in the hole created with a polygon? > > On Thu, Oct 26, 2017 at 10:24 AM,

Re: [Paraview] vtkCutter

2017-10-26 Thread Cory Quammen
I'm not sure what you mean. Are you trying to clip some polygonal geometry with a plane and want to fill in the hole created with a polygon? On Thu, Oct 26, 2017 at 10:24 AM, Heiland, Randy wrote: > Is there a property that lets me cap the results? > > On Oct 26, 2017, at 10:18

Re: [Paraview] vtkCutter

2017-10-26 Thread Heiland, Randy
Is there a property that lets me cap the results? > On Oct 26, 2017, at 10:18 AM, Cory Quammen wrote: > > Sounds like you want the Slice filter. > > On Thu, Oct 26, 2017 at 10:14 AM, Heiland, Randy > wrote: > I’m not seeing

Re: [Paraview] vtkCutter

2017-10-26 Thread Cory Quammen
Sounds like you want the Slice filter. On Thu, Oct 26, 2017 at 10:14 AM, Heiland, Randy wrote: > I’m not seeing the vtkCutter in the list of filters (well, perhaps the AMR > CutPlane). If not, any advice on how to accomplish it for some polydata? >

[Paraview] vtkCutter

2017-10-26 Thread Heiland, Randy
I’m not seeing the vtkCutter in the list of filters (well, perhaps the AMR CutPlane). If not, any advice on how to accomplish it for some polydata? https://www.paraview.org/Wiki/Python_Programmable_Filter ? Thanks! smime.p7s

Re: [Paraview] vtkCutter

2017-10-18 Thread Samuel Key
Randy-- Have you tried to use ParaView's Clip Filter with Clip Type selection set to "Box" --Sam On 10/17/2017 1:55 PM, Heiland, Randy wrote: Thanks. Actually, I did a poor job explaining what I want to do. I’d like to have *partial* clip planes (as opposed to “infinite" planes over the

Re: [Paraview] vtkCutter

2017-10-18 Thread Heiland, Randy
Silly me. I see now that it’s just a matter of using multiple Clip filters, using planes with orthogonal normals, resulting in the desired boolean set of points. Still need to figure out how to cap the clipped glyphs though… > On Oct 17, 2017, at 3:55 PM, Heiland, Randy wrote:

Re: [Paraview] vtkCutter

2017-10-17 Thread Heiland, Randy
Thanks. Actually, I did a poor job explaining what I want to do. I’d like to have *partial* clip planes (as opposed to “infinite" planes over the entire domain). More specifically, my current use case is a bunch of spheres (representing biological cells) inside a spheroidal tumor. I’d like to

Re: [Paraview] vtkCutter

2017-10-17 Thread Mathieu Westphal
Hello It is called Slice, and is available in the Filters and in the Common Filters toolbar. Best, Mathieu Westphal On Tue, Oct 17, 2017 at 2:30 PM, Heiland, Randy wrote: > Is vtkCutter not directly accessible in PV (from the menus)? I’d like to > do something similar to: >

[Paraview] vtkCutter

2017-10-17 Thread Heiland, Randy
Is vtkCutter not directly accessible in PV (from the menus)? I’d like to do something similar to: https://www.vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/VisualizationAlgorithms/Python/ClipCow.py