NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
CAM_Operation.hxx
1//--------------------------------------------------------------------------
2// 版权所有 2024 Siemens
3//--------------------------------------------------------------------------
4// JA API 的 C++ 接口头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// CAM_Operation.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/CAM_CAMSetup.hxx>
22#include <NXOpen/CAM_CutRegionsData.hxx>
23#include <NXOpen/CAM_GougeCheckResults.hxx>
24#include <NXOpen/CAM_Move.hxx>
25#include <NXOpen/CAM_PreviewOperation.hxx>
26#include <NXOpen/CAM_CAMObject.hxx>
27#include <NXOpen/ugmath.hxx>
28#include <NXOpen/libnxopencpp_cam_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
36namespace NXOpen
37{
38 namespace CAM
39 {
40 class Operation;
41 }
42 namespace CAM
43 {
44 class CAMFeature;
45 }
46 namespace CAM
47 {
48 class CAMObject;
49 }
50 namespace CAM
51 {
52 class CutRegionsData;
53 }
54 namespace CAM
55 {
56 namespace FBM
57 {
58 class Feature;
59 }
60 }
61 namespace CAM
62 {
64 }
65 namespace CAM
66 {
67 class Move;
68 }
69 namespace CAM
70 {
71 class MoveCollection;
72 }
73 namespace CAM
74 {
75 class NCGroup;
76 }
77 namespace CAM
78 {
79 class PreviewOperation;
80 }
81 namespace CAM
82 {
84 }
85 class NXObject;
86 namespace CAM
87 {
88 class _OperationBuilder;
89 class OperationImpl;
93 class NXOPENCPP_CAMEXPORT Operation : public NXOpen::CAM::CAMObject
94 {
104 private: OperationImpl * m_operation_impl;
105 private: friend class _OperationBuilder;
106 protected: Operation();
107public: ~Operation();
111 public: void AppendMove
112 (
113 NXOpen::CAM::Move * move
114 );
118 public: void InsertMove
119 (
120 NXOpen::CAM::Move * insertAfter ,
121 NXOpen::CAM::Move * move
122 );
126 public: std::vector<NXString> GetUserDefinedMoveTypes
127 (
128 );
133 (
134 );
138 public: double GetToolpathTime
139 (
140 );
144 public: void SetToolpathTime
145 (
146 double time
147 );
151 public: double GetToolpathLength
152 (
153 );
157 public: void SetToolpathLength
158 (
159 double length
160 );
165 (
166 );
171 (
172 double time
173 );
178 (
179 );
184 (
185 double length
186 );
191 (
193 );
197 public: void UnlinkInstance
198 (
199 );
201
204 public: void GenerateIpw
205 (
206 bool checkCollisions ,
207 bool useHolder
208 );
210
214 (
215 );
220 (
221 NXOpen::CAM::CAMFeature * tagMachiningFeature
222 );
226 public: void RemoveFeature
227 (
228 NXOpen::CAM::CAMFeature * tagFeature
229 );
234 (
235 );
240 (
241 const NXString & type
242 );
247 (
248 const char * type
249 );
253 public: void SetMachiningArea
254 (
255 const NXString & type
256 );
261 (
262 const char * type
263 );
267 public: bool GougeCheckStatus
268 (
269 );
271
274 public: NXOpen::CAM::GougeCheckResults * PerformGougeCheck
275 (
277 );
279
283 (
284 );
286
289 public: void ResetGougeChecking
290 (
291 );
294
297 public: void PerformSpikeCheck
298 (
299 );
302
305 public: NXOpen::CAM::CutRegionsData * CutRegionsData
306 (
307 );
309
312 public: bool HasOtherInstances
313 (
314 );
318 public: std::vector<NXOpen::CAM::Operation *> GetOtherInstances
319 (
320 );
324 public: bool IsFirstOfDivide
325 (
326 );
330 public: bool IsDivided
331 (
332 );
336 public: std::vector<NXOpen::CAM::Operation *> GetDividedOperations
337 (
338 );
343 (
344 );
346
349 public: bool IsAdditive
350 (
351 );
354
357 public: bool ComparePath
358 (
359 double positionTolerance ,
360 double angleTolerance
361 );
364
367 public: bool ComparePath
368 (
369 double positionTolerance ,
370 double angleTolerance ,
371 bool exactCompare ,
372 bool realCompare ,
373 bool tubeCompare
374 );
377
380 public: bool ComparePath
381 (
382 double positionTolerance ,
383 double angleTolerance ,
384 bool exactCompare ,
385 bool realCompare ,
386 bool tubeCompare ,
387 bool realCompareDetailed ,
388 int stopAfterNDiffs ,
389 int* realCPosDiff ,
390 int* realCOrientDiff
391 );
393
396 public: bool IsMirror
397 (
398 );
403 (
404 );
409 (
410 );
415 (
416 NXOpen::Matrix3x3* rotationMatrix ,
417 NXOpen::Vector3d* translation ,
418 double* scale
419 );
421
424 public: bool CanGenerateIpw
425 (
427 );
430
433 public: NXOpen::CAM::PreviewOperation * GetPreview
434 (
435 );
437
440 public: double GetRemovedVolume
441 (
442 );
447 (
448 );
453 (
454 );
459 (
460 );
462
465 public: NXOpen::CAM::NCGroup * ParentProgramOrder
466 (
467 );
470
473 public: NXOpen::CAM::NCGroup * ParentMachineMethod
474 (
475 );
478
481 public: NXOpen::CAM::NCGroup * ParentGeometry
482 (
483 );
486
489 public: NXOpen::CAM::NCGroup * ParentMachineTool
490 (
491 );
493
497 (
498 );
503 };
504 }
505}
506#ifdef _MSC_VER
507#pragma warning(pop)
508#endif
509#ifdef __GNUC__
510#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
511#pragma GCC diagnostic warning "-Wdeprecated-declarations"
512#endif
513#endif
514#undef EXPORTLIBRARY