SCIRun User Mailing List

Text archives Help

Re: [SCIRUN-USERS] Interpolation

Chronological Thread 
  • From: Vikas R bhat <>
  • To: Jess <>
  • Cc: Petar Petrov <>,
  • Subject: Re: [SCIRUN-USERS] Interpolation
  • Date: Wed, 7 Mar 2018 12:09:15 +0530

Thank you so much,
MapfieldDataontoelems or mapfielddatafrom source (points) to destination (create image) both worked. After that I clipped the field to form a hexagon 2d mesh.

On Mon, Mar 5, 2018 at 11:03 PM, Jess <> wrote:
Hi Vikas,

Building of what Petar said, you can set a maximum distance to the mapping with the background value to nan, then use clipfieldbyfunction to clip out values that are nan (isfinite(DATA1);).  You can use also interfacewithtetgen to make a convex hull of tetrahedral elements. For a 2D quad mesh, you can use createimage (SCIRun 4) instead of createlatvol and do the same steps.  

If you are talking about doing linear interpolation from point clouds, you need to make a mesh first with interface with tetgen. then you can use the linear basis for mapping.  


On Mar 5, 2018, at 6:26 AM, Petar Petrov <> wrote:

Hi Vikas,

all you need to do is :
1)load the point cloud (ReadField text format)
2)create lattice/hex structured mesh
3)deform the mesh to acceptible size and place correctly to overlap with the pointcloud in 3D world space
4)use the module MapFieldDataFromSourceToDestination, where source is the point cloud and structured mesh is the destination

optionally, you can use similar module for mapping from nodes to elements or vice-versa


On Mon, Mar 5, 2018 at 1:16 PM, Vikas R bhat <> wrote:

I have point cloud data in .txt. which contain  hexagonal nodes. I am trying to interpolate these nodes and create a field/ mesh type.

I tried to createLatVol flat pad with size of (7, 0, 13) that is connected to the imported .txt field. But this contained the corner points. Is it possible to remove these corner points and crop only the hexagonal nodes and form a hexagonal field..

Or say I have my predefined point cloud field data, will it be possible to connect (interpolate) the nodes and make it look like a field/mesh data (2D hexagonal flat mesh).




SCIRun users mailing list:
To unsubscribe, email with the "unsubscribe scirun-users" in the message body.

All the best,
Petar Petrov

SCIRun users mailing list:
To unsubscribe, email with the "unsubscribe scirun-users" in the message body.


Contact: +91 9481263176

Archive powered by MHonArc 2.6.18.

Top of page