Result struct for the materializer. More...
#include <FinalizeAlgorithms.hpp>
Public Member Functions | |
| MaterializerResult (DenseClusterMap< Material > clusterMaterials) | |
| Constructor. More... | |
| MaterializerResult (DenseClusterMap< Material > clusterMaterials, StableVector< TextureHandle, Texture > textures, SparseVertexMap< ClusterTexCoordMapping > vertexTexCoords, std::unordered_map< BaseVecT, std::vector< float >> keypoints) | |
| Constructor. More... | |
Public Attributes | |
| DenseClusterMap< Material > | m_clusterMaterials |
| Materials for each cluster. More... | |
| boost::optional< std::unordered_map< BaseVecT, std::vector< float > > > | m_keypoints |
| Keypoints. More... | |
| boost::optional< StableVector< TextureHandle, Texture > > | m_textures |
| A stable vector of textures. each texture is identified by a tex.-handle. More... | |
| boost::optional< SparseVertexMap< ClusterTexCoordMapping > > | m_vertexTexCoords |
| Cluster texture coordinates for each vertex. More... | |
Result struct for the materializer.
This struct is a wrapper type for the result of the materializer. It contains a map from cluster to material and may contain optional texture data
Definition at line 61 of file FinalizeAlgorithms.hpp.
|
inline |
Constructor.
| clusterMaterials | The cluster material map |
Definition at line 92 of file Materializer.hpp.
|
inline |
Constructor.
| clusterMaterials | The cluster material map |
| textures | The stable vector of textures |
| vertexTexCoords | The vertex texture coordinates |
| keypoints | The keypoints |
Definition at line 107 of file Materializer.hpp.
| DenseClusterMap<Material> lvr2::MaterializerResult::m_clusterMaterials |
Materials for each cluster.
Definition at line 76 of file Materializer.hpp.
| boost::optional<std::unordered_map<BaseVecT, std::vector<float> > > lvr2::MaterializerResult::m_keypoints |
Keypoints.
Definition at line 85 of file Materializer.hpp.
| boost::optional<StableVector<TextureHandle, Texture> > lvr2::MaterializerResult::m_textures |
A stable vector of textures. each texture is identified by a tex.-handle.
Definition at line 79 of file Materializer.hpp.
| boost::optional<SparseVertexMap<ClusterTexCoordMapping> > lvr2::MaterializerResult::m_vertexTexCoords |
Cluster texture coordinates for each vertex.
Definition at line 82 of file Materializer.hpp.