NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Features_FaceRecognitionBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口到JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Features_FaceRecognitionBuilder.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/GeometricUtilities_OrientXpressBuilder.hxx>
22#include <NXOpen/ModlConstraint.hxx>
23#include <NXOpen/GeometricUtilities_IComponentBuilder.hxx>
24#include <NXOpen/TaggedObject.hxx>
25#include <NXOpen/ScCollector.hxx>
26#include <NXOpen/SelectionIntentRule.hxx>
27#include <NXOpen/libnxopencpp_features_exports.hxx>
28#ifdef _MSC_VER
29#pragma warning(push)
30#pragma warning(disable:4996)
31#endif
32#ifdef __GNUC__
33#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
34#endif
35namespace NXOpen
36{
37 namespace Features
38 {
40 }
41 namespace Annotations
42 {
43 class Dimension;
44 }
45 namespace Features
46 {
47 class Feature;
48 }
49 namespace GeometricUtilities
50 {
52 }
53 namespace GeometricUtilities
54 {
56 }
57 class NXObject;
58 class ScCollector;
60 namespace Features
61 {
62 class _FaceRecognitionBuilderBuilder;
63 class FaceRecognitionBuilderImpl;
67 class NXOPENCPP_FEATURESEXPORT FaceRecognitionBuilder : public NXOpen::TaggedObject, public virtual NXOpen::GeometricUtilities::IComponentBuilder
68 {
86
101
109
115
116 public:
117 struct Relation
118 {
121 public: Relation() :
122 RelationTag(),
124{
125 }
127 public: Relation(NXOpen::NXObject * relationTagInitial ,
128 NXOpen::ModlConstraint::RelationType relationTypeInitial ) :
129 RelationTag(relationTagInitial),
130 RelationType(relationTypeInitial)
131 {
132 }
133 };
134 private: FaceRecognitionBuilderImpl * m_facerecognitionbuilder_impl;
135 private: friend class _FaceRecognitionBuilderBuilder;
136 protected: FaceRecognitionBuilder();
137 public: ~FaceRecognitionBuilder();
142 (
143 );
148 (
149 );
153 public: bool CoplanarEnabled
154 (
155 );
160 (
161 bool coplanarEnabled
162 );
167 (
168 );
173 (
174 bool coplanarEnabled
175 );
179 public: bool CoaxialEnabled
180 (
181 );
185 public: void SetCoaxialEnabled
186 (
187 bool coaxialEnabled
188 );
192 public: bool SameOrbitEnabled
193 (
194 );
199 (
200 bool sameOrbitEnabled
201 );
206 (
207 );
212 (
213 bool rigidBodyFaceEnabled
214 );
218 public: bool TangentEnabled
219 (
220 );
224 public: void SetTangentEnabled
225 (
226 bool tangentEnabled
227 );
232 (
233 );
238 (
239 bool equalDiameterEnabled
240 );
244 public: bool SymmetricEnabled
245 (
246 );
251 (
252 bool symmetricEnabled
253 );
257 public: bool OffsetEnabled
258 (
259 );
263 public: void SetOffsetEnabled
264 (
265 bool offsetEnabled
266 );
271 (
272 );
277 (
278 bool thicknessChainEnabled
279 );
283 public: bool ParallelEnabled
284 (
285 );
290 (
291 bool parallelEnabled
292 );
297 (
298 );
303 (
304 bool perpendicularEnabled
305 );
309 public: bool CloneEnabled
310 (
311 );
315 public: void SetCloneEnabled
316 (
317 bool cloneEnabled
318 );
322 public: bool PatternEnabled
323 (
324 );
328 public: void SetPatternEnabled
329 (
330 bool patternEnabled
331 );
335 public: bool SameEntryEnabled
336 (
337 );
342 (
343 bool sameEntryEnabled
344 );
349 (
350 );
355 (
356 bool sameEntrySurfaceEnabled
357 );
361 public: bool HoleCloneEnabled
362 (
363 );
368 (
369 bool holeCloneEnabled
370 );
375 (
376 );
381 (
382 bool chamferCloneEnabled
383 );
387 public: void SelectEntities
388 (
389 const std::vector<NXOpen::NXObject *> & entities
390 );
394 public: void DeselectEntities
395 (
396 const std::vector<NXOpen::NXObject *> & entities
397 );
401 public: void RecognizeCoplanar
402 (
403 bool isNear
404 );
409 (
410 bool isNear
411 );
416 (
417 bool isNear
418 );
423 (
424 bool isNear
425 );
429 public: void RecognizeCoaxial
430 (
431 bool isNear
432 );
437 (
438 bool isNear
439 );
444 (
445 bool isNear
446 );
451 (
452 bool isNear
453 );
458 (
459 bool isNear
460 );
465 (
466 bool isNear
467 );
471 public: void RecognizeTangent
472 (
473 bool isNear
474 );
479 (
480 bool isNear
481 );
486 (
487 bool isNear
488 );
493 (
494 bool isNear
495 );
500 (
501 bool isNear
502 );
507 (
508 bool isNear
509 );
514 (
515 bool isNear
516 );
521 (
522 bool isNear
523 );
527 public: void RecognizeParallel
528 (
529 bool isNear
530 );
535 (
536 bool isNear
537 );
542 (
543 bool isNear
544 );
549 (
550 bool isNear
551 );
555 public: void RecognizeOffset
556 (
557 bool isNear
558 );
562 public: void UnrecognizeOffset
563 (
564 bool isNear
565 );
569 public: void RecognizePattern
570 (
571 int cloneId
572 );
577 (
578 int cloneId
579 );
584 (
585 );
590 (
591 );
596 (
597 );
602 (
603 );
608 (
609 int cloneId
610 );
615 (
616 int cloneId
617 );
622 (
623 int cloneId
624 );
629 (
630 int cloneId
631 );
636 (
637 );
642 (
643 );
648 (
649 );
654 (
655 );
660 (
661 );
666 (
667 );
672 (
673 );
678 (
679 );
684 (
685 );
690 (
691 );
696 (
697 );
702 (
703 );
708 (
709 );
714 (
715 );
719 public: bool UseFaceBrowse
720 (
721 );
725 public: void SetUseFaceBrowse
726 (
727 bool useFaceBrowse
728 );
733 (
734 );
738 public: void LockConstraint
739 (
741 );
745 public: void UnlockConstraint
746 (
748 );
752 public: void DeleteConstraint
753 (
755 );
760 (
761 const std::vector<NXOpen::NXObject *> & offsetFaces
762 );
766 public: void ReplaceRules
767 (
768 const std::vector<NXOpen::SelectionIntentRule *> & rules ,
771 bool createRulesWoUpdate
772 );
776 public: int RelationScope
777 (
778 );
782 public: void SetRelationScope
783 (
784 int relationScope
785 );
789 public: int CloneScope
790 (
791 );
795 public: void SetCloneScope
796 (
797 int cloneScope
798 );
802 public: double FindMinOffsetRatio
803 (
804 );
809 (
810 double findMinOffsetRatio
811 );
815 public: bool FindChamfers
816 (
817 );
821 public: void SetFindChamfers
822 (
823 bool isFindChamfers
824 );
829 (
830 );
835 (
837 );
841 public: void SetFindScope
842 (
843 bool findInWorkPart ,
845 const std::vector<NXOpen::NXObject *> & bodies
846 );
851 (
852 );
857 (
859 );
864 public: NX_DEPRECATED("Deprecated in NX1926.0.0. Use Features::FaceRecognitionBuilder::GetLiveRelations instead.") void GetVtkFoundRelation
865 (
866 int relationQueryScope ,
867 std::vector<NXOpen::Features::FaceRecognitionBuilder::Relation> & relations
868 );
873 (
874 bool isEqualRadiusFacesMoveTogether
875 );
879 public: void GetLiveRelations
880 (
881 int relationQueryScope ,
882 std::vector<NXOpen::Features::FaceRecognitionBuilder::Relation> & relations
883 );
887 public: bool UseFindClone
888 (
889 );
893 public: void SetUseFindClone
894 (
895 bool useFindClone
896 );
900 public: bool UseFindRelated
901 (
902 );
906 public: void SetUseFindRelated
907 (
908 bool useFindRelated
909 );
914 public: NX_DEPRECATED("Deprecated in NX2406.0.0. None.") bool FindGeneralClone
915 (
916 );
921 public: NX_DEPRECATED("Deprecated in NX2406.0.0. None.") void SetFindGeneralClone
922 (
923 bool findGenralClone
924 );
928 public: void RemoveFoundFaces
929 (
930 const std::vector<NXOpen::NXObject *> & entities
931 );
936 (
937 bool isEnable
938 );
943 (
944 );
948 public: void AddLockDim
949 (
950 const std::vector<NXOpen::Annotations::Dimension *> & dimensions
951 );
955 public: void UnlockDim
956 (
957 const std::vector<NXOpen::Annotations::Dimension *> & dimensions
958 );
962 public: bool ExcludeBlendFaces
963 (
964 );
969 (
970 bool isExcludeBlendFaces
971 );
976 public: virtual bool Validate
977 (
978 );
979 };
980 }
981}
982#ifdef _MSC_VER
983#pragma warning(pop)
984#endif
985#ifdef __GNUC__
986#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
987#pragma GCC diagnostic warning "-Wdeprecated-declarations"
988#endif
989#endif
990#undef EXPORTLIBRARY