Blender V5.3
blender::bke::CurvesFieldInput Class Referenceabstract

#include <BKE_geometry_fields.hh>

Inherits blender::fn::FieldInput.

Inherited by blender::bke::CurveLengthFieldInput, blender::nodes::node_geo_curve_handle_type_selection_cc::HandleTypeFieldInput, blender::nodes::node_geo_curve_spline_parameter_cc::CurveLengthParameterFieldInput, blender::nodes::node_geo_curve_spline_parameter_cc::CurveParameterFieldInput, blender::nodes::node_geo_curve_spline_parameter_cc::IndexOnSplineFieldInput, blender::nodes::node_geo_curve_topology_curve_of_point_cc::CurveOfPointInput, blender::nodes::node_geo_curve_topology_curve_of_point_cc::PointIndexInCurveInput, blender::nodes::node_geo_curve_topology_points_of_curve_cc::CurvePointCountInput, blender::nodes::node_geo_input_spline_length_cc::SplineCountFieldInput, and blender::nodes::node_geo_input_tangent_cc::TangentFieldInput.

Public Member Functions

GVArray get_varray_for_context (const fn::FieldContext &context, const IndexMask &mask, ResourceScope &scope) const override
virtual GVArray get_varray_for_context (const CurvesGeometry &curves, AttrDomain domain, const IndexMask &mask) const =0
virtual std::optional< AttrDomain > preferred_domain (const CurvesGeometry &curves) const
 FieldInput (const CPPType &type, std::string debug_name="")
Public Member Functions inherited from blender::fn::FieldInput
 FieldInput (const CPPType &type, std::string debug_name="")
 ~FieldInput () override
const FieldInputsPtr & field_inputs () const
uint64_t hash () const
virtual void hash_unique (UniqueHashBytes &hash, FieldHashDeep &deep_hash_cache) const
virtual void foreach_recursive_field (FunctionRef< void(const GField &)> fn) const
void delete_self () override
StringRefNull debug_name () const
virtual std::string socket_inspection_name () const
const CPPType & cpp_type () const
Public Member Functions inherited from blender::blender::ImplicitSharingInfo
virtual ~ImplicitSharingInfo ()
bool is_mutable () const
bool is_expired () const
void add_user () const
void add_weak_user () const
void tag_ensured_mutable () const
int64_t version () const
int strong_users () const
void remove_user_and_delete_if_last () const
void remove_weak_user_and_delete_if_last () const

Additional Inherited Members

Protected Attributes inherited from blender::fn::FieldInput
const CPPType * type_
std::string debug_name_
CacheMutex field_inputs_mutex_
FieldInputsPtr field_inputs_

Detailed Description

Definition at line 277 of file BKE_geometry_fields.hh.

Member Function Documentation

◆ FieldInput()

blender::fn::FieldInput::FieldInput ( const CPPType & type,
std::string debug_name = "" )

Definition at line 352 of file field.cc.

◆ get_varray_for_context() [1/2]

◆ get_varray_for_context() [2/2]

GVArray blender::bke::CurvesFieldInput::get_varray_for_context ( const fn::FieldContext & context,
const IndexMask & mask,
ResourceScope & scope ) const
overridevirtual

Output a virtual array for the given index mask in the given context.

Implements blender::fn::FieldInput.

Definition at line 357 of file geometry_fields.cc.

References get_varray_for_context().

Referenced by get_varray_for_context().

◆ preferred_domain()


The documentation for this class was generated from the following files: