LayOut C API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
sketchupmodel.h
Go to the documentation of this file.
1 // Copyright 2015-2023 Trimble Inc. All rights reserved.
2 // This file is intended for public distribution.
3 
4 #ifndef LAYOUT_MODEL_SKETCHUPMODEL_H_
5 #define LAYOUT_MODEL_SKETCHUPMODEL_H_
6 
7 #include <LayOutAPI/common.h>
9 #include <LayOutAPI/model/defs.h>
10 #include <SketchUpAPI/model/defs.h>
11 
24 typedef enum {
31 
39 typedef enum {
42 
45 
51 
54 
55 #ifdef __cplusplus
56 extern "C" {
57 #endif // __cplusplus
58 
76  LOSketchUpModelRef* model, const char* path, const LOAxisAlignedRect2D* bounds);
77 
86 
97 
108 
118 
131 
144 
160 LO_RESULT LOSketchUpModelGetModel(LOSketchUpModelRef model, SUModelRef* sumodel);
161 
172  LOSketchUpModelRef model, LOSketchUpModelRenderMode* render_mode);
173 
186  LOSketchUpModelRef model, LOSketchUpModelRenderMode render_mode);
187 
202 
214 
227  LOSketchUpModelRef model, size_t* number_of_scenes);
228 
243  LOSketchUpModelRef model, size_t len, SUStringRef scenes[], size_t* count);
244 
260  LOSketchUpModelRef model, size_t* scene_index, bool* scene_modified);
261 
278 
291 
303 
315 LO_RESULT LOSketchUpModelGetCamera(LOSketchUpModelRef model, SUCameraRef* sucamera);
316 
328 LO_RESULT LOSketchUpModelSetCamera(LOSketchUpModelRef model, SUCameraRef sucamera);
329 
342 
354 
367 
379 
395 
410 
422 LO_RESULT LOSketchUpModelGetDisplayBackground(LOSketchUpModelRef model, bool* display_background);
423 
437 
447 LO_RESULT LOSketchUpModelGetLineWeight(LOSketchUpModelRef model, double* line_weight);
448 
461 
473 LO_RESULT LOSketchUpModelGetDashScale(LOSketchUpModelRef model, double* dash_scale);
474 
488 
499 
512 
526 
539 
552 
567 
579 
592 
606  LOSketchUpModelRef model, const LOPoint3D* model_point, LOPoint2D* paper_point);
607 
621 
643 
660 
678 #ifdef __cplusplus
679 } // end extern "C"
680 #endif // __cplusplus
681 #endif // LAYOUT_MODEL_SKETCHUPMODEL_H_