|
Blender V5.0
|
#include <BKE_geometry_set.hh>
Inherits blender::bke::GeometryComponent.
Static Public Attributes | |
| static constexpr GeometryComponent::Type | static_type = Type::Curve |
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 } |
| static GeometryComponentPtr | create (Type component_type) |
A geometry component that stores a group of curves, corresponding the Curves data-block and the CurvesGeometry type. Attributes are stored on the control point domain and the curve domain.
Definition at line 589 of file BKE_geometry_set.hh.
Definition at line 23 of file geometry_component_curves.cc.
| blender::bke::CurveComponent::CurveComponent | ( | Curves * | curve, |
| GeometryOwnershipType | ownership = GeometryOwnershipType::Owned ) |
Definition at line 25 of file geometry_component_curves.cc.
|
override |
Definition at line 30 of file geometry_component_curves.cc.
|
finalvirtual |
Get access to the attributes in this geometry component. May return none if the geometry does not support the attribute system.
Reimplemented from blender::bke::GeometryComponent.
Definition at line 313 of file geometry_component_curves.cc.
|
finalvirtual |
Reimplemented from blender::bke::GeometryComponent.
Definition at line 319 of file geometry_component_curves.cc.
|
overridevirtual |
Remove referenced data from the geometry component.
Implements blender::bke::GeometryComponent.
Definition at line 45 of file geometry_component_curves.cc.
|
overridevirtual |
Copies the component. The returned component only has a single user and is therefor mutable.
Implements blender::bke::GeometryComponent.
Definition at line 35 of file geometry_component_curves.cc.
|
overridevirtual |
Reimplemented from blender::bke::GeometryComponent.
Definition at line 120 of file geometry_component_curves.cc.
|
overridevirtual |
Implements blender::bke::GeometryComponent.
Definition at line 109 of file geometry_component_curves.cc.
| const Curves * blender::bke::CurveComponent::get | ( | ) | const |
Definition at line 84 of file geometry_component_curves.cc.
| const Curve * blender::bke::CurveComponent::get_curve_for_render | ( | ) | const |
Create empty curve data used for rendering the spline's wire edges.
Definition at line 127 of file geometry_component_curves.cc.
Definition at line 89 of file geometry_component_curves.cc.
| bool blender::bke::CurveComponent::has_curves | ( | ) | const |
Definition at line 63 of file geometry_component_curves.cc.
|
finalvirtual |
Reimplemented from blender::bke::GeometryComponent.
Definition at line 99 of file geometry_component_curves.cc.
|
overridevirtual |
Implements blender::bke::GeometryComponent.
Definition at line 104 of file geometry_component_curves.cc.
Definition at line 76 of file geometry_component_curves.cc.
| void blender::bke::CurveComponent::replace | ( | Curves * | curve, |
| GeometryOwnershipType | ownership = GeometryOwnershipType::Owned ) |
Clear the component and replace it with the new curve.
Definition at line 68 of file geometry_component_curves.cc.
|
staticconstexpr |
Definition at line 635 of file BKE_geometry_set.hh.