Algorithm which generates the same color for all vertices, which are in the same cluster. More...
#include <ClusterPainter.hpp>
| Public Member Functions | |
| ClusterPainter (const ClusterBiMap< FaceHandle > &clusterBiMap) | |
| template<typename BaseVecT > | |
| DenseClusterMap< Rgb8Color > | simpsons (const BaseMesh< BaseVecT > &mesh) const | 
| Assign a pseudo-color to each cluster.  More... | |
| Private Member Functions | |
| Rgb8Color | getSimpsonColorForIdx (size_t idx) const | 
| Private Attributes | |
| ClusterBiMap< FaceHandle > | m_clusterBiMap | 
Algorithm which generates the same color for all vertices, which are in the same cluster.
Definition at line 55 of file ClusterPainter.hpp.
| 
 | inline | 
Definition at line 58 of file ClusterPainter.hpp.
| 
 | inlineprivate | 
Definition at line 70 of file ClusterPainter.hpp.
| DenseClusterMap<Rgb8Color> lvr2::ClusterPainter::simpsons | ( | const BaseMesh< BaseVecT > & | mesh | ) | const | 
Assign a pseudo-color to each cluster.
The color is deterministically determined by the cluster id.
| 
 | private | 
Definition at line 69 of file ClusterPainter.hpp.