NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Drawings_ViewScaleBuilder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// C++接口头文件,用于访问JA API
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Drawings_ViewScaleBuilder.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/GeometricUtilities_IComponentBuilder.hxx>
22
#include <NXOpen/TaggedObject.hxx>
23
#include <NXOpen/libnxopencpp_drawings_exports.hxx>
24
#ifdef _MSC_VER
25
#pragma warning(push)
26
#pragma warning(disable:4996)
27
#endif
28
#ifdef __GNUC__
29
#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
30
#endif
31
namespace
NXOpen
32
{
33
namespace
Drawings
34
{
35
class
ViewScaleBuilder
;
36
}
37
class
Expression
;
38
namespace
GeometricUtilities
39
{
40
class
IComponentBuilder
;
41
}
42
namespace
Drawings
43
{
44
class
_ViewScaleBuilderBuilder;
45
class
ViewScaleBuilderImpl;
49
class
NXOPENCPP_DRAWINGSEXPORT ViewScaleBuilder :
public
NXOpen::TaggedObject
,
public
virtual
NXOpen::GeometricUtilities::IComponentBuilder
50
{
52
public
:
enum
Type
53
{
54
TypeRatio
,
55
TypeExpression
56
};
57
private
:
ViewScaleBuilderImpl
* m_viewscalebuilder_impl;
58
private
:
friend
class
_ViewScaleBuilderBuilder;
59
protected
:
ViewScaleBuilder
();
60
public
:
~ViewScaleBuilder
();
64
public
:
NXOpen::Drawings::ViewScaleBuilder::Type
ScaleType
65
(
66
);
70
public
:
void
SetScaleType
71
(
72
NXOpen::Drawings::ViewScaleBuilder::Type
type
73
);
77
public
:
double
Numerator
78
(
79
);
83
public
:
void
SetNumerator
84
(
85
double
numerator
86
);
90
public
:
double
Denominator
91
(
92
);
96
public
:
void
SetDenominator
97
(
98
double
denominator
99
);
103
public
:
NXOpen::Expression
*
Expression
104
(
105
);
109
public
:
void
SetExpression
110
(
111
NXOpen::Expression
* expression
112
);
117
public
:
virtual
bool
Validate
118
(
119
);
120
};
121
}
122
}
123
#ifdef _MSC_VER
124
#pragma warning(pop)
125
#endif
126
#ifdef __GNUC__
127
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
128
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
129
#endif
130
#endif
131
#undef EXPORTLIBRARY