Blender V5.3
blender::nodes::node_geo_input_mesh_face_is_planar_cc::PlanarFieldInput Class Referencefinal

Inherits blender::bke::MeshFieldInput.

Public Member Functions

 PlanarFieldInput (Field< float > threshold)
GVArray get_varray_for_context (const Mesh &mesh, const AttrDomain domain, const IndexMask &) const final
void foreach_recursive_field (FunctionRef< void(const GField &)> fn) const override
void hash_unique (UniqueHashBytes &hash, fn::FieldHashDeep &deep_hash_cache) const override
std::optional< AttrDomain > preferred_domain (const Mesh &) const override
bke::NativeFieldDomain native_domain_info (const Mesh &) const override
Public Member Functions inherited from blender::bke::MeshFieldInput
GVArray get_varray_for_context (const fn::FieldContext &context, const IndexMask &mask, ResourceScope &scope) const override
 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
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 30 of file node_geo_input_mesh_face_is_planar.cc.

Constructor & Destructor Documentation

◆ PlanarFieldInput()

blender::nodes::node_geo_input_mesh_face_is_planar_cc::PlanarFieldInput::PlanarFieldInput ( Field< float > threshold)
inline

Definition at line 35 of file node_geo_input_mesh_face_is_planar.cc.

Member Function Documentation

◆ foreach_recursive_field()

void blender::nodes::node_geo_input_mesh_face_is_planar_cc::PlanarFieldInput::foreach_recursive_field ( FunctionRef< void(const GField &)> fn) const
inlineoverridevirtual

If this FieldInput depends on other fields, this function should be overridden.

Reimplemented from blender::fn::FieldInput.

Definition at line 78 of file node_geo_input_mesh_face_is_planar.cc.

◆ get_varray_for_context()

◆ hash_unique()

void blender::nodes::node_geo_input_mesh_face_is_planar_cc::PlanarFieldInput::hash_unique ( UniqueHashBytes & hash,
fn::FieldHashDeep & deep_hash_cache ) const
inlineoverridevirtual

◆ native_domain_info()

bke::NativeFieldDomain blender::nodes::node_geo_input_mesh_face_is_planar_cc::PlanarFieldInput::native_domain_info ( const Mesh & ) const
inlineoverridevirtual

Reimplemented from blender::bke::MeshFieldInput.

Definition at line 95 of file node_geo_input_mesh_face_is_planar.cc.

◆ preferred_domain()

std::optional< AttrDomain > blender::nodes::node_geo_input_mesh_face_is_planar_cc::PlanarFieldInput::preferred_domain ( const Mesh & ) const
inlineoverridevirtual

Reimplemented from blender::bke::MeshFieldInput.

Definition at line 90 of file node_geo_input_mesh_face_is_planar.cc.


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