14#include <lagrange/SurfaceMesh.h>
17#include <lagrange/utils/warnoff.h>
18#include <polyscope/point_cloud.h>
19#include <lagrange/utils/warnon.h>
22namespace lagrange::polyscope {
35template <
typename Scalar,
typename Index>
36::polyscope::PointCloud* register_point_cloud(
37 std::string_view name,
38 const SurfaceMesh<Scalar, Index>& mesh);
52template <
typename ValueType>
53::polyscope::PointCloudQuantity* register_attribute(
54 ::polyscope::PointCloud& ps_point_cloud,
55 std::string_view name,
56 const lagrange::Attribute<ValueType>& attr);