API Documentation
Loading...
Searching...
No Matches
FactoryFeatures.h
Go to the documentation of this file.
1/*--------------------------------------------------------------------------------------------
2Copyright (c) 2019, NDEVR LLC
3tyler.parke@ndevr.org
4 __ __ ____ _____ __ __ _______
5 | \ | | | __ \ | ___|\ \ / / | __ \
6 | \ | | | | \ \ | |___ \ \ / / | |__) |
7 | . \| | | |__/ / | |___ \ V / | _ /
8 | |\ |_|_____/__|_____|___\_/____| | \ \
9 |__| \__________________________________| \__\
10
11Subject to the terms of the Enterprise+ Agreement, NDEVR hereby grants
12Licensee a limited, non-exclusive, non-transferable, royalty-free license
13(without the right to sublicense) to use the API solely for the purpose of
14Licensee's internal development efforts to develop applications for which
15the API was provided.
16
17The above copyright notice and this permission notice shall be included in all
18copies or substantial portions of the Software.
19
20THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
21INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
22PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE
23FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
24OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
25DEALINGS IN THE SOFTWARE.
26
27Library: IOFactory
28File: FactoryFeatures
29Included in API: True
30Author(s): Tyler Parke
31 *-----------------------------------------------------------------------------------------**/
32#pragma once
33#include "DLLInfo.h"
34#include <NDEVR/AsciiOptions.h>
35#include <NDEVR/Model.h>
36
37namespace NDEVR
38{
39 /**--------------------------------------------------------------------------------------------------
40 \brief Allows IOFactories to report what features they support to make the import/export dialogs
41 easier to setup and layout.
42 **/
44 {
45 public:
47 bool compression_supported[CompressionMode::e_compression_count] =
48 {
49 false
50 , false
51 , false
52 , false
53 , false
54 , false
55 , false
56 , false
57 , false
58 , false
59 , false
60 , false
61 , false
62 , false
63 };
64 bool supports_point_size = false;
65 bool supports_toggle_points = false;
66 bool supports_toggle_lines = false;
67 bool supports_toggle_mesh = false;
68 bool supports_custom_orientation = false;
69 bool supports_triangle_winding = false;
70 bool supports_normal_generation = false;
71 bool supports_owner_password = false;
72 bool supports_flatten_hierarchy = false;
73 bool supports_default_color = false;
74 bool supports_line_thickness = false;
75 bool supports_user_password = false;
76 bool supports_uv_generation = false;
77 bool supports_hierarchy = false;
78 bool has_degenerates = false;
79 bool supports_wireframe = false;
80 };
81}
#define NDEVR_FACTORY_API
Definition DLLInfo.h:57
Storage class for all IO options related to an Ascii file output used by an IOFactory services that w...
Definition AsciiOptions.h:43
Allows IOFactories to report what features they support to make the import/export dialogs easier to s...
Definition FactoryFeatures.h:44
AsciiOptions ascii_options
Definition FactoryFeatures.h:46
Definition ACIColor.h:37