#include <HDF5DataIO.hh>
Definition at line 96 of file HDF5DataIO.hh.
◆ DataChannelMetaData() [1/2]
DataChannelMetaData::DataChannelMetaData |
( |
| ) |
|
◆ DataChannelMetaData() [2/2]
◆ ~DataChannelMetaData()
DataChannelMetaData::~DataChannelMetaData |
( |
| ) |
|
◆ load()
void DataChannelMetaData::load |
( |
const std::string & |
h5FileName, |
|
|
int |
index |
|
) |
| |
|
virtual |
Load the general metadata of channel with index <index> out of the .labelling_qt4 group of the hdf5 file specified by filename.
- Parameters
-
h5FileName | The name of the hdf5 file to read the metadata from |
index | The channel index |
- Exceptions
-
Reimplemented from ChannelMetaData.
◆ save()
int DataChannelMetaData::save |
( |
const std::string & |
h5FileName | ) |
|
|
virtual |
Save the general metadata stored in this struct into the .labelling_qt4 group of the hdf5 file specified by filename.
If a .labelling_qt4 group exists an entry with corresponding channelName is searched and updated if found. If not a new set of attributes is created, and the nChannels attribute is incremented.
- Parameters
-
h5FileName | The name of the hdf5 file to write the metadata to |
- Exceptions
-
- Returns
- The index of the channel within the structure
Reimplemented from ChannelMetaData.
◆ color
blitz::TinyVector<double,3> DataChannelMetaData::color |
◆ displayMin
float DataChannelMetaData::displayMin |
◆ displayMax
float DataChannelMetaData::displayMax |
◆ gamma
float DataChannelMetaData::gamma |
◆ showExposureProblems
bool DataChannelMetaData::showExposureProblems |
◆ channelName
std::string ChannelMetaData::channelName |
|
inherited |
◆ channelType
std::string ChannelMetaData::channelType |
|
inherited |
◆ alpha
float ChannelMetaData::alpha |
|
inherited |
◆ visible
bool ChannelMetaData::visible |
|
inherited |
The documentation for this struct was generated from the following file: