[Insight-users] Contribution: Filters to read and write for .off mesh file format

Guanglei Xiong wumengda at gmail.com
Sat Mar 27 00:38:58 EDT 2010


Hi all,

    I have written filters to read and write for .off mesh file format,
which are attached in the email. The current version only handles triangular
cell types.
A simple test is also attached. I hope this contritbution will helps people
try to reader mesh file format other than vtk format. Any feedback is very
welcome.
BTW, other mesh types (.obj, .ply, etc. ) can be converted to .off using
meshlab (*http://meshlab*.sourceforge.net/).

Thanks,
Guanglei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100326/71c912b0/attachment-0001.htm>
-------------- next part --------------
cmake_minimum_required(VERSION 2.4)

PROJECT(itkOFFMeshTest)

FIND_PACKAGE(ITK REQUIRED)
INCLUDE(${ITK_USE_FILE})

ADD_EXECUTABLE(itkOFFMeshTest ${EXECUTABLE_FLAG} itkOFFMeshTest.cxx)
TARGET_LINK_LIBRARIES(itkOFFMeshTest ITKIO ITKCommon)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: itkOFFMeshReader.h
Type: application/octet-stream
Size: 3174 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100326/71c912b0/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: itkOFFMeshReader.txx
Type: application/octet-stream
Size: 5569 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100326/71c912b0/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: itkOFFMeshWriter.h
Type: application/octet-stream
Size: 2786 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100326/71c912b0/attachment-0007.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: itkOFFMeshWriter.txx
Type: application/octet-stream
Size: 3596 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100326/71c912b0/attachment-0008.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: itkOFFMeshTest.cxx
Type: application/octet-stream
Size: 1501 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100326/71c912b0/attachment-0009.obj>


More information about the Insight-users mailing list