![]() ![]() Values outside this range will result in undefined behaviour. This constructor creates a custom per face scalar attribute called poly_birth_faces that stores, for each face of the newly created mesh, the index of the polygonal mesh that generated it.Color matrices have four columns (RGBA) and values are floats in the range. Since MeshLab and PyMeshLab can store only triangle meshes, the newly created mesh is actually a triangle mesh with some edges that are marked as ‘faux’. At least a numpy array of vertices and a list of numpy arrays of face indices is required. _init_(self: pmeshlab.Mesh, vertex_matrix: numpy.ndarray], face_list_of_indices: List]], v_normals_matrix: numpy.ndarray] = array(, shape=(0, 3), dtype=float64), f_normals_matrix: numpy.ndarray] = array(, shape=(0, 3), dtype=float64), v_scalar_array: numpy.ndarray] = array(, dtype=float64), f_scalar_array: numpy.ndarray] = array(, dtype=float64), v_color_matrix: numpy.ndarray] = array(, shape=(0, 4), dtype=float64), f_color_matrix: numpy.ndarray] = array(, shape=(0, 4), dtype=float64)) -> NoneĬreates a polygon mesh containing the data passed as input. ![]() ![]() Color matrices have four columns (RGBA) and values are floats in the range. If no data is passed as argument, an empty mesh will be created. _init_(self: pmeshlab.Mesh, vertex_matrix: numpy.ndarray] = array(, shape=(0, 3), dtype=float64), face_matrix: numpy.ndarray] = array(, shape=(0, 3), dtype=int32), edge_matrix: numpy.ndarray] = array(, shape=(0, 2), dtype=int32), v_normals_matrix: numpy.ndarray] = array(, shape=(0, 3), dtype=float64), f_normals_matrix: numpy.ndarray] = array(, shape=(0, 3), dtype=float64), v_scalar_array: numpy.ndarray] = array(, dtype=float64), f_scalar_array: numpy.ndarray] = array(, dtype=float64), v_color_matrix: numpy.ndarray] = array(, shape=(0, 4), dtype=float64), f_color_matrix: numpy.ndarray] = array(, shape=(0, 4), dtype=float64)) -> NoneĬreates a mesh containing the data passed as input. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |