NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
ShipDesign_Generator.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// 船舶API的C++接口头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// ShipDesign_Generator.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_shipdesign_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
30namespace NXOpen
31{
32 namespace ShipDesign
33 {
34 class Generator;
35 }
36 namespace ShipDesign
37 {
38 class ShipSession;
39 }
40 class Body;
41 class DatumPlane;
43 class TaggedObject;
44 namespace ShipDesign
45 {
46 class GeneratorImpl;
50 class NXOPENCPP_SHIPDESIGNEXPORT Generator
51 {
79 public:
83 public:
87 private: GeneratorImpl * m_generator_impl;
88 private: NXOpen::ShipDesign::ShipSession* m_owner;
90 public: explicit Generator(NXOpen::ShipDesign::ShipSession *owner);
92 public:
94 tag_t Tag() const;
95 public: ~Generator();
100 (
103 );
108 (
109 const std::vector<NXOpen::Body *> & bodies ,
110 NXOpen::DatumPlane * datumPlane
111 );
116 (
117 NXOpen::TaggedObject * hull ,
118 const std::vector<NXOpen::TaggedObject *> & inSheets ,
119 double tolerence ,
120 std::vector<int> & elementIndex ,
121 std::vector<NXOpen::TaggedObject *> & outElements
122 );
127 (
128 NXOpen::TaggedObject * plate ,
129 const std::vector<NXOpen::TaggedObject *> & inSheets ,
130 double tolerence ,
131 std::vector<NXOpen::TaggedObject *> & outElements
132 );
137 (
138 const NXString & name ,
141 );
146 (
147 const char * name ,
150 );
154 public: void CreateCargo
155 (
156 const std::vector<NXOpen::TaggedObject *> & inSheets ,
157 double tolerence ,
158 std::vector<NXOpen::TaggedObject *> & outElements
159 );
164 (
165 NXOpen::TaggedObject * outSheet ,
166 const std::vector<NXOpen::TaggedObject *> & inSheets ,
167 double tolerence ,
168 std::vector<NXOpen::TaggedObject *> & outElements
169 );
173 public: void CreateProgress
174 (
175 int numSteps ,
176 const NXString & operationName
177 );
182 (
183 int numSteps ,
184 const char * operationName
185 );
189 public: void DeleteProgress
190 (
191 );
195 public: void AdvanceProgress
196 (
197 int stepNumber
198 );
203 (
204 );
205 }; //lint !e1712 default constructor not defined for class
206 }
207}
208#ifdef _MSC_VER
209#pragma warning(pop)
210#endif
211#ifdef __GNUC__
212#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
213#pragma GCC diagnostic warning "-Wdeprecated-declarations"
214#endif
215#endif
216#undef EXPORTLIBRARY