NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Annotations_DimensionSet.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++ 接口访问 JA API 的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Annotations_DimensionSet.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/Annotations_Associativity.hxx>
22
#include <NXOpen/Annotations_DimensionData.hxx>
23
#include <NXOpen/Annotations_PmiData.hxx>
24
#include <NXOpen/Annotations_Annotation.hxx>
25
#include <NXOpen/Annotations_IContainer.hxx>
26
#include <NXOpen/INXObject.hxx>
27
#include <NXOpen/ugmath.hxx>
28
#include <NXOpen/libnxopencpp_annotations_exports.hxx>
29
#ifdef _MSC_VER
30
#pragma warning(push)
31
#pragma warning(disable:4996)
32
#endif
33
#ifdef __GNUC__
34
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
35
#endif
36
namespace
NXOpen
37
{
38
namespace
Annotations
39
{
40
class
DimensionSet
;
41
}
42
namespace
Annotations
43
{
44
class
Annotation
;
45
}
46
namespace
Annotations
47
{
48
class
Associativity
;
49
}
50
namespace
Annotations
51
{
52
class
Dimension
;
53
}
54
namespace
Annotations
55
{
56
class
DimensionData
;
57
}
58
namespace
Annotations
59
{
60
class
IContainer
;
61
}
62
namespace
Annotations
63
{
64
class
PmiData
;
65
}
66
namespace
Assemblies
67
{
68
class
Component
;
69
}
70
class
BasePart
;
71
class
INXObject
;
72
class
NXObject
;
73
class
Xform
;
74
namespace
Annotations
75
{
76
class
_DimensionSetBuilder;
77
class
DimensionSetImpl;
81
class
NXOPENCPP_ANNOTATIONSEXPORT DimensionSet :
public
NXOpen::Annotations::Annotation
,
public
virtual
NXOpen::Annotations::IContainer
82
{
83
private
:
DimensionSetImpl
* m_dimensionset_impl;
84
private
:
friend
class
_DimensionSetBuilder;
85
protected
: DimensionSet();
86
public
: ~DimensionSet();
90
public
:
double
DimensionOffset
91
(
92
);
96
public
:
void
SetDimensionOffset
97
(
98
double
dimensionOffset
99
);
103
public
:
NXOpen::Annotations::Dimension
*
AddDimension
104
(
105
NXOpen::Annotations::DimensionData
* dimensionData ,
106
const
NXOpen::Point3d
& origin ,
107
bool
autoAdjustNarrowDim
108
);
112
public
:
NXOpen::Annotations::Dimension
*
AddPmiDimension
113
(
114
NXOpen::Annotations::DimensionData
* dimensionData ,
115
NXOpen::Annotations::PmiData
* pmiData ,
116
const
NXOpen::Point3d
& origin ,
117
bool
autoAdjustNarrowDim
118
);
122
public
:
NXOpen::Annotations::Dimension
*
AddPmiDimension
123
(
124
NXOpen::Annotations::DimensionData
* dimensionData ,
125
NXOpen::Annotations::PmiData
* pmiData ,
126
NXOpen::Xform
* annotationPlane ,
127
const
NXOpen::Point3d
& origin ,
128
bool
autoAdjustNarrowDim
129
);
133
public
:
void
ReverseOffset
134
(
135
);
139
public
: std::vector<NXOpen::Annotations::Dimension *>
GetAllSubDimensions
140
(
141
);
145
public
:
virtual
std::vector<NXOpen::NXObject *>
GetObjects
146
(
147
);
151
public
:
virtual
void
RemoveObject
152
(
153
NXOpen::NXObject
*
object
154
);
155
};
156
}
157
}
158
#ifdef _MSC_VER
159
#pragma warning(pop)
160
#endif
161
#ifdef __GNUC__
162
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
163
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
164
#endif
165
#endif
166
#undef EXPORTLIBRARY