NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Appearance_AppearanceEditTexture.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口到JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Appearance_AppearanceEditTexture.ja
9
//
10
// 生成方式:
11
// apiwrap
12
//
13
// 警告:
14
// 此文件为自动生成 - 请勿手动编辑
15
//
16
#pragma once
17
#include <NXOpen/NXDeprecation.hxx>
18
#include <vector>
19
#include <NXOpen/NXString.hxx>
20
#include <NXOpen/Callback.hxx>
21
#include <NXOpen/Builder.hxx>
22
#include <NXOpen/libnxopencpp_appearance_exports.hxx>
23
#ifdef _MSC_VER
24
#pragma warning(push)
25
#pragma warning(disable:4996)
26
#endif
27
#ifdef __GNUC__
28
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
29
#endif
30
namespace
NXOpen
31
{
32
namespace
Appearance
33
{
34
class
AppearanceEditTexture
;
35
}
36
class
Builder
;
37
class
Direction
;
38
class
Point
;
39
namespace
Appearance
40
{
41
class
_AppearanceEditTextureBuilder;
42
class
AppearanceEditTextureImpl;
48
class
NXOPENCPP_APPEARANCEEXPORT AppearanceEditTexture :
public
NXOpen::Builder
49
{
51
public
:
enum
MaterialProjectionsType
52
{
53
MaterialProjectionsTypeUv
,
54
MaterialProjectionsTypePlanar
,
55
MaterialProjectionsTypeBox
,
56
MaterialProjectionsTypeSpherical
,
57
MaterialProjectionsTypeCylindrical
58
};
59
60
public
:
enum
DecalProjectionsType
61
{
62
DecalProjectionsTypePlanar
,
63
DecalProjectionsTypeCylindrical
,
64
DecalProjectionsTypeSpherical
,
65
DecalProjectionsTypeUv
66
};
67
68
public
:
enum
AnchorTypes
69
{
70
AnchorTypesTopLeft
,
71
AnchorTypesCenter
,
72
AnchorTypesBottomLeft
,
73
AnchorTypesTopMiddle
,
74
AnchorTypesTopRight
,
75
AnchorTypesLeftMiddle
,
76
AnchorTypesRightMiddle
,
77
AnchorTypesBottomMiddle
,
78
AnchorTypesBottomRight
79
};
80
81
public
:
enum
Scaling
82
{
83
ScalingToFace
,
84
ScalingToImageSize
,
85
ScalingToUniformScale
,
86
ScalingToNonUniformScale
87
};
88
private
:
AppearanceEditTextureImpl
* m_appearanceedittexture_impl;
89
private
:
friend
class
_AppearanceEditTextureBuilder;
90
protected
:
AppearanceEditTexture
();
91
public
:
~AppearanceEditTexture
();
95
public
:
NXString
StudioMaterialName
96
(
97
);
101
public
:
void
SetStudioMaterialName
102
(
103
const
NXString
& studioMaterialName
104
);
108
void
SetStudioMaterialName
109
(
110
const
char
* studioMaterialName
111
);
115
public
:
int
MappingProjection
116
(
117
);
121
public
:
void
SetMappingProjection
122
(
123
int
mappingProjection
124
);
128
public
:
NXOpen::Appearance::AppearanceEditTexture::AnchorTypes
AnchorType
129
(
130
);
134
public
:
void
SetAnchorType
135
(
136
NXOpen::Appearance::AppearanceEditTexture::AnchorTypes
anchorType
137
);
141
public
:
NXOpen::Point
*
TextureOrigin
142
(
143
);
147
public
:
void
SetTextureOrigin
148
(
149
NXOpen::Point
* textureOrigin
150
);
154
public
:
NXOpen::Direction
*
TextureNormalVector
155
(
156
);
160
public
:
void
SetTextureNormalVector
161
(
162
NXOpen::Direction
* textureNormalVector
163
);
167
public
:
NXOpen::Direction
*
TextureUpVector
168
(
169
);
173
public
:
void
SetTextureUpVector
174
(
175
NXOpen::Direction
* textureUpVector
176
);
180
public
:
double
AspectRatio
181
(
182
);
186
public
:
void
SetAspectRatio
187
(
188
double
aspectRatio
189
);
193
public
:
double
Scale
194
(
195
);
199
public
:
void
SetScale
200
(
201
double
scale
202
);
203
};
204
}
205
}
206
#ifdef _MSC_VER
207
#pragma warning(pop)
208
#endif
209
#ifdef __GNUC__
210
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
211
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
212
#endif
213
#endif
214
#undef EXPORTLIBRARY