NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Mechatronics_SpringDamperBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口至JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Mechatronics_SpringDamperBuilder.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
SpringDamperBuilder
;
37
}
38
class
Expression
;
39
namespace
Mechatronics
40
{
41
class
PhysicsConstraintBuilder
;
42
}
43
namespace
Mechatronics
44
{
45
class
SelectPhysicsJoint
;
46
}
47
namespace
Mechatronics
48
{
49
class
_SpringDamperBuilderBuilder;
50
class
SpringDamperBuilderImpl;
54
class
NXOPENCPP_MECHATRONICSEXPORT SpringDamperBuilder :
public
NXOpen::Mechatronics::PhysicsConstraintBuilder
55
{
57
public
:
enum
AxisJointType
58
{
59
AxisJointTypeAngular
,
60
AxisJointTypeLinear
61
};
62
private
:
SpringDamperBuilderImpl
* m_springdamperbuilder_impl;
63
private
:
friend
class
_SpringDamperBuilderBuilder;
64
protected
:
SpringDamperBuilder
();
65
public
:
~SpringDamperBuilder
();
70
public
:
NXOpen::Mechatronics::SelectPhysicsJoint
*
AxisJoint
71
(
72
);
76
public
:
NXOpen::Mechatronics::SpringDamperBuilder::AxisJointType
AxisType
77
(
78
);
82
public
:
void
SetAxisType
83
(
84
NXOpen::Mechatronics::SpringDamperBuilder::AxisJointType
axisType
85
);
89
public
:
NXOpen::Expression
*
SpringConstant
90
(
91
);
95
public
:
NXOpen::Expression
*
Damping
96
(
97
);
101
public
:
NXOpen::Expression
*
RelaxedPosition
102
(
103
);
104
};
105
}
106
}
107
#ifdef _MSC_VER
108
#pragma warning(pop)
109
#endif
110
#ifdef __GNUC__
111
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
112
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
113
#endif
114
#endif
115
#undef EXPORTLIBRARY