|
Blender V5.0
|
#include <BKE_geometry_set.hh>
Inherits blender::bke::GeometryComponent.
Static Public Member Functions | |
| static void | remember_deformed_positions_if_necessary (GeometrySet &geometry) |
| static GeometryComponentPtr | create (Type component_type) |
Public Attributes | |
| std::unique_ptr< CurvesEditHints > | curves_edit_hints_ |
| std::unique_ptr< GreasePencilEditHints > | grease_pencil_edit_hints_ |
| std::unique_ptr< GizmoEditHints > | gizmo_edit_hints_ |
Static Public Attributes | |
| static constexpr GeometryComponent::Type | static_type = GeometryComponent::Type::Edit |
Additional Inherited Members | |
| Public Types inherited from blender::bke::GeometryComponent | |
| enum class | Type { Mesh = 0 , PointCloud = 1 , Instance = 2 , Volume = 3 , Curve = 4 , Edit = 5 , GreasePencil = 6 } |
When the original data is in some edit mode, we want to propagate some additional information through object evaluation. This information can be used by edit modes to support working on evaluated data.
This component is added at the beginning of modifier evaluation.
Definition at line 730 of file BKE_geometry_set.hh.
Definition at line 12 of file geometry_component_edit_data.cc.
|
overridevirtual |
Remove referenced data from the geometry component.
Implements blender::bke::GeometryComponent.
Definition at line 40 of file geometry_component_edit_data.cc.
|
finalvirtual |
Copies the component. The returned component only has a single user and is therefor mutable.
Implements blender::bke::GeometryComponent.
Definition at line 14 of file geometry_component_edit_data.cc.
|
finalvirtual |
Implements blender::bke::GeometryComponent.
Definition at line 35 of file geometry_component_edit_data.cc.
|
finalvirtual |
Implements blender::bke::GeometryComponent.
Definition at line 30 of file geometry_component_edit_data.cc.
|
static |
The first node that does topology changing operations on curves should store the curve point positions it retrieved as input. Without this, information about the deformed positions is lost, which would make curves sculpt mode fall back to using original curve positions instead of deformed ones.
Definition at line 126 of file geometry_component_edit_data.cc.
Referenced by blender::nodes::node_geo_duplicate_elements_cc::duplicate_curves(), blender::nodes::node_geo_duplicate_elements_cc::duplicate_layers(), blender::nodes::node_geo_curve_resample_cc::node_geo_exec(), blender::nodes::node_geo_curve_reverse_cc::node_geo_exec(), blender::nodes::node_geo_curve_subdivide_cc::node_geo_exec(), blender::nodes::node_geo_curve_to_points_cc::node_geo_exec(), blender::nodes::node_geo_curve_trim_cc::node_geo_exec(), blender::nodes::node_geo_interpolate_curves_cc::node_geo_exec(), blender::nodes::node_geo_join_geometry_cc::node_geo_exec(), blender::nodes::node_geo_realize_instances_cc::node_geo_exec(), and blender::nodes::node_geo_sort_elements_cc::node_geo_exec().
| std::unique_ptr<CurvesEditHints> blender::bke::GeometryComponentEditData::curves_edit_hints_ |
Information about how original curves are manipulated during evaluation. This data is used so that curve sculpt tools can work on evaluated data. It is not stored in CurveComponent because the data remains valid even when there is no actual curves geometry anymore, for example, when the curves have been converted to a mesh.
Definition at line 738 of file BKE_geometry_set.hh.
| std::unique_ptr<GizmoEditHints> blender::bke::GeometryComponentEditData::gizmo_edit_hints_ |
Propagated information for how gizmos should be transformed along with the geometry.
Definition at line 746 of file BKE_geometry_set.hh.
| std::unique_ptr<GreasePencilEditHints> blender::bke::GeometryComponentEditData::grease_pencil_edit_hints_ |
Information about how drawings on the grease pencil layers are manipulated during evaluation.
Definition at line 742 of file BKE_geometry_set.hh.
|
staticconstexpr |
Definition at line 764 of file BKE_geometry_set.hh.