Inviwo 0.9.12-pre
Inviwo documentation
|
Public Member Functions | |
IndexColumn (std::string_view header, std::shared_ptr< Buffer< std::uint32_t > > buffer=std::make_shared< Buffer< std::uint32_t > >()) | |
IndexColumn (std::string_view header, std::vector< std::uint32_t > data) | |
IndexColumn (const IndexColumn &rhs)=default | |
IndexColumn (const IndexColumn &rhs, const std::vector< std::uint32_t > &rowSelection) | |
IndexColumn (IndexColumn &&rhs)=default | |
IndexColumn & | operator= (const IndexColumn &rhs)=default |
IndexColumn & | operator= (IndexColumn &&rhs)=default |
virtual IndexColumn * | clone () const override |
virtual IndexColumn * | clone (const std::vector< std::uint32_t > &rowSelection) const override |
virtual ColumnType | getColumnType () const override |
Public Member Functions inherited from inviwo::TemplateColumn< std::uint32_t > | |
TemplateColumn (std::string_view header, std::shared_ptr< Buffer< std::uint32_t > > buffer=std::make_shared< Buffer< std::uint32_t > >(), Unit unit=Unit{}, std::optional< dvec2 > range=std::nullopt) | |
TemplateColumn (std::string_view header, std::vector< std::uint32_t > data, Unit unit=Unit{}, std::optional< dvec2 > range=std::nullopt) | |
TemplateColumn (std::string_view header, size_t size, Unit unit=Unit{}, std::optional< dvec2 > range=std::nullopt) | |
TemplateColumn (const TemplateColumn< std::uint32_t > &rhs) | |
TemplateColumn (const TemplateColumn< std::uint32_t > &rhs, const std::vector< std::uint32_t > &rowSelection) | |
TemplateColumn (TemplateColumn< std::uint32_t > &&rhs) | |
TemplateColumn< std::uint32_t > & | operator= (const TemplateColumn< std::uint32_t > &rhs) |
TemplateColumn< std::uint32_t > & | operator= (TemplateColumn< std::uint32_t > &&rhs) |
virtual const std::string & | getHeader () const override |
void | setHeader (std::string_view header) override |
virtual Unit | getUnit () const override |
virtual void | setUnit (Unit unit) override |
virtual void | setCustomRange (std::optional< dvec2 > range) override |
virtual std::optional< dvec2 > | getCustomRange () const override |
virtual dvec2 | getDataRange () const override |
virtual dvec2 | getRange () const override |
virtual void | add (const std::uint32_t &value) |
virtual void | add (std::string_view value) override |
Converts given value to type T, which is added to the column. | |
virtual void | append (const Column &col) override |
virtual void | set (size_t idx, const std::uint32_t &value) |
std::uint32_t | get (size_t idx) const |
std::uint32_t | operator[] (size_t idx) const |
virtual double | getAsDouble (size_t idx) const override |
void | setBuffer (std::shared_ptr< Buffer< std::uint32_t > > buffer) |
virtual std::string | getAsString (size_t idx) const override |
virtual std::shared_ptr< BufferBase > | getBuffer () override |
virtual std::shared_ptr< const BufferBase > | getBuffer () const override |
std::shared_ptr< Buffer< std::uint32_t > > | getTypedBuffer () |
std::shared_ptr< const Buffer< std::uint32_t > > | getTypedBuffer () const |
virtual size_t | getSize () const override |
auto | begin () |
auto | begin () const |
auto | end () |
auto | end () const |
Public Member Functions inherited from inviwo::Column | |
Public Member Functions inherited from inviwo::MetaDataOwner | |
MetaDataOwner (const MetaDataOwner &rhs)=default | |
MetaDataOwner (MetaDataOwner &rhs)=default | |
MetaDataOwner & | operator= (const MetaDataOwner &rhs)=default |
MetaDataOwner & | operator= (MetaDataOwner &)=default |
void | copyMetaDataFrom (const MetaDataOwner &src) |
void | copyMetaDataTo (MetaDataOwner &dst) |
template<typename T > requires std::derived_from<T, MetaData> | |
T * | createMetaData (std::string_view key) |
template<typename T , typename U > requires std::derived_from<T, MetaData> && Settable<T, U> | |
void | setMetaData (std::string_view key, U value) |
template<typename T > requires std::derived_from<T, MetaData> | |
bool | unsetMetaData (std::string_view key) |
unset, i.e. remove the metadata entry matching the given key and type | |
template<typename T , typename U > requires std::derived_from<T, MetaData> && Gettable<T, U> | |
U | getMetaData (std::string_view key, U val) const |
template<typename T > requires std::derived_from<T, MetaData> | |
T * | getMetaData (std::string_view key) |
template<typename T > requires std::derived_from<T, MetaData> | |
const T * | getMetaData (std::string_view key) const |
MetaDataMap * | getMetaDataMap () |
const MetaDataMap * | getMetaDataMap () const |
bool | hasMetaData (std::string_view key) const |
template<typename T > requires std::derived_from<T, MetaData> | |
bool | hasMetaData (std::string_view key) const |
void | serialize (Serializer &s) const |
void | deserialize (Deserializer &d) |
Additional Inherited Members | |
Public Types inherited from inviwo::TemplateColumn< std::uint32_t > | |
using | type |
Protected Member Functions inherited from inviwo::Column | |
Protected Attributes inherited from inviwo::TemplateColumn< std::uint32_t > | |
std::string | header_ |
Unit | unit_ |
std::optional< dvec2 > | range_ |
std::shared_ptr< Buffer< std::uint32_t > > | buffer_ |
Protected Attributes inherited from inviwo::MetaDataOwner | |
MetaDataMap | metaData_ |
|
overridevirtual |
Reimplemented from inviwo::TemplateColumn< std::uint32_t >.
|
overridevirtual |
Reimplemented from inviwo::TemplateColumn< std::uint32_t >.
|
overridevirtual |
Reimplemented from inviwo::TemplateColumn< std::uint32_t >.