|
Blender V4.3
|
#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 587 of file BKE_geometry_set.hh.
| blender::bke::CurveComponent::CurveComponent | ( | ) |
Definition at line 27 of file geometry_component_curves.cc.
| blender::bke::CurveComponent::CurveComponent | ( | Curves * | curve, |
| GeometryOwnershipType | ownership = GeometryOwnershipType::Owned ) |
Definition at line 29 of file geometry_component_curves.cc.
| blender::bke::CurveComponent::~CurveComponent | ( | ) |
Definition at line 34 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 729 of file geometry_component_curves.cc.
|
finalvirtual |
Reimplemented from blender::bke::GeometryComponent.
Definition at line 735 of file geometry_component_curves.cc.
|
overridevirtual |
Remove referenced data from the geometry component.
Implements blender::bke::GeometryComponent.
Definition at line 49 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 39 of file geometry_component_curves.cc.
|
overridevirtual |
Reimplemented from blender::bke::GeometryComponent.
Definition at line 124 of file geometry_component_curves.cc.
|
overridevirtual |
Implements blender::bke::GeometryComponent.
Definition at line 113 of file geometry_component_curves.cc.
| const Curves * blender::bke::CurveComponent::get | ( | ) | const |
Definition at line 88 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 131 of file geometry_component_curves.cc.
| Curves * blender::bke::CurveComponent::get_for_write | ( | ) |
Definition at line 93 of file geometry_component_curves.cc.
| bool blender::bke::CurveComponent::has_curves | ( | ) | const |
Definition at line 67 of file geometry_component_curves.cc.
|
finalvirtual |
Reimplemented from blender::bke::GeometryComponent.
Definition at line 103 of file geometry_component_curves.cc.
|
overridevirtual |
Implements blender::bke::GeometryComponent.
Definition at line 108 of file geometry_component_curves.cc.
| Curves * blender::bke::CurveComponent::release | ( | ) |
Definition at line 80 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 72 of file geometry_component_curves.cc.
|
inlinestaticconstexpr |
Definition at line 633 of file BKE_geometry_set.hh.