NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Layout2d_Component.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口的JA API头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Layout2d_Component.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/Layout2d_Types.hxx>
22#include <NXOpen/DisplayableObject.hxx>
23#include <NXOpen/ugmath.hxx>
24#include <NXOpen/libnxopencpp_layout2d_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
32namespace NXOpen
33{
34 namespace Layout2d
35 {
36 class Component;
37 }
39 namespace Layout2d
40 {
42 }
43 class Sketch;
44 namespace Layout2d
45 {
46 class _ComponentBuilder;
47 class ComponentImpl;
51 class NXOPENCPP_LAYOUT2DEXPORT Component : public NXOpen::DisplayableObject
52 {
53 private: ComponentImpl * m_component_impl;
54 private: friend class _ComponentBuilder;
55 protected: Component();
56 public: ~Component();
60 public: void Activate
61 (
62 );
66 public: void Deactivate
67 (
68 );
72 public: bool IsActive
73 (
74 );
78 public: void Update
79 (
80 );
84 public: bool LockUpdateStatus
85 (
86 );
91 (
92 bool lock
93 );
97 public: void ExitActivate
98 (
99 );
103 public: void GetMembers
104 (
106 std::vector<NXOpen::DisplayableObject *> & members
107 );
111 public: void Transform
112 (
113 const NXOpen::Matrix3x3 & rotation ,
114 const NXOpen::Vector3d & translation
115 );
119 public: void SetTransform
120 (
121 const NXOpen::Matrix3x3 & rotation ,
122 const NXOpen::Vector3d & translation
123 );
127 public: void GetTransform
128 (
129 NXOpen::Matrix3x3* rotation ,
130 NXOpen::Vector3d* translation
131 );
135 public: void AddExistingCurves
136 (
137 const std::vector<NXOpen::DisplayableObject *> & curves
138 );
143 (
144 );
148 public: bool GetAnchorPoint
149 (
150 NXOpen::Point3d* anchorPoint
151 );
156 (
157 );
162 (
163 );
168 (
169 );
174 (
175 );
180 (
181 );
186 (
187 bool upgrade
188 );
192 public: void RenewSketch
193 (
194 );
195 };
196 }
197}
198#ifdef _MSC_VER
199#pragma warning(pop)
200#endif
201#ifdef __GNUC__
202#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
203#pragma GCC diagnostic warning "-Wdeprecated-declarations"
204#endif
205#endif
206#undef EXPORTLIBRARY