NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Mechatronics_JointJoggerBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++ 接口的 JA API 头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Mechatronics_JointJoggerBuilder.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/Builder.hxx>
22
#include <NXOpen/SelectObject.hxx>
23
#include <NXOpen/ugmath.hxx>
24
#include <NXOpen/libnxopencpp_mechatronics_exports.hxx>
25
#ifdef _MSC_VER
26
#pragma warning(push)
27
#pragma warning(disable:4996)
28
#endif
29
#ifdef __GNUC__
30
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
31
#endif
32
namespace
NXOpen
33
{
34
namespace
Mechatronics
35
{
36
class
JointJoggerBuilder
;
37
}
38
class
Builder
;
39
class
CoordinateSystem
;
40
namespace
Mechatronics
41
{
42
class
SelectRigidBody
;
43
}
44
class
NXObject
;
45
namespace
Mechatronics
46
{
47
class
_JointJoggerBuilderBuilder;
48
class
JointJoggerBuilderImpl;
52
class
NXOPENCPP_MECHATRONICSEXPORT JointJoggerBuilder :
public
NXOpen::Builder
53
{
54
private
:
JointJoggerBuilderImpl
* m_jointjoggerbuilder_impl;
55
private
:
friend
class
_JointJoggerBuilderBuilder;
56
protected
: JointJoggerBuilder();
57
public
: ~JointJoggerBuilder();
61
public
:
void
AddJointData
62
(
63
NXOpen::NXObject
* joint
64
);
68
public
:
void
RemoveJointData
69
(
70
NXOpen::NXObject
* joint
71
);
75
public
:
void
EditJointAngle
76
(
77
NXOpen::NXObject
* joint ,
78
double
angleValue
79
);
83
public
:
void
EditJointDistance
84
(
85
NXOpen::NXObject
* joint ,
86
double
distanceValue
87
);
91
public
:
NXOpen::Mechatronics::SelectRigidBody
*
RigidBody
92
(
93
);
97
public
:
void
GetLinkedJoints
98
(
99
NXOpen::NXObject
* rigid ,
100
std::vector<NXOpen::NXObject *> & linkedJoints
101
);
105
public
:
bool
GenerateOperation
106
(
107
);
111
public
:
void
SetGenerateOperation
112
(
113
bool
generateOperation
114
);
118
public
:
bool
GenerateTargetCSYS
119
(
120
);
124
public
:
void
SetGenerateTargetCSYS
125
(
126
bool
generateTargetCSYS
127
);
131
public
:
NXOpen::CoordinateSystem
*
TargetCSYS
132
(
133
);
137
public
:
void
SetTargetCSYS
138
(
139
NXOpen::CoordinateSystem
* targetCSYS
140
);
144
public
:
NXOpen::CoordinateSystem
*
CreatePoseCsys
145
(
146
const
NXOpen::Point3d
& origin ,
147
const
NXOpen::Vector3d
& xdir ,
148
const
NXOpen::Vector3d
& ydir
149
);
153
public
:
NXString
Name
154
(
155
);
159
public
:
void
SetName
160
(
161
const
NXString
& name
162
);
166
void
SetName
167
(
168
const
char
* name
169
);
170
};
171
}
172
}
173
#ifdef _MSC_VER
174
#pragma warning(pop)
175
#endif
176
#ifdef __GNUC__
177
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
178
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
179
#endif
180
#endif
181
#undef EXPORTLIBRARY