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 
42 class GroupedChannelIO
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
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 ...
UCharChannel::Optional UCharChannelOptional
Definition: Channel.hpp:96
Channel< float > FloatChannel
Definition: Channel.hpp:87
Channel< unsigned char > UCharChannel
Definition: Channel.hpp:95
FloatChannel::Optional FloatChannelOptional
Definition: Channel.hpp:88
IndexChannel::Optional IndexChannelOptional
Definition: Channel.hpp:100
Channel< unsigned int > IndexChannel
Definition: Channel.hpp:99
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
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 Mon Feb 28 2022 22:46:06