|
| | BufferChannel (ind numElements, const std::string &name, GridPrimitive definedOn=GridPrimitive::Vertex) |
| | Direct construction, empty data. More...
|
| |
| | BufferChannel (const std::vector< T > &rawData, const std::string &name, GridPrimitive definedOn=GridPrimitive::Vertex) |
| | Direct construction. More...
|
| |
| | BufferChannel (std::vector< T > &&data, const std::string &name, GridPrimitive definedOn=GridPrimitive::Vertex) |
| | Direct construction. More...
|
| |
| | BufferChannel (T *const data, ind numElements, const std::string &name, GridPrimitive definedOn=GridPrimitive::Vertex) |
| | Direct construction. More...
|
| |
|
virtual ind | size () const override |
| |
|
const std::vector< T > & | data () const |
| |
| DefaultVec & | operator[] (ind index) |
| | Indexed point access. More...
|
| |
| const DefaultVec & | operator[] (ind index) const |
| | Indexed point access. More...
|
| |
| template<typename VecNT = DefaultVec> |
| VecNT & | get (ind index) |
| | Indexed point access. More...
|
| |
| template<typename VecNT = DefaultVec> |
| const VecNT & | get (ind index) const |
| | Indexed point access. More...
|
| |
| | DataChannel (const std::string &name, GridPrimitive definedOn=GridPrimitive::Vertex) |
| | Direct construction. More...
|
| |
| template<typename VecNT > |
| void | fill (VecNT &dest, ind index) const |
| | Indexed point access, copy data Thread safe. More...
|
| |
|
template<typename VecNT > |
| void | operator() (VecNT &dest, ind index) const |
| |
|
template<typename VecNT = DefaultVec> |
| iterator< VecNT > | begin () |
| |
|
template<typename VecNT = DefaultVec> |
| iterator< VecNT > | end () |
| |
|
template<typename VecNT = DefaultVec> |
| const_iterator< VecNT > | begin () const |
| |
|
template<typename VecNT = DefaultVec> |
| const_iterator< VecNT > | end () const |
| |
| template<typename VecNT = DefaultVec> |
| ChannelRange< VecNT > | all () |
| | Get iterator range Templated iterator return type, only specified once. More...
|
| |
| template<typename VecNT = DefaultVec> |
| ConstChannelRange< VecNT > | all () const |
| | Get const iterator range Templated iterator return type, only specified once. More...
|
| |
|
template<typename VecNT > |
| void | getMin (VecNT &dest) const |
| |
|
template<typename VecNT > |
| void | getMax (VecNT &dest) const |
| |
|
template<typename VecNT > |
| void | getMinMax (VecNT &min, VecNT &max) const |
| |
|
| BaseChannel (const std::string &name, DataFormatId dataFormat, GridPrimitive definedOn=GridPrimitive::Vertex) |
| |
| | Channel (ind numComponents, const std::string &name, DataFormatId dataFormat, GridPrimitive definedOn=GridPrimitive::Vertex) |
| | Direct construction. More...
|
| |
|
const std::string | getName () const |
| |
|
void | setName (const std::string &) |
| |
|
GridPrimitive | getGridPrimitiveType () const |
| |
|
DataFormatId | getDataFormatId () const |
| |
|
ind | getNumComponents () const |
| |
|
| MetaDataOwner (const MetaDataOwner &rhs)=default |
| |
|
MetaDataOwner & | operator= (const MetaDataOwner &rhs)=default |
| |
|
void | copyMetaDataFrom (const MetaDataOwner &src) |
| |
|
void | copyMetaDataTo (MetaDataOwner &dst) |
| |
|
template<typename T > |
| T * | createMetaData (const std::string &key) |
| |
|
template<typename T , typename U > |
| void | setMetaData (const std::string &key, U value) |
| |
| template<typename T > |
| bool | unsetMetaData (const std::string &key) |
| | unset, i.e. remove the metadata entry matching the given key and type More...
|
| |
|
template<typename T , typename U > |
| U | getMetaData (const std::string &key, U val) const |
| |
|
template<typename T > |
| T * | getMetaData (const std::string &key) |
| |
|
template<typename T > |
| const T * | getMetaData (const std::string &key) const |
| |
|
MetaDataMap * | getMetaDataMap () |
| |
|
const MetaDataMap * | getMetaDataMap () const |
| |
|
template<typename T > |
| bool | hasMetaData (const std::string &key) const |
| |
|
virtual void | serialize (Serializer &s) const |
| |
|
virtual void | deserialize (Deserializer &d) |
| |
template<typename T, ind N = 1>
class inviwo::discretedata::BufferChannel< T, N >
Data channel as array data.
Data block with a size of NumDataPoints * NumComponents. The buffer is not constant, copy to change.
- Author
- Anke Friederici and Tino Weinkauf