Tecplot provides, downloadable from their website, a library called tecio.
It's limited to a header and a .so (I think .dll is available on windows...), and it's very...fortranish... But it can read and write the binary tecplot format, and is available for most platforms in common use today. Once you have the tecplot format in memory (as a 2d array of doubles), you can write out any format you please, including any of those available in vmtk.

Alternately, you can use swig to wrap a small C program in a python module, and then write a pypes/vmtkScripts compatible python script that reads the tecplot binary file into memory, populates the appropriate VTK data structure (vtkPolyData most likely), and then passes it down into the next step in the vmtk pipeline.
-rd

On 05/14/2013 09:29 AM, Yong He wrote:
Hi Luca,

To test the methodology, by changing the header as

VARIABLES = X,Y,Z,WSS
ZONE T="ew", N=388, E=564, ZONETYPE=FETriangal

I could read the dat file correctly for a triangular surface mesh and write as a vtp file in VMTK. The contour plot of unwrapped vessel can be created in Matlab.

Tecplot does not have the functionality of converting a quadrilateral surface mesh to a triangular mesh. Tecplot does not export ascii data in earlier version; only binary files are supported. Paraview can read the binary output file from Tecplot, but I did not find a way of exporting a file that is readable by VMTK. Do you know if I can do something in Paraview or any other software? I attached one example Tecplot binary plt file in case you need it. Thank you very much.

Yong



------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d


_______________________________________________
vmtk-users mailing list
vmtk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vmtk-users

------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
vmtk-users mailing list
vmtk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vmtk-users

Reply via email to