IVTConverter.h
Go to the documentation of this file.
1 /*
2 * This file is part of ArmarX.
3 *
4 * ArmarX is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 *
8 * ArmarX is distributed in the hope that it will be useful, but
9 * WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 *
16 * @author Fabian Peller (fabian dot peller at kit dot edu)
17 * @copyright http://www.gnu.org/licenses/gpl-2.0.txt
18 * GNU General Public License
19 */
20 
21 #pragma once
22 
23 // STD/STL
24 #include <memory>
25 #include <string>
26 
27 // IVT
28 #include <Image/ByteImage.h>
29 
30 // ArmarX
32 
33 #include <RobotAPI/interface/aron.h>
35 
37 {
39  {
40  AronIVTConverter() = delete;
41 
42  public:
43  static std::shared_ptr<CByteImage> ConvertToCByteImage(const data::NDArrayPtr&);
44  static data::NDArrayPtr ConvertFromCByteImage(const std::shared_ptr<CByteImage>&);
45  };
46 } // namespace armarx::aron::data::converter
47 
48 // legacy
50 {
52 }
armarx::aron::converter::AronIVTConverter
::armarx::aron::data::converter::AronIVTConverter AronIVTConverter
Definition: IVTConverter.h:51
armarx::aron::data::converter::AronIVTConverter::ConvertFromCByteImage
static data::NDArrayPtr ConvertFromCByteImage(const std::shared_ptr< CByteImage > &)
armarx::aron::data::NDArrayPtr
std::shared_ptr< NDArray > NDArrayPtr
Definition: NDArray.h:46
armarx::aron::data::converter::AronIVTConverter
Definition: IVTConverter.h:38
armarx::aron::data::converter::AronIVTConverter::ConvertToCByteImage
static std::shared_ptr< CByteImage > ConvertToCByteImage(const data::NDArrayPtr &)
Definition: IVTConverter.cpp:33
armarx::aron::converter
Definition: EigenConverter.h:235
ExpressionException.h
armarx::aron::data::converter
Definition: aron_conversions.cpp:3
NDArray.h