Blender V4.3
blender::fn::Field< T > Class Template Reference

#include <FN_field.hh>

Inherits blender::fn::GField, and blender::fn::detail::TypedFieldBase.

Public Types

using base_type = T
 

Public Member Functions

 Field ()=default
 
 Field (GField field)
 
template<typename U >
 Field (Field< U > field)
 
 Field (std::shared_ptr< FieldNode > node, const int node_output_index=0)
 
- Public Member Functions inherited from blender::fn::GField
 GField ()=default
 
 GField (std::shared_ptr< FieldNode > node, const int node_output_index=0)
 
- Public Member Functions inherited from blender::fn::GFieldBase< std::shared_ptr< FieldNode > >
 GFieldBase ()=default
 
 operator bool () const
 
uint64_t hash () const
 
const CPPTypecpp_type () const
 
const FieldNodenode () const
 
int node_output_index () const
 

Additional Inherited Members

- Protected Member Functions inherited from blender::fn::GFieldBase< std::shared_ptr< FieldNode > >
 GFieldBase (std::shared_ptr< FieldNode > node, const int node_output_index)
 
- Protected Attributes inherited from blender::fn::GFieldBase< std::shared_ptr< FieldNode > >
std::shared_ptr< FieldNodenode_
 
int node_output_index_
 

Detailed Description

template<typename T>
class blender::fn::Field< T >

A typed version of GField. It has the same memory layout as GField.

Definition at line 16 of file GEO_mesh_copy_selection.hh.

Member Typedef Documentation

◆ base_type

template<typename T >
using blender::fn::Field< T >::base_type = T

Definition at line 190 of file FN_field.hh.

Constructor & Destructor Documentation

◆ Field() [1/4]

template<typename T >
blender::fn::Field< T >::Field ( )
default

◆ Field() [2/4]

template<typename T >
blender::fn::Field< T >::Field ( GField< T > field)
inline

◆ Field() [3/4]

template<typename T >
template<typename U >
blender::fn::Field< T >::Field ( Field< U > field)
inline

Generally, the constructor above would be sufficient, but this additional constructor ensures that trying to create e.g. a Field<int> from a Field<float> does not compile (instead of only failing at run-time).

Definition at line 204 of file FN_field.hh.

◆ Field() [4/4]

template<typename T >
blender::fn::Field< T >::Field ( std::shared_ptr< FieldNode > node,
const int node_output_index = 0 )
inline

Definition at line 209 of file FN_field.hh.


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