91 if (params_.check_non_editable) {
133 if (!geometry_set.
has(type)) {
164 if (!geometry_set.
has(type)) {
180 if (
const std::optional<bke::AttributeAccessor> attributes = component.
attributes()) {
188 if (
const Instances *instances = instance_component.
get()) {
237 if (params_.check_AttributeAccessor) {
238 if (params_.check_AttributeAccessor(accessor)) {
247 if (params_.edit_AttributeAccessor) {
248 params_.edit_AttributeAccessor(accessor);
280 if (!params_.ignore_non_geometry_instances) {
299 for (
const auto &item : bundle.
items()) {
300 if (
const auto *socket_value = std::get_if<nodes::BundleItemSocketValue>(&item.value.value))
312 for (
auto &&item : bundle.
items()) {
313 if (
auto *socket_value = std::get_if<nodes::BundleItemSocketValue>(&item.value.value)) {
336 if (params_.check_GField) {
337 if (params_.check_GField(field)) {
346 if (params_.edit_GField) {
347 params_.edit_GField(field);
355 bool need_edit =
false;
364 bool need_edit =
false;
373 bool need_edit =
false;
385 bool need_edit =
false;
Low-level operations for curves.
Low-level operations for grease pencil.
const CPPType * type() const
const CPPType * type() const
T & ensure_mutable_inplace()
virtual std::optional< AttributeAccessor > attributes() const
virtual std::optional< MutableAttributeAccessor > attributes_for_write()
const GreasePencil * get() const
GreasePencil * get_for_write()
void to_geometry_set(GeometrySet &r_geometry_set) const
GeometrySet & geometry_set()
Instances * get_for_write()
const Instances * get() const
T & emplace(Args &&...args)
void edit_InstanceReference(bke::InstanceReference &reference)
bool check_AttributeAccessor(const bke::AttributeAccessor &accessor)
bool check_GeometryComponent(const GeometryComponent &component)
void edit_Layer(GreasePencil &grease_pencil, greasepencil::Layer &layer)
void edit_AttributeAccessor(bke::MutableAttributeAccessor &accessor)
bool check_GList(const nodes::GList &list)
void edit_SocketValueVariant(SocketValueVariant &value)
void edit_GeometryComponent(GeometryComponent &component)
void edit_GPointer(GMutablePointer value)
void edit_GField(fn::GField &field)
bool check_GPointer(const GPointer value_ptr)
void edit_GeometrySet(GeometrySet &geometry_set)
void edit_GList(nodes::GList &list)
bool check_Closure(const nodes::Closure &closure)
bool check_Layer(const GreasePencil &grease_pencil, const greasepencil::Layer &layer)
bool check_GField(const fn::GField &field)
RecursiveVisitor(const VisitParams &visitors)
bool check_GeometrySet(const GeometrySet &geometry_set)
bool check_Bundle(const nodes::Bundle &bundle)
bool check_InstanceReference(const bke::InstanceReference &reference)
bool check_SocketValueVariant(const SocketValueVariant &value)
void edit_Bundle(nodes::Bundle &bundle)
BundleItemMap::ItemIterator items() const
Span< bke::SocketValueVariant > default_input_values() const
Span< const bke::SocketValueVariant * > captured_values() const
void edit_recursive(SocketValueVariant &value, const VisitParams ¶ms)
void check_recursive(const SocketValueVariant &value, const VisitParams ¶ms)
ImplicitSharingPtr< Closure > ClosurePtr
ImplicitSharingPtr< Bundle > BundlePtr
GeometryComponent & get_component_for_write(GeometryComponent::Type component_type)
nodes::Bundle & bundle_for_write()
bool has(const GeometryComponent::Type component_type) const
const nodes::Bundle * bundle() const
const GeometryComponent * get_component(GeometryComponent::Type component_type) const