NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Display_DecalStickerBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口至JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Display_DecalStickerBuilder.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/Display_UVTransformationData.hxx>
22#include <NXOpen/Expression.hxx>
23#include <NXOpen/Builder.hxx>
24#include <NXOpen/SelectObjectList.hxx>
25#include <NXOpen/ugmath.hxx>
26#include <NXOpen/libnxopencpp_display_exports.hxx>
27#ifdef _MSC_VER
28#pragma warning(push)
29#pragma warning(disable:4996)
30#endif
31#ifdef __GNUC__
32#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
33#endif
34namespace NXOpen
35{
36 namespace Display
37 {
39 }
40 class Builder;
41 namespace Display
42 {
44 }
45 class Expression;
46 class Point;
48 namespace Display
49 {
50 class _DecalStickerBuilderBuilder;
51 class DecalStickerBuilderImpl;
76 class NXOPENCPP_DISPLAYEXPORT DecalStickerBuilder : public NXOpen::Builder
77 {
89
97
110
116
123
133
134 public:
135 struct Color
136 {
137 public: double Color1;
138 public: double Color2;
139 public: double Color3;
140 public: Color() :
141 Color1(),
142 Color2(),
143 Color3()
144{
145 }
147 public: Color(double color1Initial ,
148 double color2Initial ,
149 double color3Initial ) :
150 Color1(color1Initial),
151 Color2(color2Initial),
152 Color3(color3Initial)
153 {
154 }
155 };
156 private: DecalStickerBuilderImpl * m_decalstickerbuilder_impl;
157 private: friend class _DecalStickerBuilderBuilder;
158 protected: DecalStickerBuilder();
159 public: ~DecalStickerBuilder();
164 (
165 );
169 public: void SetDecalName
170 (
171 const NXString & decalName
172 );
177 (
178 const char * decalName
179 );
184 (
185 );
190 (
192 );
196 public: bool FilterDecalImages
197 (
198 );
203 (
204 bool filterDecalImages
205 );
210 (
211 );
215 public: void SetImageName
216 (
217 const NXString & decalName
218 );
223 (
224 const char * decalName
225 );
230 (
231 );
236 (
237 );
241 public: void SetProjectionType
242 (
244 );
249 (
250 );
254 public: void SetAnchorType
255 (
257 );
262 (
263 NXOpen::Point3d* origin ,
264 NXOpen::Matrix3x3* csys
265 );
270 (
271 const NXOpen::Point3d & origin ,
272 const NXOpen::Matrix3x3 & csys
273 );
278 (
279 );
283 public: void SetOrigin
284 (
285 NXOpen::Point * origin
286 );
291 (
292 );
297 (
298 );
303 (
304 );
309 (
311 );
315 public: bool LockAspectRatio
316 (
317 );
322 (
323 bool lockAspectRatio
324 );
329 (
330 );
335 (
336 );
340 public: void ResetImageSize
341 (
342 );
347 (
348 );
353 (
355 );
359 public: bool FitPreview
360 (
361 );
365 public: void SetFitPreview
366 (
367 bool fitPreview
368 );
373 (
374 );
379 (
380 const NXOpen::Display::DecalStickerBuilder::Color & transparencyColor
381 );
386 (
387 );
392 (
393 int pixelColorTolerance
394 );
399 (
400 );
405 (
407 );
411 public: bool Bump
412 (
413 );
417 public: void SetBump
418 (
419 bool bump
420 );
424 public: double Strength
425 (
426 );
430 public: void SetStrength
431 (
432 double strength
433 );
438 (
439 );
440 };
441 }
442}
443#ifdef _MSC_VER
444#pragma warning(pop)
445#endif
446#ifdef __GNUC__
447#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
448#pragma GCC diagnostic warning "-Wdeprecated-declarations"
449#endif
450#endif
451#undef EXPORTLIBRARY