NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Features_Lattice2Builder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口到JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Features_Lattice2Builder.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/Expression.hxx>
22#include <NXOpen/Fields_ScalarFieldWrapper.hxx>
23#include <NXOpen/GeometricUtilities_CurveAlignedListBuilder.hxx>
24#include <NXOpen/GeometricUtilities_UnitCellBuilder.hxx>
25#include <NXOpen/GeometricUtilities_VoronoiItemListBuilder.hxx>
26#include <NXOpen/Features_FeatureBuilder.hxx>
27#include <NXOpen/ScCollector.hxx>
28#include <NXOpen/Section.hxx>
29#include <NXOpen/libnxopencpp_features_exports.hxx>
30#ifdef _MSC_VER
31#pragma warning(push)
32#pragma warning(disable:4996)
33#endif
34#ifdef __GNUC__
35#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
36#endif
37namespace NXOpen
38{
39 namespace Features
40 {
41 class Lattice2Builder;
42 }
43 class CoordinateSystem;
44 class Expression;
45 namespace Features
46 {
47 class FeatureBuilder;
48 }
49 namespace Fields
50 {
52 }
53 namespace GeometricUtilities
54 {
56 }
57 namespace GeometricUtilities
58 {
59 class UnitCellBuilder;
60 }
61 namespace GeometricUtilities
62 {
64 }
65 class Point;
66 class ScCollector;
67 class Section;
68 namespace Features
69 {
70 class _Lattice2BuilderBuilder;
71 class Lattice2BuilderImpl;
216 class NXOPENCPP_FEATURESEXPORT Lattice2Builder : public NXOpen::Features::FeatureBuilder
217 {
229
236
246
250 public: enum Version
251 {
254 };
255
268
282
300
309
318 private: Lattice2BuilderImpl * m_lattice2builder_impl;
319 private: friend class _Lattice2BuilderBuilder;
320 protected: Lattice2Builder();
321public: ~Lattice2Builder();
330 (
331 );
339 public: void SetLatticeType
340 (
342 );
347 (
348 );
352 public: void SetThicknessType
353 (
355 );
360 (
361 );
366 (
367 );
372 (
373 bool reverseFaceDir
374 );
378 public: bool VoronoiUniform
379 (
380 );
384 public: void SetVoronoiUniform
385 (
386 bool voronoiUniform
387 );
392 (
393 );
398 (
399 );
404 (
405 );
410 (
411 );
415 public: void SetSource
416 (
418 );
420
423 public: NXOpen::Expression * MaxEdgeLength
424 (
425 );
427
431 public: bool IsRandom
432 (
433 );
438 public: void SetRandom
439 (
440 bool random
441 );
447 (
448 );
454 public: NX_DEPRECATED("Deprecated in NX2007.0.0. For pre NX2007 usage only. Use NXOpen::Features::Lattice2Builder::VoronoiRandomizationFactorExpression instead.") double VoronoiRandomizationFactor
455 (
456 );
462 public: NX_DEPRECATED("Deprecated in NX2007.0.0. For pre NX2007 usage only. Use NXOpen::Features::Lattice2Builder::VoronoiRandomizationFactorExpression instead.") void SetVoronoiRandomizationFactor
463 (
464 double factor
465 );
471 (
472 );
477 public: bool LockAtBoundary
478 (
479 );
484 public: void SetLockAtBoundary
485 (
486 bool lockAtBoundary
487 );
491 public: bool SpecifyLayers
492 (
493 );
497 public: void SetSpecifyLayers
498 (
499 bool specifyLayers
500 );
505 public: int Layers
506 (
507 );
512 public: void SetLayers
513 (
514 int layers
515 );
523 (
524 );
528 public: NXOpen::Features::Lattice2Builder::OutputOption OutputType
529 (
530 );
534 public: void SetOutputType
535 (
536 NXOpen::Features::Lattice2Builder::OutputOption outputType
537 );
542 (
543 );
548 (
549 bool pushNodesUnderFace
550 );
554 public: NXOpen::Fields::ScalarFieldWrapper * RodDiameter
555 (
556 );
560 public: NXOpen::Features::Lattice2Builder::BallsOptions BallsOption
561 (
562 );
566 public: void SetBallsOption
567 (
568 NXOpen::Features::Lattice2Builder::BallsOptions ballsOption
569 );
575 (
576 );
580 public: NXOpen::Fields::ScalarFieldWrapper * BallDiameterField
581 (
582 );
587 (
588 );
594 (
595 );
600 public: double TessellationFactor
601 (
602 );
608 (
609 double factor
610 );
615 (
616 );
620 public: void SetCsys
621 (
622 NXOpen::CoordinateSystem * csys
623 );
628 public: NX_DEPRECATED("Deprecated in NX1847.0.0. This is for pre NX1847 usage, do not use this method. Instead use NXOpen::Features::Lattice2Builder::RemoveDisconnectedRods2 instead.") bool RemoveDisconnectedRods
629 (
630 );
635 public: NX_DEPRECATED("Deprecated in NX1847.0.0. This is for pre NX1847 usage, do not use this method. Instead use NXOpen::Features::Lattice2Builder::RemoveDisconnectedRods2 instead.") void SetRemoveDisconnectedRods
636 (
637 bool remove
638 );
642 public: NXOpen::Features::Lattice2Builder::FacetSizeType RemeshMode
643 (
644 );
648 public: void SetRemeshMode
649 (
650 NXOpen::Features::Lattice2Builder::FacetSizeType remeshMode
651 );
656 (
657 );
662 (
663 );
668 (
669 );
674 (
675 NXOpen::Features::Lattice2Builder::SharpEdgesLockType sharpEdgesLockOption
676 );
680 public: double AngularThreshold
681 (
682 );
687 (
688 double angularThreshold
689 );
694 (
695 );
700 (
701 bool remove
702 );
707 (
708 );
713 (
714 int minimumRodNumber
715 );
726 (
727 );
738 (
739 bool remove
740 );
744 public: bool SnipAtBoundary
745 (
746 );
750 public: void SetSnipAtBoundary
751 (
752 bool snipAtBoundary
753 );
758 (
759 );
764 (
765 );
770 (
771 int optimizationIterations
772 );
791 (
792 );
811 (
812 NXOpen::Features::Lattice2Builder::ParameterizationType parameterization
813 );
818 (
819 );
824 (
825 NXOpen::Point * orientationPoint1
826 );
831 (
832 );
837 (
838 NXOpen::Point * orientationPoint2
839 );
844 (
845 );
849 public: bool AlignAtSplitCurve
850 (
851 );
856 (
857 bool alignAtSplitCurve
858 );
863 (
864 );
868 public: void SetContourPoint1
869 (
870 NXOpen::Point * contourPt1
871 );
876 (
877 );
881 public: void SetContourPoint2
882 (
883 NXOpen::Point * contourPt2
884 );
889 (
890 );
894 public: void SetContourPoint3
895 (
896 NXOpen::Point * contourPt3
897 );
902 (
903 );
907 public: void SetContourPoint4
908 (
909 NXOpen::Point * contourPt4
910 );
916 public: NXOpen::Features::Lattice2Builder::Version LatticeVersion
917 (
918 );
924 public: void SetLatticeVersion
925 (
926 NXOpen::Features::Lattice2Builder::Version version
927 );
931 public: NXOpen::GeometricUtilities::UnitCellBuilder * UnitCell
932 (
933 );
937 public: NXOpen::GeometricUtilities::VoronoiItemListBuilder * VoronoiItemList
938 (
939 );
943 public: NXOpen::GeometricUtilities::CurveAlignedListBuilder * CurveAlignedList
944 (
945 );
946 };
947 }
948}
949#ifdef _MSC_VER
950#pragma warning(pop)
951#endif
952#ifdef __GNUC__
953#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
954#pragma GCC diagnostic warning "-Wdeprecated-declarations"
955#endif
956#endif
957#undef EXPORTLIBRARY