MEPP2 Project
Mesh_vector_representation.h
Go to the documentation of this file.
1 // Copyright (c) 2012-2019 University of Lyon and CNRS (France).
2 // All rights reserved.
3 //
4 // This file is part of MEPP2; you can redistribute it and/or modify
5 // it under the terms of the GNU Lesser General Public License as
6 // published by the Free Software Foundation; either version 3 of
7 // the License, or (at your option) any later version.
8 //
9 // This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
10 // WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
11 #pragma once
12 
13 #include <string>
14 #include <vector>
15 
16 #include "FEVV/Types/Material.h"
17 
18 
19 namespace FEVV {
20 namespace Types {
21 
22 
26 template< typename coordP_type,
27  typename coordN_type,
28  typename coordT_type,
29  typename coordC_type,
30  typename index_type >
31 struct MVR /* Mesh Vector Representation */
32 {
33  std::vector< std::vector< coordP_type > > points_coords;
34  std::vector< std::vector< coordN_type > > normals_coords;
35  std::vector< std::vector< coordT_type > > texture_coords;
36  std::vector< std::vector< coordC_type > > vertex_color_coords;
37  std::vector< std::vector< coordC_type > > face_color_coords;
38  std::vector< std::vector< index_type > > lines_indices, faces_indices;
39  std::vector< std::vector< index_type > > texture_face_indices;
40  std::vector< std::vector< index_type > > normal_face_indices;
41  std::vector< std::vector< coordC_type > > points_colors, faces_colors,
43  std::vector< index_type > face_material;
44  std::vector< FEVV::Types::Material > materials;
45  std::vector< std::vector< std::vector< double > > > field_attributes;
46  std::vector< std::string > field_names;
47 };
48 
49 
50 } // namespace Types
51 } // namespace FEVV
FEVV::Types::MVR
Definition: Mesh_vector_representation.h:32
FEVV::Types::MVR::points_coords
std::vector< std::vector< coordP_type > > points_coords
Definition: Mesh_vector_representation.h:33
FEVV::Types::MVR::normal_face_indices
std::vector< std::vector< index_type > > normal_face_indices
Definition: Mesh_vector_representation.h:40
FEVV::Types::MVR::field_attributes
std::vector< std::vector< std::vector< double > > > field_attributes
Definition: Mesh_vector_representation.h:45
Material.h
FEVV::Types::MVR::lines_colors
std::vector< std::vector< coordC_type > > lines_colors
Definition: Mesh_vector_representation.h:42
FEVV::Types::MVR::faces_indices
std::vector< std::vector< index_type > > faces_indices
Definition: Mesh_vector_representation.h:38
FEVV
Interfaces for plugins These interfaces will be used for different plugins.
Definition: Assert.h:16
FEVV::Types::MVR::points_colors
std::vector< std::vector< coordC_type > > points_colors
Definition: Mesh_vector_representation.h:41
FEVV::Types::MVR::faces_colors
std::vector< std::vector< coordC_type > > faces_colors
Definition: Mesh_vector_representation.h:41
FEVV::Types::MVR::face_material
std::vector< index_type > face_material
Definition: Mesh_vector_representation.h:43
FEVV::Types::MVR::field_names
std::vector< std::string > field_names
Definition: Mesh_vector_representation.h:46
FEVV::Types::MVR::normals_coords
std::vector< std::vector< coordN_type > > normals_coords
Definition: Mesh_vector_representation.h:34
FEVV::Types::MVR::materials
std::vector< FEVV::Types::Material > materials
Definition: Mesh_vector_representation.h:44
FEVV::Types::MVR::texture_face_indices
std::vector< std::vector< index_type > > texture_face_indices
Definition: Mesh_vector_representation.h:39
FEVV::Types::MVR::lines_indices
std::vector< std::vector< index_type > > lines_indices
Definition: Mesh_vector_representation.h:38
FEVV::Types::MVR::face_color_coords
std::vector< std::vector< coordC_type > > face_color_coords
Definition: Mesh_vector_representation.h:37
FEVV::Types::MVR::texture_coords
std::vector< std::vector< coordT_type > > texture_coords
Definition: Mesh_vector_representation.h:35
FEVV::Types::MVR::vertex_color_coords
std::vector< std::vector< coordC_type > > vertex_color_coords
Definition: Mesh_vector_representation.h:36