NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Features_RasterImage.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口到JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Features_RasterImage.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/Features_Feature.hxx>
22
#include <NXOpen/ugmath.hxx>
23
#include <NXOpen/libnxopencpp_features_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
namespace
Features
34
{
35
class
RasterImage
;
36
}
37
namespace
Features
38
{
39
class
Feature
;
40
}
41
namespace
Features
42
{
43
class
_RasterImageBuilder;
44
class
RasterImageImpl;
48
class
NXOPENCPP_FEATURESEXPORT RasterImage :
public
NXOpen::Features::Feature
49
{
51
public
:
enum
MaxTextureSize
52
{
53
MaxTextureSizeN512
,
54
MaxTextureSizeN1024
,
55
MaxTextureSizeN2048
,
56
MaxTextureSizeN4096
,
57
MaxTextureSizeN8192
,
58
MaxTextureSizeN16384
,
59
MaxTextureSizeN32768
60
};
61
private
:
RasterImageImpl
* m_rasterimage_impl;
62
private
:
friend
class
_RasterImageBuilder;
63
protected
:
RasterImage
();
64
public
:
~RasterImage
();
68
public
:
NXOpen::Point3d
Origin
69
(
70
);
74
public
:
NXOpen::Matrix3x3
Matrix
75
(
76
);
80
public
:
double
Length
81
(
82
);
86
public
:
double
Height
87
(
88
);
92
public
:
NXString
ImageFileName
93
(
94
);
98
public
:
double
Translucency
99
(
100
);
104
public
:
NXOpen::Features::RasterImage::MaxTextureSize
MaximumTextureSize
105
(
106
);
110
public
:
void
Update
111
(
112
const
NXOpen::Point3d
& origin ,
113
const
NXOpen::Matrix3x3
& matrix ,
114
double
length ,
115
double
height ,
116
const
NXString
& imageFileName ,
117
double
translucency ,
118
NXOpen::Features::RasterImage::MaxTextureSize
maximumTextureSize
119
);
123
void
Update
124
(
125
const
NXOpen::Point3d
& origin ,
126
const
NXOpen::Matrix3x3
& matrix ,
127
double
length ,
128
double
height ,
129
const
char
* imageFileName ,
130
double
translucency ,
131
NXOpen::Features::RasterImage::MaxTextureSize
maximumTextureSize
132
);
133
};
134
}
135
}
136
#ifdef _MSC_VER
137
#pragma warning(pop)
138
#endif
139
#ifdef __GNUC__
140
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
141
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
142
#endif
143
#endif
144
#undef EXPORTLIBRARY