NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Mechatronics_BreakingConstraintBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// 用于JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Mechatronics_BreakingConstraintBuilder.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/Expression.hxx>
22
#include <NXOpen/Mechatronics_PhysicsConstraintBuilder.hxx>
23
#include <NXOpen/SelectObject.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
BreakingConstraintBuilder
;
37
}
38
class
Direction
;
39
class
Expression
;
40
namespace
Mechatronics
41
{
42
class
PhysicsConstraintBuilder
;
43
}
44
namespace
Mechatronics
45
{
46
class
PhysicsJoint
;
47
}
48
namespace
Mechatronics
49
{
50
class
SelectPhysicsJoint
;
51
}
52
namespace
Mechatronics
53
{
54
class
_BreakingConstraintBuilderBuilder;
55
class
BreakingConstraintBuilderImpl;
59
class
NXOPENCPP_MECHATRONICSEXPORT BreakingConstraintBuilder :
public
NXOpen::Mechatronics::PhysicsConstraintBuilder
60
{
62
public
:
enum
BreakingModeType
63
{
64
BreakingModeTypeForce
,
65
BreakingModeTypeTorque
66
};
67
private
:
BreakingConstraintBuilderImpl
* m_breakingconstraintbuilder_impl;
68
private
:
friend
class
_BreakingConstraintBuilderBuilder;
69
protected
:
BreakingConstraintBuilder
();
70
public
:
~BreakingConstraintBuilder
();
74
public
:
NXOpen::Mechatronics::SelectPhysicsJoint
*
Joint
75
(
76
);
80
public
:
void
SetJoint
81
(
82
NXOpen::Mechatronics::PhysicsJoint
* joint
83
);
87
public
:
NXOpen::Mechatronics::BreakingConstraintBuilder::BreakingModeType
BreakingMode
88
(
89
);
93
public
:
void
SetBreakingMode
94
(
95
NXOpen::Mechatronics::BreakingConstraintBuilder::BreakingModeType
breakingMode
96
);
100
public
:
NXOpen::Expression
*
MaximumMagnitude
101
(
102
);
106
public
:
bool
FixedDirection
107
(
108
);
112
public
:
void
SetFixedDirection
113
(
114
bool
fixedDirection
115
);
119
public
:
NXOpen::Direction
*
Direction
120
(
121
);
125
public
:
void
SetDirection
126
(
127
NXOpen::Direction
* direction
128
);
129
};
130
}
131
}
132
#ifdef _MSC_VER
133
#pragma warning(pop)
134
#endif
135
#ifdef __GNUC__
136
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
137
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
138
#endif
139
#endif
140
#undef EXPORTLIBRARY