NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
ModelingViewHighQualityImage.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// ModelingViewHighQualityImage.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/Preferences_SessionVisualizationHighQualityImage.hxx>
22
#include <NXOpen/TaggedObject.hxx>
23
#include <NXOpen/libnxopencpp_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
31
namespace
NXOpen
32
{
33
class
ModelingViewHighQualityImage
;
34
class
ModelingView
;
35
class
ModelingViewHighQualityImageImpl;
40
class
NXOPENCPPEXPORT
ModelingViewHighQualityImage
41
{
43
public
:
enum
ShadeMethod
44
{
45
ShadeMethodFlat
,
47
ShadeMethodGouraud
,
49
ShadeMethodPhong
,
51
ShadeMethodImproved
,
53
ShadeMethodPreview
,
56
ShadeMethodPhotoRealistic
,
59
ShadeMethodRayTraced
,
62
ShadeMethodRayTracedFfa
,
64
ShadeMethodRadiosity
,
67
ShadeMethodHybridRadiosity
71
};
72
73
public
:
enum
FormatType
74
{
75
FormatTypeRasterImage
,
76
FormatTypeQtvrPanorama
,
78
FormatTypeQtvrObjectLow
,
81
FormatTypeQtvrObjectHigh
84
};
85
86
public
:
enum
DisplayTechniqueType
87
{
88
DisplayTechniqueTypeRgbPlusNoise
,
90
DisplayTechniqueTypeFsRgb
,
93
DisplayTechniqueTypeFsRgbPlusNoise
,
96
DisplayTechniqueTypeMonochrome
,
98
DisplayTechniqueTypeGrayScale
,
100
DisplayTechniqueTypeNearestRgb
,
101
DisplayTechniqueTypeOrderedDither
,
104
DisplayTechniqueTypeTcPlusNoise
106
};
107
private
:
ModelingViewHighQualityImageImpl
* m_modelingviewhighqualityimage_impl;
108
private
:
NXOpen::ModelingView
* m_owner;
110
public
:
explicit
ModelingViewHighQualityImage
(
NXOpen::ModelingView
*owner);
112
public
:
114
tag_t
Tag
()
const
;
115
public
:
~ModelingViewHighQualityImage
();
119
public
:
NXOpen::ModelingViewHighQualityImage::DisplayTechniqueType
DisplayTechnique
120
(
121
);
125
public
:
void
SetDisplayTechnique
126
(
127
NXOpen::ModelingViewHighQualityImage::DisplayTechniqueType
displayTechnique
128
);
132
public
:
double
FacetsQuality
133
(
134
);
138
public
:
void
SetFacetsQuality
139
(
140
double
facetsQuality
141
);
145
public
:
NXOpen::ModelingViewHighQualityImage::FormatType
Format
146
(
147
);
151
public
:
void
SetFormat
152
(
153
NXOpen::ModelingViewHighQualityImage::FormatType
format
154
);
158
public
:
NXOpen::ModelingViewHighQualityImage::ShadeMethod
Method
159
(
160
);
164
public
:
void
SetMethod
165
(
166
NXOpen::ModelingViewHighQualityImage::ShadeMethod
method
167
);
171
public
:
bool
Shadows
172
(
173
);
177
public
:
void
SetShadows
178
(
179
bool
generateShadows
180
);
184
public
:
bool
UseIbl
185
(
186
);
190
public
:
void
SetUseIbl
191
(
192
bool
useIbl
193
);
198
public
:
void
Generate
199
(
200
);
207
public
:
void
Save
208
(
209
const
NXString
& imageFileName ,
213
bool
compressImage
214
);
221
void
Save
222
(
223
const
char
* imageFileName ,
224
bool
compressImage
225
);
230
public
:
void
Erase
231
(
232
);
237
public
:
void
Plot
238
(
239
NXOpen::Preferences::SessionVisualizationHighQualityImage::ResolutionType
resolution ,
240
int
dotsPerInch ,
241
NXOpen::Preferences::SessionVisualizationHighQualityImage::PlotQualityType
plotQuality ,
242
const
NXString
& plotFileName
243
);
248
void
Plot
249
(
250
NXOpen::Preferences::SessionVisualizationHighQualityImage::ResolutionType
resolution ,
251
int
dotsPerInch ,
252
NXOpen::Preferences::SessionVisualizationHighQualityImage::PlotQualityType
plotQuality ,
253
const
char
* plotFileName
254
);
261
public
:
void
ShowImageInformation
262
(
263
);
268
public
:
void
GetImageCounts
269
(
270
int
* numberBodiesRendered ,
271
int
* numberFacesRendered ,
272
int
* numberPolygonsGenerated ,
273
double
* polygonGenerationSeconds ,
274
double
* shadowGenerationSeconds ,
275
double
* imageGenerationSeconds
276
);
277
};
//lint !e1712 default constructor not defined for class
278
}
279
#ifdef _MSC_VER
280
#pragma warning(pop)
281
#endif
282
#ifdef __GNUC__
283
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
284
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
285
#endif
286
#endif
287
#undef EXPORTLIBRARY