[Paraview] vtkCutter

Heiland, Randy heiland at iu.edu
Wed Oct 18 05:00:59 EDT 2017


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 <heiland at iu.edu> 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 entire domain). More specifically, my current use case is a bunch of spheres (representing biological cells) inside a spheroidal tumor. I’d like to cut out an octant, for example, from that spheroid to be able to peer inside better.
> 
> I’ve mocked up an example, using random points, and put the PV state file at https://github.com/rheiland/paraview_play <https://github.com/rheiland/paraview_play>  (along with some sample /images). I just used the Box option of the Clip filter, because the Plane option seems to define an infinite plane (via Point and Normal). But the Box params (Position, Rotate, Scale) is not intuitive for my use case. Ideally I’d like to be able to specify a Corner and 3 Vectors. And, eventually, I’d like “cutter” results, where the spheres/cells are actually cut and capped.
> 
> So perhaps, I need an alternative pipeline for my use case. Suggestions welcome. For that matter, am I mistaken in thinking I can do what I want using OSPRay spheres?
> 
> thanks! -Randy
> 
>> On Oct 17, 2017, at 8:37 AM, Mathieu Westphal <mathieu.westphal at kitware.com <mailto:mathieu.westphal at kitware.com>> wrote:
>> 
>> 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 <heiland at iu.edu <mailto:heiland at iu.edu>> wrote:
>> 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 <https://www.vtk.org/gitweb?p=VTK.git;a=blob;f=Examples/VisualizationAlgorithms/Python/ClipCow.py>
>> 
>> for my dataset.
>> 
>> thanks, Randy
>> 
>> _______________________________________________
>> Powered by www.kitware.com <http://www.kitware.com/>
>> 
>> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html <http://www.kitware.com/opensource/opensource.html>
>> 
>> Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView <http://paraview.org/Wiki/ParaView>
>> 
>> Search the list archives at: http://markmail.org/search/?q=ParaView <http://markmail.org/search/?q=ParaView>
>> 
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/paraview <http://public.kitware.com/mailman/listinfo/paraview>
>> 
>> 
> 
> _______________________________________________
> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20171018/e86c18d8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4035 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20171018/e86c18d8/attachment.bin>


More information about the ParaView mailing list