NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Fields_FieldManager.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Fields_FieldManager.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/Fields_DisplayPropertiesBuilder.hxx>
22#include <NXOpen/Fields_ExportData.hxx>
23#include <NXOpen/Fields_Field.hxx>
24#include <NXOpen/Fields_FieldTable.hxx>
25#include <NXOpen/Fields_FieldVariable.hxx>
26#include <NXOpen/Fields_ImportBuilder.hxx>
27#include <NXOpen/Fields_ImportTableDataBuilder.hxx>
28#include <NXOpen/Fields_PathObjects.hxx>
29#include <NXOpen/Fields_SpatialMap.hxx>
30#include <NXOpen/Fields_SpatialMapBuilder.hxx>
31#include <NXOpen/NXObject.hxx>
32#include <NXOpen/libnxopencpp_fields_exports.hxx>
33#ifdef _MSC_VER
34#pragma warning(push)
35#pragma warning(disable:4996)
36#endif
37#ifdef __GNUC__
38#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
39#endif
40namespace NXOpen
41{
42 namespace Fields
43 {
44 class FieldManager;
45 }
46 class Expression;
47 namespace Fields
48 {
50 }
51 namespace Fields
52 {
54 }
55 namespace Fields
56 {
58 }
59 namespace Fields
60 {
61 class ExportData;
62 }
63 namespace Fields
64 {
65 class Field;
66 }
67 namespace Fields
68 {
69 class FieldCollection;
70 }
71 namespace Fields
72 {
73 class FieldExpression;
74 }
75 namespace Fields
76 {
77 class FieldFolder;
78 }
79 namespace Fields
80 {
82 }
83 namespace Fields
84 {
85 class FieldFormula;
86 }
87 namespace Fields
88 {
89 class FieldLink;
90 }
91 namespace Fields
92 {
93 class FieldLinksTable;
94 }
95 namespace Fields
96 {
97 class FieldTable;
98 }
99namespace Fields
100 {
101 class FieldVariable;
102 }
103 namespace Fields
104 {
105 class FieldWrapper;
106 }
107 namespace Fields
108 {
109 class ImportBuilder;
110 }
111 namespace Fields
112 {
114 }
115 namespace Fields
116 {
117 class NameVariable;
118 }
119 namespace Fields
120 {
121 class PathObjects;
122 }
123 namespace Fields
124 {
125 class ScalarFieldWrapper;
126 }
127 namespace Fields
128 {
129 class SpatialMap;
130 }
131 namespace Fields
132 {
133 class SpatialMapBuilder;
134 }
135 namespace Fields
136 {
137 class VectorFieldWrapper;
138 }
139 class NXObject;
140 class Point;
141 class TaggedObject;
142 class Unit;
143 namespace Fields
144 {
145 class _FieldManagerBuilder;
146 class FieldManagerImpl;
152 class NXOPENCPP_FIELDSEXPORT FieldManager : public NXOpen::NXObject
153 {
154 private: FieldManagerImpl * m_fieldmanager_impl;
155 private: friend class _FieldManagerBuilder;
156 protected: FieldManager();
157 public: ~FieldManager();
163 (
164 const NXString & fieldExpString ,
165 NXOpen::Unit * unitType
166 );
172 (
173 const char * fieldExpString ,
174 NXOpen::Unit * unitType
175 );
183 (
185 );
191 (
192 const NXString & fieldName ,
193 const std::vector<NXOpen::Fields::FieldVariable *> & indepVarArray ,
194 const std::vector<NXOpen::Fields::FieldExpression *> & depExpArray
195 );
201 (
202 const char * fieldName ,
203 const std::vector<NXOpen::Fields::FieldVariable *> & indepVarArray ,
204 const std::vector<NXOpen::Fields::FieldExpression *> & depExpArray
205 );
211 (
212 const NXString & fieldName ,
213 const std::vector<NXOpen::Fields::FieldVariable *> & indepVarArray ,
214 const std::vector<NXOpen::Fields::FieldVariable *> & depVarArray ,
215 const std::vector<double> & datapoints
216 );
222 (
223 const char * fieldName ,
224 const std::vector<NXOpen::Fields::FieldVariable *> & indepVarArray ,
225 const std::vector<NXOpen::Fields::FieldVariable *> & depVarArray ,
226 const std::vector<double> & datapoints
227 );
233 (
234 const NXString & fieldName ,
235 const std::vector<NXOpen::Fields::FieldVariable *> & indepVarArray ,
236 const std::vector<NXOpen::Fields::FieldVariable *> & depVarArray ,
237 const std::vector<double> & datapoints ,
238 NXOpen::Fields::FieldTable::DuplicateValueOption duplicateValueProcessingOption
239 );
245 (
246 const char * fieldName ,
247 const std::vector<NXOpen::Fields::FieldVariable *> & indepVarArray ,
248 const std::vector<NXOpen::Fields::FieldVariable *> & depVarArray ,
249 const std::vector<double> & datapoints ,
250 NXOpen::Fields::FieldTable::DuplicateValueOption duplicateValueProcessingOption
251 );
257 (
258 const NXString & fieldName ,
259 const std::vector<NXOpen::Fields::FieldVariable *> & indepVarArray ,
260 const std::vector<NXOpen::Fields::FieldVariable *> & depVarArray ,
261 const std::vector<double> & datapoints ,
262 NXOpen::Fields::FieldTable::DuplicateValueOption duplicateValueProcessingOption ,
264 int numStructDataRows ,
265 int numStructDataColumns ,
266 int numStructDataPlanes
267 );
273 (
274 const char * fieldName ,
275 const std::vector<NXOpen::Fields::FieldVariable *> & indepVarArray ,
276 const std::vector<NXOpen::Fields::FieldVariable *> & depVarArray ,
277 const std::vector<double> & datapoints ,
278 NXOpen::Fields::FieldTable::DuplicateValueOption duplicateValueProcessingOption ,
280 int numStructDataRows ,
281 int numStructDataColumns ,
282 int numStructDataPlanes
283 );
289 (
290 const NXString & fieldNamePrefix ,
291 NXOpen::Unit * ivarUnit ,
292 NXOpen::Unit * dvarUnit ,
294 const std::vector<double> & datapoints
295 );
301 (
302 const char * fieldNamePrefix ,
303 NXOpen::Unit * ivarUnit ,
304 NXOpen::Unit * dvarUnit ,
306 const std::vector<double> & datapoints
307 );
313 (
314 const NXString & fieldNamePrefix ,
315 NXOpen::Unit * ivarUnit ,
316 NXOpen::Unit * dvarUnit ,
318 const NXString & dvarName ,
319 const std::vector<double> & datapoints
320 );
326 (
327 const char * fieldNamePrefix ,
328 NXOpen::Unit * ivarUnit ,
329 NXOpen::Unit * dvarUnit ,
331 const char * dvarName ,
332 const std::vector<double> & datapoints
333 );
339 (
340 const NXString & fieldName ,
341 NXOpen::Fields::Field * fieldToLink
342 );
348 (
349 const char * fieldName ,
350 NXOpen::Fields::Field * fieldToLink
351 );
357 (
358 NXOpen::Fields::Field * field
359 );
363 public: std::vector<bool> DeleteFields
364 (
365 const std::vector<NXOpen::Fields::Field *> & fields
366 );
372 (
373 NXOpen::Fields::Field * ownerField ,
374 NXOpen::Fields::NameVariable * nameVariable ,
375 NXOpen::Unit * unitType ,
376 bool minValueSet ,
377 bool minValueInclusive ,
378 double minValue ,
379 bool maxValueSet ,
380 bool maxValueInclusive ,
381 double maxValue ,
382 bool numPtsSet ,
383 int numPts ,
384 bool defaultValueSet ,
385 double defaultValue
386 );
392 (
393 NXOpen::Fields::Field * ownerField ,
394 NXOpen::Fields::NameVariable * nameVariable ,
395 NXOpen::Unit * unitType ,
397 bool minValueSet ,
398 bool minValueInclusive ,
399 double minValue ,
400 bool maxValueSet ,
401 bool maxValueInclusive ,
402 double maxValue ,
403 bool numPtsSet ,
404 int numPts ,
405 bool defaultValueSet ,
406 double defaultValue
407 );
412 (
414 const NXString & varName ,
415 NXOpen::Unit * unitType ,
416 bool minValueSet ,
417 bool minValueInclusive ,
418 double minValue ,
419 bool maxValueSet ,
420 bool maxValueInclusive ,
421 double maxValue ,
422 bool numPtsSet ,
423 int numPts ,
424 bool defaultValueSet ,
425 double defaultValue
426 );
431 (
433 const char * varName ,
434 NXOpen::Unit * unitType ,
435 bool minValueSet ,
436 bool minValueInclusive ,
437 double minValue ,
438 bool maxValueSet ,
439 bool maxValueInclusive ,
440 double maxValue ,
441 bool numPtsSet ,
442 int numPts ,
443 bool defaultValueSet ,
444 double defaultValue
445 );
450 (
452 NXOpen::Unit * unitType
453 );
459 (
460 NXOpen::Fields::Field * ownerField ,
461 NXOpen::Fields::NameVariable * nameVariable ,
462 NXOpen::Unit * unitType
463 );
469 (
470 NXOpen::Fields::Field * ownerField ,
471 NXOpen::Fields::NameVariable * nameVariable ,
472 NXOpen::Unit * unitType ,
474 );
479 (
481 const NXString & varName ,
482 NXOpen::Unit * unitType
483 );
488 (
490 const char * varName ,
491 NXOpen::Unit * unitType
492 );
497 (
499 NXOpen::Unit * unitType
500 );
505 (
506 NXOpen::Fields::Field * field
507 );
512 (
513 NXOpen::Expression * expression
514 );
519 (
520 NXOpen::Fields::Field * field ,
521 double scaleFactor
522 );
527 (
528 const std::vector<NXOpen::Expression *> & expressions
529 );
534 (
535 NXOpen::Fields::Field * field ,
536 const std::vector<double> & scaleFactors
537 );
542 (
543 const std::vector<NXOpen::Expression *> & expressions
544 );
549 (
550 NXOpen::Fields::Field * field
551 );
556 (
557 const std::vector<NXOpen::Fields::Field *> & fieldArray
558 );
563 (
564 );
569 (
570 NXOpen::Fields::SpatialMap * spatialmap
571 );
576 (
577 );
581 public: void ExportFields
582 (
583 NXOpen::Fields::ExportData * exportData
584 );
589 (
590 );
595 (
596 );
601 (
602 const NXString & variableName ,
603 const NXString & measureName
604 );
609 (
610 const char * variableName ,
611 const char * measureName
612 );
616 public: int GetValidFieldId
617 (
618 );
624 (
625 const NXString & fieldName ,
626 const std::vector<NXOpen::Fields::FieldVariable *> & indepVarArray ,
627 const std::vector<NXOpen::Fields::FieldVariable *> & depVarArray ,
628 const std::vector<double> & datapoints ,
629 const std::vector<NXOpen::Fields::Field *> & linkFieldsArray
630 );
636 (
637 const char * fieldName ,
638 const std::vector<NXOpen::Fields::FieldVariable *> & indepVarArray ,
639 const std::vector<NXOpen::Fields::FieldVariable *> & depVarArray ,
640 const std::vector<double> & datapoints ,
641 const std::vector<NXOpen::Fields::Field *> & linkFieldsArray
642 );
648 (
649 const NXString & fieldName ,
650 const std::vector<NXOpen::Fields::FieldVariable *> & indepVarArray ,
651 const std::vector<NXOpen::Fields::FieldVariable *> & depVarArray ,
652 const std::vector<double> & datapoints ,
653 const std::vector<NXOpen::Fields::Field *> & linkFieldsArray ,
654 const std::vector<bool> & managedFieldsArray
655 );
661 (
662 const char * fieldName ,
663 const std::vector<NXOpen::Fields::FieldVariable *> & indepVarArray ,
664 const std::vector<NXOpen::Fields::FieldVariable *> & depVarArray ,
665 const std::vector<double> & datapoints ,
666 const std::vector<NXOpen::Fields::Field *> & linkFieldsArray ,
667 const std::vector<bool> & managedFieldsArray
668 );
674 (
675 const NXString & fieldName ,
676 const std::vector<NXOpen::Fields::FieldVariable *> & indepVarArray ,
677 const std::vector<NXOpen::Fields::FieldVariable *> & depVarArray ,
678 const std::vector<double> & datapoints ,
679 const std::vector<NXOpen::Fields::Field *> & linkFieldsArray ,
680 const std::vector<bool> & managedFieldsArray
681 );
687 (
688 const char * fieldName ,
689 const std::vector<NXOpen::Fields::FieldVariable *> & indepVarArray ,
690 const std::vector<NXOpen::Fields::FieldVariable *> & depVarArray ,
691 const std::vector<double> & datapoints ,
692 const std::vector<NXOpen::Fields::Field *> & linkFieldsArray ,
693 const std::vector<bool> & managedFieldsArray
694 );
700 (
701 int elementSizeType ,
702 const std::vector<NXOpen::TaggedObject *> & meshArray
703 );
710 (
712 );
717 (
718 NXOpen::Fields::Field * field ,
719 double scaleFactor
720 );
725 (
726 const std::vector<NXOpen::Expression *> & expressions
727 );
732 (
733 NXOpen::Fields::Field * field ,
734 double scaleFactor
735 );
740 (
741 const NXString & fieldName ,
742 const std::vector<NXOpen::Fields::FieldVariable *> & indepVarArray ,
743 const std::vector<NXOpen::Fields::FieldVariable *> & depVarArray
744 );
749 (
750 const char * fieldName ,
751 const std::vector<NXOpen::Fields::FieldVariable *> & indepVarArray ,
752 const std::vector<NXOpen::Fields::FieldVariable *> & depVarArray
753 );
758 (
759 double undefinedValue
760 );
765 (
766 NXOpen::Fields::FieldTable * fieldTable
767 );
773 (
774 const NXString & fieldName ,
775 const std::vector<NXOpen::Fields::FieldVariable *> & indepVarArray ,
776 const std::vector<NXOpen::Fields::FieldVariable *> & depVarArray ,
777 const std::vector<double> & datapoints ,
778 NXOpen::Fields::FieldTable::DuplicateValueOption duplicateValueProcessingOption ,
779 const std::vector<int> & pointObjectRowIds ,
780 const std::vector<NXOpen::Point *> & pointObjects
781 );
787 (
788 const char * fieldName ,
789 const std::vector<NXOpen::Fields::FieldVariable *> & indepVarArray ,
790 const std::vector<NXOpen::Fields::FieldVariable *> & depVarArray ,
791 const std::vector<double> & datapoints ,
792 NXOpen::Fields::FieldTable::DuplicateValueOption duplicateValueProcessingOption ,
793 const std::vector<int> & pointObjectRowIds ,
794 const std::vector<NXOpen::Point *> & pointObjects
795 );
801 (
802 const NXString & fieldName ,
803 const std::vector<NXOpen::Fields::FieldVariable *> & indepVarArray ,
804 const std::vector<NXOpen::Fields::FieldVariable *> & depVarArray ,
805 const std::vector<double> & datapoints ,
807 const std::vector<int> & expCellIds ,
808 std::vector<NXString> & valueStrings
809 );
815 (
816 const char * fieldName ,
817 const std::vector<NXOpen::Fields::FieldVariable *> & indepVarArray ,
818 const std::vector<NXOpen::Fields::FieldVariable *> & depVarArray ,
819 const std::vector<double> & datapoints ,
821 const std::vector<int> & expCellIds ,
822 std::vector<NXString> & valueStrings
823 );
829 (
830 const NXString & fieldName ,
831 const std::vector<NXOpen::Fields::FieldVariable *> & indepVarArray ,
832 const std::vector<NXOpen::Fields::FieldVariable *> & depVarArray ,
833 const std::vector<double> & datapoints ,
835 const std::vector<int> & expCellIds ,
836 std::vector<NXString> & valueStrings ,
837 const std::vector<bool> & cellReadOnlys
838 );
844 (
845 const char * fieldName ,
846 const std::vector<NXOpen::Fields::FieldVariable *> & indepVarArray ,
847 const std::vector<NXOpen::Fields::FieldVariable *> & depVarArray ,
848 const std::vector<double> & datapoints ,
850 const std::vector<int> & expCellIds ,
851 std::vector<NXString> & valueStrings ,
852 const std::vector<bool> & cellReadOnlys
853 );
857 public: void DeleteFolders
858 (
859 const std::vector<NXOpen::Fields::FieldFolder *> & folders ,
860 std::vector<NXOpen::Fields::Field *> & survivingFields
861 );
866 (
867 const std::vector<NXOpen::Expression *> & expressions
868 );
873 (
874 const std::vector<NXOpen::Expression *> & expressions
875 );
879 public: void Information
880 (
881 const std::vector<NXOpen::Fields::Field *> & fields
882 );
891 };
892 }
893}
894#ifdef _MSC_VER
895#pragma warning(pop)
896#endif
897#ifdef __GNUC__
898#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
899#pragma GCC diagnostic warning "-Wdeprecated-declarations"
900#endif
901#endif
902#undef EXPORTLIBRARY