牛骨文教育服务平台(让学习变的简单)
博文笔记

Matlab读取ply文件,polydata

创建时间:2016-06-30 投稿人: 浏览次数:225

PLY_IO 
Read or Write a PLY File


PLY_IO is a MATLAB library which reads or writes data describing a polygonal mesh in a PLY file.

PLY file contains a sophisticated data structure describing a polygonal surface. A triangulated mesh is a very simply case of such a surface; a PLY file can also describe a mesh surface involving higher order polygons, and it can contain auxilliary information about normal vectors and so on.

TRI_MESH or triangulated mesh surface, is described by a pair of arrays:

  • node coordinate array containing the coordinates of nodes;
  • triangle node array containing triples of the indices of the nodes used to form each triangle;

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Languages:

PLY_IO is available in a C version and a MATLAB version,

Related Data and Programs:

BEZIER_SURFACE_DISPLAY, a MATLAB program which reads two files defining a Bezier surface and displays it.

FEM_BASIS_T3_DISPLAY, a MATLAB program which displays a basis function associated with a linear triangle ("T3") mesh.

FEM_BASIS_T6_DISPLAY, a MATLAB program which reads a quadratic triangle mesh and displays any associated basis function.

OBJ_TO_PLY, a C program which converts an Wavefront OBJ file to PLY format.

PLATO_PLY, a C program which creates a Platonic solid and writes it to an ASCII PLY file, by Greg Turk.

PLY, a data directory which contains a description and examples of PLY files.

PLY_DISPLAY, a MATLAB program which displays an image of a 3D graphics file in PLY format;

PLY_TO_IV, a C program which converts a PLY file to INVENTOR format.

PLY_TO_OBJ, a C program which reads a PLY 3D graphics file and writes an equivalent OBJ graphics file.

POLYGONAL_SURFACE, a data directory which contains examples of polygonal surface files.

STLA_DISPLAY, a MATLAB program which reads an ASCII STL file and displays it.

TRIANGULATION_DISPLAY_OPENGL, a C++ program which reads files defining a triangulation and displays an image using OpenGL.

Author:

The original versions of the files PLY_READ.MPLY_WRITE.M and PLY_TO_TRI_MESH.M were created by Pascal Getreuer.

Source Code:

Examples and Tests:

You can go up one level to the MATLAB source codes.


Last revised on 25 June 2007.
声明:该文观点仅代表作者本人,牛骨文系教育信息发布平台,牛骨文仅提供信息存储空间服务。