Blender  V3.3
Public Member Functions | List of all members
blender::bke::GeometryFieldInput Class Referenceabstract

#include <BKE_geometry_fields.hh>

Inheritance diagram for blender::bke::GeometryFieldInput:
blender::fn::FieldInput blender::fn::FieldNode blender::bke::AnonymousAttributeFieldInput blender::bke::AttributeFieldInput blender::bke::CurveLengthFieldInput blender::bke::IDAttributeFieldInput blender::bke::NormalFieldInput blender::nodes::node_geo_accumulate_field_cc::AccumulateFieldInput< T > blender::nodes::node_geo_accumulate_field_cc::TotalFieldInput< T > blender::nodes::node_geo_curve_endpoint_selection_cc::EndpointFieldInput 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_edge_paths_to_selection_cc::PathToEdgeSelectionFieldInput blender::nodes::node_geo_field_at_index_cc::FieldAtIndex blender::nodes::node_geo_input_curve_handles_cc::HandlePositionFieldInput blender::nodes::node_geo_input_instance_rotation_cc::VectorFieldInput blender::nodes::node_geo_input_instance_scale_cc::VectorFieldInput blender::nodes::node_geo_input_mesh_edge_angle_cc::AngleFieldInput blender::nodes::node_geo_input_mesh_edge_angle_cc::SignedAngleFieldInput blender::nodes::node_geo_input_mesh_edge_neighbors_cc::EdgeNeighborCountFieldInput blender::nodes::node_geo_input_mesh_edge_vertices_cc::EdgePositionFieldInput blender::nodes::node_geo_input_mesh_edge_vertices_cc::EdgeVerticesFieldInput blender::nodes::node_geo_input_mesh_face_area_cc::FaceAreaFieldInput blender::nodes::node_geo_input_mesh_face_is_planar_cc::PlanarFieldInput blender::nodes::node_geo_input_mesh_face_neighbors_cc::FaceNeighborCountFieldInput blender::nodes::node_geo_input_mesh_face_neighbors_cc::FaceVertexCountFieldInput blender::nodes::node_geo_input_mesh_island_cc::IslandCountFieldInput blender::nodes::node_geo_input_mesh_island_cc::IslandFieldInput blender::nodes::node_geo_input_mesh_vertex_neighbors_cc::VertexCountFieldInput blender::nodes::node_geo_input_mesh_vertex_neighbors_cc::VertexFaceCountFieldInput blender::nodes::node_geo_input_shortest_edge_paths_cc::ShortestEdgePathsCostFieldInput blender::nodes::node_geo_input_shortest_edge_paths_cc::ShortestEdgePathsNextVertFieldInput blender::nodes::node_geo_input_spline_length_cc::SplineCountFieldInput blender::nodes::node_geo_input_tangent_cc::TangentFieldInput blender::nodes::node_geo_interpolate_domain_cc::InterpolateDomain blender::nodes::node_geo_material_selection_cc::MaterialSelectionFieldInput blender::nodes::node_geo_uv_pack_islands_cc::PackIslandsFieldInput blender::nodes::node_geo_uv_unwrap_cc::UnwrapFieldInput

Public Member Functions

GVArray get_varray_for_context (const fn::FieldContext &context, IndexMask mask, ResourceScope &scope) const override
 
virtual GVArray get_varray_for_context (const GeometryComponent &component, eAttrDomain domain, IndexMask mask) const =0
 
- 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 CPPTypecpp_type () const
 
Category category () const
 
const CPPTypeoutput_cpp_type (int output_index) const override
 
- Public Member Functions inherited from blender::fn::FieldNode
virtual ~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
 

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 CPPTypetype_
 
std::string debug_name_
 
Category category_ = Category::Unknown
 
- Protected Attributes inherited from blender::fn::FieldNode
std::shared_ptr< const FieldInputsfield_inputs_
 

Detailed Description

Definition at line 39 of file BKE_geometry_fields.hh.

Member Function Documentation

◆ get_varray_for_context() [1/2]

GVArray blender::bke::GeometryFieldInput::get_varray_for_context ( const fn::FieldContext context,
IndexMask  mask,
ResourceScope scope 
) const
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.

◆ get_varray_for_context() [2/2]

virtual GVArray blender::bke::GeometryFieldInput::get_varray_for_context ( const GeometryComponent component,
eAttrDomain  domain,
IndexMask  mask 
) const
pure virtual

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