Blender V4.3
sculpt_hide.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2024 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
9#pragma once
10
11#include "BLI_offset_indices.hh"
12#include "BLI_span.hh"
13#include "BLI_vector.hh"
14
15struct BMVert;
16struct Object;
17struct SubdivCCG;
18struct SubdivCCGCoord;
19namespace blender::bke::pbvh {
20struct MeshNode;
21}
22
24
25Span<int> node_visible_verts(const bke::pbvh::MeshNode &node,
26 Span<bool> hide_vert,
27 Vector<int> &indices);
28
29/* Determines if all faces attached to a given vertex are visible. */
30bool vert_all_faces_visible_get(Span<bool> hide_poly, GroupedSpan<int> vert_to_face_map, int vert);
31bool vert_all_faces_visible_get(Span<bool> hide_poly,
32 const SubdivCCG &subdiv_ccg,
33 SubdivCCGCoord vert);
35
36} // namespace blender::ed::sculpt_paint::hide
bool vert_all_faces_visible_get(const Span< bool > hide_poly, const GroupedSpan< int > vert_to_face_map, const int vert)
Span< int > node_visible_verts(const bke::pbvh::MeshNode &node, const Span< bool > hide_vert, Vector< int > &indices)