NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
WCS.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// WCS.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/TaggedObject.hxx>
22
#include <NXOpen/ugmath.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
WCS
;
34
class
BasePart
;
35
class
CartesianCoordinateSystem
;
36
class
WCSImpl;
47
class
NXOPENCPPEXPORT
WCS
48
{
50
public
:
enum
Axis
51
{
52
AxisXAxis
= 1,
53
AxisYAxis
,
54
AxisZAxis
55
};
56
private
:
WCSImpl
* m_wcs_impl;
57
private
:
NXOpen::BasePart
* m_owner;
59
public
:
explicit
WCS
(
NXOpen::BasePart
*owner);
61
public
:
63
tag_t
Tag
()
const
;
64
public
:
~WCS
();
68
public
:
void
SetOrigin
69
(
70
const
NXOpen::Point3d
& origin
71
);
75
public
:
NXOpen::Point3d
Origin
76
(
77
);
81
public
:
NXOpen::CartesianCoordinateSystem
*
Save
82
(
83
);
87
public
:
NXOpen::CartesianCoordinateSystem
*
CoordinateSystem
88
(
89
);
93
public
:
void
SetOriginAndMatrix
94
(
95
const
NXOpen::Point3d
& origin ,
96
const
NXOpen::Matrix3x3
& matrix
98
);
102
public
:
void
Rotate
103
(
104
NXOpen::WCS::Axis
rotationAxis ,
105
double
angle
106
);
110
public
:
bool
Visibility
111
(
112
);
116
public
:
void
SetVisibility
117
(
118
bool
isVisible
119
);
124
public
:
NXOpen::CartesianCoordinateSystem
*
SetCoordinateSystem
125
(
126
NXOpen::CartesianCoordinateSystem
* newCs
127
);
131
public
:
NXOpen::CartesianCoordinateSystem
*
SetCoordinateSystemCartesianAtCsys
132
(
133
NXOpen::CartesianCoordinateSystem
* newCs
134
);
135
};
//lint !e1712 类未定义默认构造函数
136
}
137
#ifdef _MSC_VER
138
#pragma warning(pop)
139
#endif
140
#ifdef __GNUC__
141
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
142
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
143
#endif
144
#endif
145
#undef EXPORTLIBRARY