include
lvr2
io
DracoEncoder.hpp
Go to the documentation of this file.
1
/* Copyright (C) 2018 Uni Osnabrück
2
* This file is part of the LAS VEGAS Reconstruction Toolkit,
3
*
4
* LAS VEGAS is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
8
*
9
* LAS VEGAS is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
13
*
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
17
*/
18
30
#ifndef DRACO_ENCODER_HPP
31
#define DRACO_ENCODER_HPP
32
33
#include "
Model.hpp
"
34
#include "draco/compression/encode.h"
35
36
namespace
lvr2
37
{
38
47
std::unique_ptr<draco::EncoderBuffer>
encodeDraco
(
ModelPtr
modelPtr,
48
draco::EncodedGeometryType type);
49
50
}
// namespace lvr
51
52
#endif
lvr2::encodeDraco
std::unique_ptr< draco::EncoderBuffer > encodeDraco(ModelPtr modelPtr, draco::EncodedGeometryType type)
encodes Model to draco EncodeBuffer which contents can be written into a file
Definition:
DracoEncoder.cpp:655
Model.hpp
lvr2
Definition:
BaseBufferManipulators.hpp:39
lvr2::ModelPtr
std::shared_ptr< Model > ModelPtr
Definition:
Model.hpp:80
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