1 // Copyright 2017 The Draco Authors.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 //      http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 //
15 #ifndef DRACO_COMPRESSION_CONFIG_DECODER_OPTIONS_H_
16 #define DRACO_COMPRESSION_CONFIG_DECODER_OPTIONS_H_
17 
18 #include <map>
19 #include <memory>
20 
21 #include "draco/attributes/geometry_attribute.h"
22 #include "draco/compression/config/draco_options.h"
23 
24 namespace draco {
25 
26 // Class containing options that can be passed to PointCloudDecoder to control
27 // decoding of the input geometry. The options can be specified either for the
28 // whole geometry or for a specific attribute type. Each option is identified
29 // by a unique name stored as an std::string.
30 typedef DracoOptions<GeometryAttribute::Type> DecoderOptions;
31 
32 }  // namespace draco
33 
34 #endif  // DRACO_COMPRESSION_CONFIG_DECODER_OPTIONS_H_
35