NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Motion_MotionSolution.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Motion_MotionSolution.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/CAE_Xyplot_Plot.hxx>
22#include <NXOpen/Motion_AnimationControl.hxx>
23#include <NXOpen/Motion_ArticulationControl.hxx>
24#include <NXOpen/Motion_EigenvectorAnimationControl.hxx>
25#include <NXOpen/Motion_Graph.hxx>
26#include <NXOpen/Motion_LoadTransferControl.hxx>
27#include <NXOpen/Motion_PostToolsControl.hxx>
28#include <NXOpen/Motion_SolutionAppppProxy.hxx>
29#include <NXOpen/Motion_SolutionResult.hxx>
30#include <NXOpen/Motion_SolutionSpreadsheetExport.hxx>
31#include <NXOpen/Motion_SpreadsheetRunControl.hxx>
32#include <NXOpen/Motion_StaticModeAnimationControl.hxx>
33#include <NXOpen/Motion_IGraphSource.hxx>
34#include <NXOpen/NXObject.hxx>
35#include <NXOpen/libnxopencpp_motion_exports.hxx>
36#ifdef _MSC_VER
37#pragma warning(push)
38#pragma warning(disable:4996)
39#endif
40#ifdef __GNUC__
41#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
42#endif
43namespace NXOpen
44{
45 namespace Motion
46 {
47 class MotionSolution;
48 }
49 namespace CAE
50 {
51 namespace Xyplot
52 {
53 class Plot;
54 }
55 }
56 namespace Motion
57 {
58 class Animation;
59 }
60 namespace Motion
61 {
63 }
64 namespace Motion
65 {
66 class AnimationControl;
67 }
68 namespace Motion
69 {
71 }
72 namespace Motion
73 {
75 }
76 namespace Motion
77 {
78 class Graph;
79 }
80 namespace Motion
81 {
83 }
84 namespace Motion
85 {
86 class IGraphSource;
87 }
88 namespace Motion
89 {
91 }
92 namespace Motion
93 {
95 }
96 namespace Motion
97 {
98 class PostToolsControl;
99 }
100namespace Motion
101 {
102 class SolutionAppppProxy;
103 }
104 namespace Motion
105 {
107 }
108 namespace Motion
109 {
110 class SolutionResult;
111 }
112 namespace Motion
113 {
115 }
116 namespace Motion
117 {
119 }
120 namespace Motion
121 {
123 }
124 class NXObject;
125 class Unit;
126 namespace Motion
127 {
128 class _MotionSolutionBuilder;
129 class MotionSolutionImpl;
133 class NXOPENCPP_MOTIONEXPORT MotionSolution : public NXOpen::NXObject, public virtual NXOpen::Motion::IGraphSource
134 {
141 private: MotionSolutionImpl * m_motionsolution_impl;
142 private: friend class _MotionSolutionBuilder;
143 protected: MotionSolution();
144 public: ~MotionSolution();
149 (
150 );
155 (
156 );
161 (
162 );
167 (
168 );
173 (
174 );
179 (
180 );
185 (
186 NXOpen::NXObject * object
187 );
192 (
193 NXOpen::NXObject * object
194 );
201 (
202 NXOpen::NXObject * motionObject ,
203 bool forceOk
204 );
208 public: bool GetIsSuppressed
209 (
210 NXOpen::NXObject * objectTag
211 );
216 (
217 );
221 public: void SetName
222 (
223 const NXString & solutionName ,
224 bool renameResultFile
225 );
230 (
231 const char * solutionName ,
232 bool renameResultFile
233 );
238 (
239 );
244 (
245 );
250 (
251 const NXString & spreadsheetName
252 );
257 (
258 const char * spreadsheetName
259 );
264 (
265 );
270 (
271 );
276 (
277 );
282 (
283 );
288 (
289 NXOpen::Motion::Graph * graph ,
290 std::vector<double> & resultPoints ,
291 NXOpen::Unit ** unit
292 );
296 public: std::vector<NXOpen::Motion::Graph *> GetGraphObject
297 (
298 );
303 (
304 const NXString & fileName ,
305 NXOpen::Motion::Graph * xGraph ,
306 NXOpen::Motion::Graph * yGraph
307 );
312 (
313 const char * fileName ,
314 NXOpen::Motion::Graph * xGraph ,
315 NXOpen::Motion::Graph * yGraph
316 );
320 public: void LoadResult
321 (
322 );
326 public: void ReviewResult
327 (
328 const NXString & fileName
329 );
334 (
335 const char * fileName
336 );
341 (
342 );
347 (
348 NXOpen::Motion::Graph * xGraph ,
349 const std::vector<NXOpen::Motion::Graph *> & yGraphs ,
350 int winDevice ,
351 int viewIndex ,
352 bool overlay
353 );
355
358 public: void PrintAnimationObjects
359 (
360 );
362
366 (
367 );
372 (
373 int numClones ,
374 std::vector<NXOpen::Motion::MotionSolution *> & clonedSolutions
375 );
381 (
382 );
387 (
388 );
395 (
396 );
401 (
402 );
407 (
408 );
413 (
415 );
420 (
421 );
426 (
427 );
431 public: std::vector<NXOpen::Motion::Animation *> GetAnimations
432 (
433 );
439 (
440 double timeValue ,
442 );
448 (
449 double startTimeValue ,
450 double endTimeValue ,
452 );
457 (
458 const std::vector<NXString> & listRPMs ,
459 const std::vector<NXString> & listElementTypes ,
460 const std::vector<NXString> & listBodies ,
461 const std::vector<NXString> & listMathFunctions ,
462 const std::vector<NXString> & listTransmissionErrors ,
463 const std::vector<NXString> & listKinematicSensors
464 );
477 };
478 }
479}
480#ifdef _MSC_VER
481#pragma warning(pop)
482#endif
483#ifdef __GNUC__
484#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
485#pragma GCC diagnostic warning "-Wdeprecated-declarations"
486#endif
487#endif
488#undef EXPORTLIBRARY