NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
DrawShapeTaskEnvironment.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口JA API的头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// DrawShapeTaskEnvironment.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/libnxopencpp_exports.hxx>
23
#ifdef _MSC_VER
24
#pragma warning(push)
25
#pragma warning(disable:4996)
26
#endif
27
#ifdef __GNUC__
28
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
29
#endif
30
namespace
NXOpen
31
{
32
class
DrawShapeTaskEnvironment
;
33
class
Session
;
34
class
Curve
;
35
namespace
Features
36
{
37
class
DrawShape
;
38
}
39
class
DrawShapeTaskEnvironmentImpl;
45
class
NXOPENCPPEXPORT
DrawShapeTaskEnvironment
46
{
47
private
:
DrawShapeTaskEnvironmentImpl
* m_drawshapetaskenvironment_impl;
48
private
:
NXOpen::Session
* m_owner;
50
public
:
explicit
DrawShapeTaskEnvironment
(
NXOpen::Session
*owner);
52
public
:
54
tag_t
Tag
()
const
;
55
public
:
~DrawShapeTaskEnvironment
();
60
public
:
void
Enter
61
(
62
);
66
public
:
void
Exit
67
(
68
);
72
public
:
NXOpen::Features::DrawShape
*
ActiveFeature
73
(
74
);
78
public
:
void
SetFeatureToEdit
79
(
80
NXOpen::Features::DrawShape
* feature
81
);
86
public
:
void
SetCancelled
87
(
88
);
90
93
public
:
int
GetNumberOfActiveStrokes
94
(
95
);
98
101
public
:
NXOpen::Curve
* GetActiveStroke
102
(
103
int
index
104
);
107
110
public
:
int
GetNumberOfActiveCurves
111
(
112
);
115
118
public
:
NXOpen::Curve
* GetActiveCurve
119
(
120
int
index
121
);
123
};
//lint !e1712 类未定义默认构造函数
124
}
125
#ifdef _MSC_VER
126
#pragma warning(pop)
127
#endif
128
#ifdef __GNUC__
129
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
130
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
131
#endif
132
#endif
133
#undef EXPORTLIBRARY