#include <FinalizeAlgorithms.hpp>
| Public Member Functions | |
| MeshBufferPtr | apply (const BaseMesh< BaseVecT > &mesh) | 
| void | setColorData (const VertexMap< Rgb8Color > &colorData) | 
| void | setNormalData (const VertexMap< Normal< typename BaseVecT::CoordType >> &normalData) | 
| SimpleFinalizer () | |
| Private Attributes | |
| boost::optional< const VertexMap< Rgb8Color > & > | m_colorData | 
| boost::optional< const VertexMap< Normal< typename BaseVecT::CoordType > > & > | m_normalData | 
Algorithm that converts a BaseMesh into a MeshBuffer while maintaining the original graph structure. This means that no duplicate vertices will be created and therefore no textures can be generated.
Definition at line 68 of file FinalizeAlgorithms.hpp.
| 
 | inline | 
Definition at line 75 of file FinalizeAlgorithms.hpp.
| MeshBufferPtr lvr2::SimpleFinalizer< BaseVecT >::apply | ( | const BaseMesh< BaseVecT > & | mesh | ) | 
Converts the given BaseMesh into a MeshBuffer and adds normal and color data if set
| mesh | the mesh to convert | 
| void lvr2::SimpleFinalizer< BaseVecT >::setColorData | ( | const VertexMap< Rgb8Color > & | colorData | ) | 
Sets vertex colors for the apply method. This has to be done before apply is called.
| colorData | color values for all vertices in the mesh which will be passed to apply | 
| void lvr2::SimpleFinalizer< BaseVecT >::setNormalData | ( | const VertexMap< Normal< typename BaseVecT::CoordType >> & | normalData | ) | 
Sets vertex normals for the apply method. This has to be done before apply is called.
| normalData | normals for all vertices in the mesh which will be passed to apply | 
| 
 | private | 
Definition at line 71 of file FinalizeAlgorithms.hpp.
| 
 | private | 
Definition at line 72 of file FinalizeAlgorithms.hpp.