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
BaseBuffer.hpp
lvr2::IndexChannelOptional
IndexChannel::Optional IndexChannelOptional
Definition: Channel.hpp:100
lvr2::UCharChannelOptional
UCharChannel::Optional UCharChannelOptional
Definition: Channel.hpp:96
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::IndexChannel
Channel< unsigned int > IndexChannel
Definition: Channel.hpp:99
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::FloatChannel
Channel< float > FloatChannel
Definition: Channel.hpp:87
lvr2
Definition: BaseBufferManipulators.hpp:39
lvr2::UCharChannel
Channel< unsigned char > UCharChannel
Definition: Channel.hpp:95


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