descriptions/GroupedChannelIO.hpp
Go to the documentation of this file.
1 
28 #ifndef GROUPEDCHANNELIO_HPP
29 #define GROUPEDCHANNELIO_HPP
30 
31 #include <string>
33 
34 namespace lvr2
35 {
36 
43 {
44 public:
52  virtual bool getChannel(const std::string group, const std::string name, FloatChannelOptional& channel) = 0;
53 
61  virtual bool getChannel(const std::string group, const std::string name, IndexChannelOptional& channel) = 0;
62 
70  virtual bool getChannel(const std::string group, const std::string name, UCharChannelOptional& channel) = 0;
71 
72 
80  virtual bool addChannel(const std::string group, const std::string name, const FloatChannel& channel) = 0;
81 
89  virtual bool addChannel(const std::string group, const std::string name, const IndexChannel& channel) = 0;
90 
98  virtual bool addChannel(const std::string group, const std::string name, const UCharChannel& channel) = 0;
99 };
100 
101 } // namespace lvr2
102 
103 #endif
BaseBuffer.hpp
lvr2::IndexChannelOptional
IndexChannel::Optional IndexChannelOptional
Definition: Channel.hpp:100
lvr2::UCharChannelOptional
UCharChannel::Optional UCharChannelOptional
Definition: Channel.hpp:96
lvr2::GroupedChannelIO
Interface class for io classes that support annotation channels organized in different groups.
Definition: descriptions/GroupedChannelIO.hpp:42
lvr2::GroupedChannelIO::getChannel
virtual bool getChannel(const std::string group, const std::string name, FloatChannelOptional &channel)=0
getChannel Reads a float attribute channel in the given group with the given name
lvr2::FloatChannelOptional
FloatChannel::Optional FloatChannelOptional
Definition: Channel.hpp:88
lvr2::GroupedChannelIO::addChannel
virtual bool addChannel(const std::string group, const std::string name, const FloatChannel &channel)=0
addChannel Writes a float attribute channel from the given group with the given name
lvr2::Channel< float >
lvr2
Definition: BaseBufferManipulators.hpp:39


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:23