|
Blender V4.3
|
#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_curve_topology_points_of_curve_cc::CurveStartPointInput, blender::nodes::node_geo_input_spline_length_cc::SplineCountFieldInput, blender::nodes::node_geo_input_spline_resolution_cc::ResolutionFieldInput, 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 |
Public Member Functions inherited from blender::fn::FieldInput | |
| FieldInput (const CPPType &type, std::string debug_name="") | |
| ~FieldInput () | |
| virtual std::string | socket_inspection_name () const |
| blender::StringRef | debug_name () const |
| const CPPType & | cpp_type () const |
| Category | category () const |
| const CPPType & | output_cpp_type (int output_index) const override |
Public Member Functions inherited from blender::fn::FieldNode | |
| FieldNode (FieldNodeType node_type) | |
| FieldNodeType | node_type () const |
| bool | depends_on_input () const |
| const std::shared_ptr< const FieldInputs > & | field_inputs () const |
| virtual uint64_t | hash () const |
| virtual bool | is_equal_to (const FieldNode &other) const |
| virtual | ~FieldNode () |
| virtual void | for_each_field_input_recursive (FunctionRef< void(const FieldInput &)> fn) const |
Additional Inherited Members | |
Public Types inherited from blender::fn::FieldInput | |
| enum class | Category { NamedAttribute = 0 , Generated = 1 , AnonymousAttribute = 2 , Unknown } |
Protected Attributes inherited from blender::fn::FieldInput | |
| const CPPType * | type_ |
| std::string | debug_name_ |
| Category | category_ = Category::Unknown |
Protected Attributes inherited from blender::fn::FieldNode | |
| std::shared_ptr< const FieldInputs > | field_inputs_ |
Definition at line 239 of file BKE_geometry_fields.hh.
|
pure virtual |
Implemented in blender::bke::CurveLengthFieldInput.
|
overridevirtual |
Get the value of this specific input based on the given context. The returned virtual array, should live at least as long as the passed in #scope. May return null.
Implements blender::fn::FieldInput.
Definition at line 330 of file geometry_fields.cc.
References get_varray_for_context().
Referenced by get_varray_for_context().
|
virtual |
Reimplemented in blender::bke::CurveLengthFieldInput, blender::nodes::node_geo_curve_handle_type_selection_cc::HandleTypeFieldInput, 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_curve_topology_points_of_curve_cc::CurveStartPointInput, blender::nodes::node_geo_input_spline_length_cc::SplineCountFieldInput, blender::nodes::node_geo_input_spline_resolution_cc::ResolutionFieldInput, and blender::nodes::node_geo_input_tangent_cc::TangentFieldInput.
Definition at line 349 of file geometry_fields.cc.