Inviwo  0.9.10.1
Inviwo documentation
inviwo::discretedata::BaseChannel< T, N > Class Template Referenceabstract
+ Inheritance diagram for inviwo::discretedata::BaseChannel< T, N >:

Public Member Functions

 BaseChannel (const std::string &name, DataFormatId dataFormat, GridPrimitive definedOn=GridPrimitive::Vertex)
 
- Public Member Functions inherited from inviwo::discretedata::Channel
 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
 
virtual ind size () const =0
 
- Public Member Functions inherited from inviwo::MetaDataOwner
 MetaDataOwner (const MetaDataOwner &rhs)=default
 
MetaDataOwneroperator= (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 >
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
 
MetaDataMapgetMetaDataMap ()
 
const MetaDataMapgetMetaDataMap () const
 
template<typename T >
bool hasMetaData (const std::string &key) const
 
virtual void serialize (Serializer &s) const
 
virtual void deserialize (Deserializer &d)
 

Protected Member Functions

virtual void fillRaw (T *dest, ind index) const =0
 
virtual ChannelGetter< T, N > * newIterator ()=0
 
- Protected Member Functions inherited from inviwo::discretedata::Channel
void setGridPrimitiveType (GridPrimitive)
 
void setDataFormatId (DataFormatId)
 
void setNumComponents (ind)
 

Additional Inherited Members

- Protected Attributes inherited from inviwo::MetaDataOwner
MetaDataMap metaData_
 

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