Blender
V4.5
source
blender
editors
sculpt_paint
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
15
struct
BMVert
;
16
struct
Object
;
17
struct
SubdivCCG
;
18
struct
SubdivCCGCoord
;
19
namespace
blender::bke::pbvh
{
20
struct
MeshNode;
21
}
22
23
namespace
blender::ed::sculpt_paint::hide
{
24
25
Span<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. */
30
bool
vert_all_faces_visible_get
(Span<bool> hide_poly, GroupedSpan<int> vert_to_face_map,
int
vert);
31
bool
vert_all_faces_visible_get
(Span<bool> hide_poly,
32
const
SubdivCCG
&subdiv_ccg,
33
SubdivCCGCoord
vert);
34
bool
vert_all_faces_visible_get
(
BMVert
*vert);
35
36
}
// namespace blender::ed::sculpt_paint::hide
BLI_offset_indices.hh
BLI_span.hh
BLI_vector.hh
Vector
float[3] Vector
Definition
BlenderTypes.h:11
node
OperationNode * node
Definition
deg_builder_cycle.cc:38
indices
static ushort indices[]
Definition
geom_arrow_gizmo.cc:45
blender::bke::pbvh
Definition
BKE_paint.hh:41
blender::ed::sculpt_paint::hide
Definition
paint_hide.cc:51
blender::ed::sculpt_paint::hide::vert_all_faces_visible_get
bool vert_all_faces_visible_get(const Span< bool > hide_poly, const GroupedSpan< int > vert_to_face_map, const int vert)
Definition
sculpt_hide.cc:39
blender::ed::sculpt_paint::hide::node_visible_verts
Span< int > node_visible_verts(const bke::pbvh::MeshNode &node, const Span< bool > hide_vert, Vector< int > &indices)
Definition
sculpt_hide.cc:20
BMVert
Definition
bmesh_class.hh:90
Object
Definition
DNA_object_types.h:192
SubdivCCGCoord
Definition
BKE_subdiv_ccg.hh:65
SubdivCCG
Definition
BKE_subdiv_ccg.hh:112
Generated on Fri Apr 3 2026 06:33:18 for Blender by
doxygen
1.11.0