|
Blender V5.0
|
#include <spreadsheet_data_source_geometry.hh>
Inherits blender::ed::spreadsheet::DataSource.
Public Member Functions | |
| ClosureSignatureDataSource (nodes::ClosurePtr closure, SpreadsheetClosureInputOutput in_out) | |
| void | foreach_default_column_ids (FunctionRef< void(const SpreadsheetColumnID &, bool is_extra)> fn) const override |
| std::unique_ptr< ColumnValues > | get_column_values (const SpreadsheetColumnID &column_id) const override |
| int | tot_rows () const override |
| Public Member Functions inherited from blender::ed::spreadsheet::DataSource | |
| virtual | ~DataSource () |
| virtual bool | has_selection_filter () const |
Definition at line 152 of file spreadsheet_data_source_geometry.hh.
| blender::ed::spreadsheet::ClosureSignatureDataSource::ClosureSignatureDataSource | ( | nodes::ClosurePtr | closure, |
| SpreadsheetClosureInputOutput | in_out ) |
Definition at line 863 of file spreadsheet_data_source_geometry.cc.
|
overridevirtual |
Calls the callback with all the column ids that should be displayed as long as the user does not manually add or remove columns. The column id can be stack allocated. Therefore, the callback should not keep a reference to it (and copy it instead).
The is_extra argument indicates that this column is special and should be drawn as the first column. (This can be made a bit more generic in the future when necessary.)
Reimplemented from blender::ed::spreadsheet::DataSource.
Definition at line 869 of file spreadsheet_data_source_geometry.cc.
References blender::Vector< T, InlineBufferCapacity, Allocator >::append(), blender::Vector< T, InlineBufferCapacity, Allocator >::extend(), name, and SPREADSHEET_CLOSURE_NONE.
|
overridevirtual |
Returns the column values the given column id. If no data exists for this id, null is returned.
Reimplemented from blender::ed::spreadsheet::DataSource.
Definition at line 884 of file spreadsheet_data_source_geometry.cc.
References blender::VArray< T >::from_func(), IFACE_, SpreadsheetColumnID::name, blender::Span< T >::size(), SPREADSHEET_CLOSURE_INPUT, SPREADSHEET_CLOSURE_NONE, SPREADSHEET_CLOSURE_OUTPUT, and STREQ.
|
overridevirtual |
Returns the number of rows in columns returned by get_column_values.
Reimplemented from blender::ed::spreadsheet::DataSource.
Definition at line 951 of file spreadsheet_data_source_geometry.cc.
References SPREADSHEET_CLOSURE_INPUT, SPREADSHEET_CLOSURE_NONE, and SPREADSHEET_CLOSURE_OUTPUT.