SketchUp SDK
Main Page
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
slapi
model
component_instance.h
Go to the documentation of this file.
1
// Copyright 2013 Trimble Navigation Ltd. All Rights Reserved.
2
3
#ifndef SLAPI_MODEL_COMPONENT_INSTANCE_H_
4
#define SLAPI_MODEL_COMPONENT_INSTANCE_H_
5
6
#include <
slapi/slapi.h
>
7
#include <
slapi/unicodestring.h
>
8
#include <
slapi/transformation.h
>
9
#include <
slapi/model/defs.h
>
10
11
#ifdef __cplusplus
12
extern
"C"
{
13
#endif
14
29
SU_EXPORT
SUEntityRef
SUComponentInstanceToEntity
(
30
SUComponentInstanceRef
instance);
31
41
SU_EXPORT
SUComponentInstanceRef
SUComponentInstanceFromEntity
(
42
SUEntityRef
entity);
43
52
SU_EXPORT
SUDrawingElementRef
SUComponentInstanceToDrawingElement
(
53
SUComponentInstanceRef
instance);
54
64
SU_EXPORT
SUComponentInstanceRef
SUComponentInstanceFromDrawingElement
(
65
SUDrawingElementRef
drawing_elem);
66
77
SU_RESULT
SUComponentInstanceSetName
(
SUComponentInstanceRef
instance,
78
const
char
* name);
79
92
SU_RESULT
SUComponentInstanceRelease
(
SUComponentInstanceRef
* instance);
93
105
SU_RESULT
SUComponentInstanceGetName
(
SUComponentInstanceRef
instance,
106
SUStringRef
* name);
107
121
SU_RESULT
SUComponentInstanceSetTransform
(
122
SUComponentInstanceRef
instance,
123
const
struct
SUTransformation
* transform);
124
137
SU_RESULT
SUComponentInstanceGetTransform
(
SUComponentInstanceRef
instance,
138
struct
SUTransformation
* transform);
139
149
SU_RESULT
SUComponentInstanceGetDefinition
(
150
SUComponentInstanceRef
instance,
151
SUComponentDefinitionRef
* component);
152
153
#ifdef __cplusplus
154
}
// extern "C"
155
#endif
156
157
#endif // SLAPI_MODEL_COMPONENT_INSTANCE_H_
Generated on Tue Aug 6 2013 11:05:25 for SketchUp SDK by
1.8.3.1