[Paraview] Plot over spline or intersecting plane
Cory Quammen
cory.quammen at kitware.com
Fri Jun 30 10:32:27 EDT 2017
Alan,
I'm not very familiar with the use of Plot On Intersection Curves, so I'm
not sure if that would be applicable in this use case.
My thought was to use a Spline Source to create the curve to plot, then
resample the data onto that spline and plot the result, which looks like
this:
[image: Inline image 1]
However, a couple things make this approach not work well:
a) The spline source controls points can be snapped to the surface, but the
points between the control points will not conform to the surface exactly,
instead being somewhat to one side or the other of the surface. This will
lead to problems when resampling the data on the spline.
b) To plot this well, the spline source would need to produce an array
containing the distance along the length of the spline so that your data
points in the plot are spaced the same way the data points are spaced on
the spline.
Another way might be to Extract Surface, Slice the data with a plane clip
type, then use the Clip filter to select the portion you wish to plot. For
an isosurface extracted from the Wavelet, this looks like:
[image: Inline image 2]
Note the black curve at the bottom of the surface is the one being plotted.
Again, this won't contain any kind of distance along the resulting curve,
so the plot points may not be spaced how you want them in your plot.
- Cory
On Fri, Jun 9, 2017 at 5:25 PM, Scott, W Alan <wascott at sandia.gov> wrote:
> I am trying to figure out how to plot over more complex surfaces than a
> straight line. Say a user wants to plot over a curved line, with the line
> matching the inside surface of the can.exo. Can you now do this? How
> would a user control the line?
>
>
>
> Is the Plot On Intersection Curves filter what I want?
>
>
>
> Thanks,
>
>
>
> Alan
>
>
>
> _______________________________________________
> 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&D Engineer
Kitware, Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170630/53dee421/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 140605 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170630/53dee421/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 150465 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170630/53dee421/attachment-0003.png>
More information about the ParaView
mailing list