NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Display_TransientText.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// JA API的C++接口头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Display_TransientText.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/TransientObject.hxx>
22#include <NXOpen/ugmath.hxx>
23#include <NXOpen/libnxopencpp_display_exports.hxx>
24#ifdef _MSC_VER
25#pragma warning(push)
26#pragma warning(disable:4996)
27#endif
28#ifdef __GNUC__
29#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
30#endif
31namespace NXOpen
32{
33 namespace Display
34 {
35 class TransientText;
36 }
38 class View;
39 namespace Display
40 {
41 }
42 namespace Display
43 {
44 class TransientTextImpl;
48 class NXOPENCPP_DISPLAYEXPORT TransientText : public NXOpen::TransientObject
49 {
60
77
86 private: TransientTextImpl * m_transienttext_impl;
88 public: explicit TransientText(void *ptr);
90
93 public: virtual ~TransientText();
99 (
100 int fontIndex ,
101 NXOpen::View * view ,
106 const NXOpen::Point3d & position
107 );
114 (
115 int fontIndex ,
116 NXOpen::View * view ,
121 const NXOpen::Point3d & position
122 );
130 (
131 int fontIndex ,
132 NXOpen::View * view ,
137 const NXOpen::Point3d & position
138 );
143 public: void AddTextString
144 (
145 const NXString & textString
146 );
152 (
153 const char * textString
154 );
160 (
161 );
166 public: void SetFontStyle
167 (
168 const NXString & fontStyle
169 );
175 (
176 const char * fontStyle
177 );
181 public: int Color
182 (
183 );
187 public: void SetColor
188 (
189 int colorIndex
190 );
195 (
196 );
201 (
203 );
209 (
210 );
215 public: void SetScreenTextSize
216 (
218 );
224 (
225 double* glyphWidth ,
226 double* glyphHeight
227 );
233 (
234 double glyphWidth ,
235 double glyphHeight
236 );
237 }; //lint !e1712 default constructor not defined for class
238 }
239}
240#ifdef _MSC_VER
241#pragma warning(pop)
242#endif
243#ifdef __GNUC__
244#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
245#pragma GCC diagnostic warning "-Wdeprecated-declarations"
246#endif
247#endif
248#undef EXPORTLIBRARY