NX Open C++ 参考指南
2406 v1.1
载入中...
搜索中...
未找到
D:
Tan_NX2406C++
UGopenLib
NX2406
UGOPEN
NXOpen
Features_Lattice3Builder.hxx
1
//--------------------------------------------------------------------------
2
// Copyright 2024 Siemens
3
//--------------------------------------------------------------------------
4
// JA API的C++接口头文件
5
//--------------------------------------------------------------------------
6
//
7
// 源文件:
8
// Features_Lattice3Builder.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
37
namespace
NXOpen
38
{
39
namespace
Features
40
{
41
class
Lattice3Builder
;
42
}
43
class
CoordinateSystem
;
44
class
Expression
;
45
namespace
Features
46
{
47
class
FeatureBuilder
;
48
}
49
namespace
Fields
50
{
51
class
ScalarFieldWrapper
;
52
}
53
namespace
GeometricUtilities
54
{
55
class
CurveAlignedListBuilder
;
56
}
57
namespace
GeometricUtilities
58
{
59
class
UnitCellBuilder
;
60
}
61
namespace
GeometricUtilities
62
{
63
class
VoronoiItemListBuilder
;
64
}
65
class
Point
;
66
class
ScCollector
;
67
class
Section
;
68
namespace
Features
69
{
70
class
_Lattice3BuilderBuilder;
71
class
Lattice3BuilderImpl;
228
class
NXOPENCPP_FEATURESEXPORT Lattice3Builder :
public
NXOpen::Features::FeatureBuilder
229
{
232
public
:
enum
LatticeTypes
233
{
234
LatticeTypesUnitFill
,
235
LatticeTypesUnitSurfaceConformal
,
236
LatticeTypesUnitVolumeConformal
,
237
LatticeTypesTriangular
,
238
LatticeTypesVoronoi
239
};
240
242
public
:
enum
ThicknessTypes
243
{
244
ThicknessTypesRodDiameter
,
245
ThicknessTypesDensity
246
};
247
250
public
:
enum
ParameterizationType
251
{
252
ParameterizationTypeAutomatic
,
253
ParameterizationTypePlanar
,
254
ParameterizationTypeContour
,
255
ParameterizationTypeCylindrical
,
256
ParameterizationTypeCurveAligned
257
};
258
265
public
:
enum
BaseMeshType
266
{
267
BaseMeshTypeUseExisting
,
268
BaseMeshTypeRemeshTriangular
269
};
270
278
public
:
enum
FacetSizeType
279
{
280
FacetSizeTypeConstant
,
281
FacetSizeTypeVariable
282
};
283
293
public
:
enum
SharpEdgesLockType
294
{
295
SharpEdgesLockTypeNoLock
,
296
SharpEdgesLockTypeSoftLock
,
297
SharpEdgesLockTypeHardLock
298
};
299
301
public
:
enum
BallsOptions
302
{
303
BallsOptionsNone
,
304
BallsOptionsAbsoluteSize
,
305
BallsOptionsRelativeSize
306
};
307
309
public
:
enum
BlendsOptions
310
{
311
BlendsOptionsNone
,
312
BlendsOptionsOrganic
313
};
314
316
public
:
enum
PoreSizeDistributionType
317
{
318
PoreSizeDistributionTypeUniform
,
319
PoreSizeDistributionTypeVariable
,
320
PoreSizeDistributionTypeGaussian
321
};
322
324
public
:
enum
OutputOption
325
{
326
OutputOptionSurface
,
327
OutputOptionVolume
,
328
OutputOptionSurfaceAndVolume
329
};
330
private
:
Lattice3BuilderImpl
* m_lattice3builder_impl;
331
private
:
friend
class
_Lattice3BuilderBuilder;
332
protected
:
Lattice3Builder
();
333
public
:
~Lattice3Builder
();
342
public
:
NXOpen::Features::Lattice3Builder::LatticeTypes
LatticeType
343
(
344
);
353
public
:
void
SetLatticeType
354
(
355
NXOpen::Features::Lattice3Builder::LatticeTypes
latticeType
356
);
360
public
:
NXOpen::Features::Lattice3Builder::ThicknessTypes
ThicknessType
361
(
362
);
366
public
:
void
SetThicknessType
367
(
368
NXOpen::Features::Lattice3Builder::ThicknessTypes
thicknessType
369
);
373
public
:
NXOpen::ScCollector
*
BaseFace
374
(
375
);
379
public
:
bool
ReverseFaceDirection
380
(
381
);
385
public
:
void
SetReverseFaceDirection
386
(
387
bool
reverseFaceDir
388
);
392
public
:
bool
VoronoiUniform
393
(
394
);
398
public
:
void
SetVoronoiUniform
399
(
400
bool
voronoiUniform
401
);
405
public
:
NXOpen::Expression
*
PoreSize
406
(
407
);
411
public
:
NXOpen::Expression
*
VoronoiRodDiameter
412
(
413
);
417
public
:
NXOpen::ScCollector
*
BoundaryBody
418
(
419
);
424
public
:
NXOpen::Features::Lattice3Builder::BaseMeshType
Source
425
(
426
);
431
public
:
void
SetSource
432
(
433
NXOpen::Features::Lattice3Builder::BaseMeshType
source
434
);
436
439
public
:
NXOpen::Expression
* MaxEdgeLength
440
(
441
);
443
447
public
:
bool
IsRandom
448
(
449
);
454
public
:
void
SetRandom
455
(
456
bool
random
457
);
462
public
:
NXOpen::Expression
*
MaxDeviation
463
(
464
);
469
public
:
NXOpen::Expression
*
VoronoiRandomizationFactorExpression
470
(
471
);
476
public
:
bool
LockAtBoundary
477
(
478
);
483
public
:
void
SetLockAtBoundary
484
(
485
bool
lockAtBoundary
486
);
490
public
:
bool
SpecifyLayers
491
(
492
);
496
public
:
void
SetSpecifyLayers
497
(
498
bool
specifyLayers
499
);
504
public
:
int
Layers
505
(
506
);
511
public
:
void
SetLayers
512
(
513
int
layers
514
);
521
public
:
NXOpen::Expression
*
Offset
522
(
523
);
528
public
:
NXOpen::Features::Lattice3Builder::OutputOption
OutputType
529
(
530
);
535
public
:
void
SetOutputType
536
(
537
NXOpen::Features::Lattice3Builder::OutputOption
outputType
538
);
542
public
:
bool
PushNodesUnderFace
543
(
544
);
548
public
:
void
SetPushNodesUnderFace
549
(
550
bool
pushNodesUnderFace
551
);
555
public
:
NXOpen::Fields::ScalarFieldWrapper
*
RodDiameter
556
(
557
);
561
public
:
NXOpen::Features::Lattice3Builder::BallsOptions
BallsOption
562
(
563
);
567
public
:
void
SetBallsOption
568
(
569
NXOpen::Features::Lattice3Builder::BallsOptions
ballsOption
570
);
574
public
:
NXOpen::Fields::ScalarFieldWrapper
*
BallDiameterField
575
(
576
);
580
public
:
NXOpen::Expression
*
FactorToRodDiameter
581
(
582
);
586
public
:
NXOpen::Features::Lattice3Builder::BlendsOptions
BlendsOption
587
(
588
);
592
public
:
void
SetBlendsOption
593
(
594
NXOpen::Features::Lattice3Builder::BlendsOptions
blendsOption
595
);
602
public
:
NXOpen::Expression
*
BlendFactor
603
(
604
);
610
public
:
double
TessellationFactor
611
(
612
);
618
public
:
void
SetTessellationFactor
619
(
620
double
factor
621
);
625
public
:
NXOpen::CoordinateSystem
*
Csys
626
(
627
);
631
public
:
void
SetCsys
632
(
633
NXOpen::CoordinateSystem
* csys
634
);
638
public
:
NXOpen::Features::Lattice3Builder::FacetSizeType
RemeshMode
639
(
640
);
644
public
:
void
SetRemeshMode
645
(
646
NXOpen::Features::Lattice3Builder::FacetSizeType
remeshMode
647
);
651
public
:
NXOpen::Expression
*
AverageFacetSize
652
(
653
);
657
public
:
NXOpen::Expression
*
ChordalTolerance
658
(
659
);
663
public
:
NXOpen::Features::Lattice3Builder::SharpEdgesLockType
SharpEdgesLockOption
664
(
665
);
669
public
:
void
SetSharpEdgesLockOption
670
(
671
NXOpen::Features::Lattice3Builder::SharpEdgesLockType
sharpEdgesLockOption
672
);
676
public
:
double
AngularThreshold
677
(
678
);
682
public
:
void
SetAngularThreshold
683
(
684
double
angularThreshold
685
);
689
public
:
bool
RemoveDisconnectedRods
690
(
691
);
695
public
:
void
SetRemoveDisconnectedRods
696
(
697
bool
remove
698
);
702
public
:
int
MinimumRodNumber
703
(
704
);
708
public
:
void
SetMinimumRodNumber
709
(
710
int
minimumRodNumber
711
);
721
public
:
bool
RemoveDanglingRods
722
(
723
);
733
public
:
void
SetRemoveDanglingRods
734
(
735
bool
remove
736
);
740
public
:
bool
SnipAtBoundary
741
(
742
);
746
public
:
void
SetSnipAtBoundary
747
(
748
bool
snipAtBoundary
749
);
753
public
:
NXOpen::ScCollector
*
FilterToolFace
754
(
755
);
768
public
:
NXOpen::Features::Lattice3Builder::ParameterizationType
Parameterization
769
(
770
);
783
public
:
void
SetParameterization
784
(
785
NXOpen::Features::Lattice3Builder::ParameterizationType
parameterization
786
);
790
public
:
NXOpen::Point
*
OrientationPoint1
791
(
792
);
796
public
:
void
SetOrientationPoint1
797
(
798
NXOpen::Point
* orientationPoint1
799
);
803
public
:
NXOpen::Point
*
OrientationPoint2
804
(
805
);
809
public
:
void
SetOrientationPoint2
810
(
811
NXOpen::Point
* orientationPoint2
812
);
816
public
:
NXOpen::Section
*
SplitCurve
817
(
818
);
822
public
:
bool
AlignAtSplitCurve
823
(
824
);
828
public
:
void
SetAlignAtSplitCurve
829
(
830
bool
alignAtSplitCurve
831
);
835
public
:
NXOpen::GeometricUtilities::UnitCellBuilder
*
UnitCell
836
(
837
);
841
public
:
NXOpen::GeometricUtilities::VoronoiItemListBuilder
*
VoronoiItemList
842
(
843
);
847
public
:
NXOpen::GeometricUtilities::CurveAlignedListBuilder
*
CurveAlignedList
848
(
849
);
853
public
:
NXOpen::Features::Lattice3Builder::PoreSizeDistributionType
PoreSizeDistribution
854
(
855
);
859
public
:
void
SetPoreSizeDistribution
860
(
861
NXOpen::Features::Lattice3Builder::PoreSizeDistributionType
poreSizeDistribution
862
);
866
public
:
NXOpen::Expression
*
AveragePoreSize
867
(
868
);
872
public
:
NXOpen::Expression
*
StandardDeviation
873
(
874
);
878
public
:
NXOpen::Expression
*
MinimumPoreSize
879
(
880
);
884
public
:
NXOpen::Expression
*
MaximumPoreSize
885
(
886
);
890
public
:
bool
CreateSpikes
891
(
892
);
896
public
:
void
SetCreateSpikes
897
(
898
bool
createSpikes
899
);
903
public
:
NXOpen::ScCollector
*
SpikeFaces
904
(
905
);
909
public
:
NXOpen::Expression
*
SpikeLength
910
(
911
);
915
public
:
NXOpen::Expression
*
MaximumSpikeAngle
916
(
917
);
918
};
919
}
920
}
921
#ifdef _MSC_VER
922
#pragma warning(pop)
923
#endif
924
#ifdef __GNUC__
925
#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
926
#pragma GCC diagnostic warning "-Wdeprecated-declarations"
927
#endif
928
#endif
929
#undef EXPORTLIBRARY