NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
CAE_Post.hxx
1//--------------------------------------------------------------------------
2// 版权所有 2024 Siemens
3//--------------------------------------------------------------------------
4// JA API 的 C++ 接口头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// CAE_Post.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_BaseIteration.hxx>
22#include <NXOpen/CAE_BeamDisplayParameters.hxx>
23#include <NXOpen/CAE_CaeGroupCollection.hxx>
24#include <NXOpen/CAE_Hotspot.hxx>
25#include <NXOpen/CAE_MeshTranslucencyBuilder.hxx>
26#include <NXOpen/CAE_PostAnnotation.hxx>
27#include <NXOpen/CAE_PostAnnotationBuilder.hxx>
28#include <NXOpen/CAE_PostGraph.hxx>
29#include <NXOpen/CAE_PostGroupBuilder.hxx>
30#include <NXOpen/CAE_PostLegend.hxx>
31#include <NXOpen/CAE_PostPointManager.hxx>
32#include <NXOpen/CAE_PostSelectionEntity.hxx>
33#include <NXOpen/CAE_PostShowhideBuilder.hxx>
34#include <NXOpen/CAE_Result.hxx>
35#include <NXOpen/CAE_ShowHideEntitiesBuilder.hxx>
36#include <NXOpen/CAE_Xyplot_Plot.hxx>
37#include <NXOpen/NXColor.hxx>
38#include <NXOpen/TaggedObject.hxx>
39#include <NXOpen/ugmath.hxx>
40#include <NXOpen/libnxopencpp_cae_exports.hxx>
41#ifdef _MSC_VER
42#pragma warning(push)
43#pragma warning(disable:4996)
44#endif
45#ifdef __GNUC__
46#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
47#endif
48namespace NXOpen
49{
50 namespace CAE
51 {
52 class Post;
53 }
54 class Session;
55 namespace CAE
56 {
57 class BaseResultType;
58 }
59 namespace CAE
60 {
62 }
63 namespace CAE
64 {
66 }
67 namespace CAE
68 {
70 }
71 namespace CAE
72 {
74 }
75 namespace CAE
76 {
77 class Hotspot;
78 }
79 namespace CAE
80 {
81 class HotspotRecipe;
82 }
83 namespace CAE
84 {
85 class Iteration;
86 }
87 namespace CAE
88 {
90 }
91 namespace CAE
92 {
93 class PostAnnotation;
94 }
95 namespace CAE
96 {
98 }
99namespace CAE
100{
101 class PostDisplayManager;
102}
103namespace CAE
104{
105 class PostGraph;
106}
107namespace CAE
108{
109 class PostGroupBuilder;
110}
111namespace CAE
112{
113 class PostLegend;
114}
115namespace CAE
116{
117 class PostMesh;
118}
119namespace CAE
120{
121 class PostPointManager;
122}
123namespace CAE
124{
125 class PostPreference;
126}
127namespace CAE
128{
130}
131namespace CAE
132{
134}
135namespace CAE
136{
138}
139namespace CAE
140{
142}
143namespace CAE
144{
146 {
147 class RSEvent;
148 }
149}
150namespace CAE
151{
152 class Result;
153}
154namespace CAE
155{
156 class ResultParameters;
157}
158namespace CAE
159{
161}
162namespace CAE
163{
165}
166namespace CAE
167{
169}
170namespace CAE
171{
172 class SimPart;
173}
174namespace CAE
175{
176 namespace Xyplot
177 {
178 class Plot;
179 }
180}
181class NXColor;
182class TaggedObject;
183class Unit;
184namespace CAE
185{
186 class PostImpl;
190 class NXOPENCPP_CAEEXPORT Post
191 {
200
214
226
232
239
247
254
263
270
278
285
292
299
308
315
321
327
335
345
352
358
364
370
378
384
391
399
406
413
421
427
440
447
454
461
469
475
482
483 public: enum Export
484 {
488 };
489
496
503
510
518
525
531
538
545
553
561
562 public:
563 struct Colorbar
564 {
566 public: bool InvertSpectrum;
568 public: bool AutomaticLevel;
569 public: int NumberOfLevels;
571 public: double ThresholdMinimum;
572 public: double ThresholdMaximum;
573 public: bool ShowOverflowAbove;
574 public: bool ShowOverflowBelow;
581 public: double IncrementPerLevel;
582public: Colorbar() :
585 Scale((NXOpen::CAE::Post::Scale)0),
600 {
601 }
603 public: Colorbar(NXOpen::CAE::Post::Spectrum spectrumInitial ,
604 bool invertSpectrumInitial ,
605 NXOpen::CAE::Post::Scale scaleInitial ,
606 bool automaticLevelInitial ,
607 int numberOfLevelsInitial ,
608 NXOpen::CAE::Post::Threshold thresholdInitial ,
609 double thresholdMinimumInitial ,
610 double thresholdMaximumInitial ,
611 bool showOverflowAboveInitial ,
612 bool showOverflowBelowInitial ,
613 NXColor* overflowAboveColorInitial ,
614 NXColor* overflowBelowColorInitial ,
615 NXOpen::CAE::Post::Position positionInitial ,
616 NXOpen::CAE::Post::LimitDisplay overflowInitial ,
617 NXOpen::CAE::Post::LimitDisplay underflowInitial ,
618 NXOpen::CAE::Post::Spacing spacingInitial ,
619 double incrementPerLevelInitial ) :
620 Spectrum(spectrumInitial),
621 InvertSpectrum(invertSpectrumInitial),
622 Scale(scaleInitial),
623 AutomaticLevel(automaticLevelInitial),
624 NumberOfLevels(numberOfLevelsInitial),
625 Threshold(thresholdInitial),
626 ThresholdMinimum(thresholdMinimumInitial),
627 ThresholdMaximum(thresholdMaximumInitial),
628 ShowOverflowAbove(showOverflowAboveInitial),
629 ShowOverflowBelow(showOverflowBelowInitial),
630 OverflowAboveColor(overflowAboveColorInitial),
631 OverflowBelowColor(overflowBelowColorInitial),
632 Position(positionInitial),
633 Overflow(overflowInitial),
634 Underflow(underflowInitial),
635 Spacing(spacingInitial),
636 IncrementPerLevel(incrementPerLevelInitial)
637 {
638 }
639 };
640
641 public:
642 struct Headerlines
643 {
644 public: bool Show;
645 public: NXString Line;
646 public: Headerlines() :
647 Show(),
648 Line()
649 {
650 }
652 public: Headerlines(bool showInitial ,
653 const NXString &lineInitial ) :
654 Show(showInitial),
655 Line(lineInitial)
656 {
657 }
658 };
659
660 public:
661 struct EdgeFace
662 {
667 public: EdgeFace() :
669 EdgeColor(),
671 FaceColor()
672 {
673 }
675 public: EdgeFace(NXOpen::CAE::Post::EdgeStyle edgeStyleInitial ,
676 NXColor* edgeColorInitial ,
677 NXOpen::CAE::Post::FaceStyle faceStyleInitial ,
678 NXColor* faceColorInitial ) :
679 EdgeStyle(edgeStyleInitial),
680 EdgeColor(edgeColorInitial),
681 FaceStyle(faceStyleInitial),
682 FaceColor(faceColorInitial)
683{
684 }
685 };
686
687 public:
688 struct PrimaryEdgeFace
689 {
694 public: PrimaryEdgeFace() :
696 EdgeColor(),
698 FaceColor()
699 {
700 }
703 NXColor* edgeColorInitial ,
704 NXOpen::CAE::Post::FaceFillStyle faceStyleInitial ,
705 NXColor* faceColorInitial ) :
706 EdgeStyle(edgeStyleInitial),
707 EdgeColor(edgeColorInitial),
708 FaceStyle(faceStyleInitial),
709 FaceColor(faceColorInitial)
710 {
711 }
712 };
713
714 public:
715 struct Mark
716 {
720 public: bool ShowArrowMagnitude;
727 public: double ModelPrecentValue;
728 public: double SpecifiedLengthValue;
730 public: bool HideMarksBelow;
732 public: double BelowResultPercent;
733 public: double BelowResultValue;
735 public: bool DoubleSided;
743 public: bool ShowArrowResultant;
745 public: Mark() :
764 DoubleSided(),
774 {
775 }
777 public: Mark(bool showArrowXComponentInitial ,
778 bool showArrowYComponentInitial ,
779 bool showArrowZComponentInitial ,
780 bool showArrowMagnitudeInitial ,
781 NXOpen::CAE::Post::MarkRenderStyle markRenderStyleInitial ,
782 NXOpen::CAE::Post::MarkTensorStyle markTensorStyleInitial ,
783 NXOpen::CAE::Post::MarkColor markColorInitial ,
784 NXColor* specifiedColorInitial ,
785 NXOpen::CAE::Post::MarkSize markSizeInitial ,
786 NXOpen::CAE::Post::MarkMaximumSize markMaximumSizeInitial ,
787 double modelPrecentValueInitial ,
788 double specifiedLengthValueInitial ,
789 NXOpen::CAE::Post::MarkLocation markLocationInitial ,
790 bool hideMarksBelowInitial ,
791 NXOpen::CAE::Post::MarkHide belowMarkHideTypeInitial ,
792 double belowResultPercentInitial ,
793 double belowResultValueInitial ,
794 bool displayNumericalValueWithArrowInitial ,
795 bool doubleSidedInitial ,
796 NXOpen::CAE::Post::MarkComponentCombinationType markComponentCombinationTypeInitial ,
797 bool showTensorComponent1Initial ,
798 bool showTensorComponent2Initial ,
799 bool showTensorComponent3Initial ,
800 bool showTensorComponent4Initial ,
801 bool showTensorComponent5Initial ,
802 bool displayComponentLabelWithArrowInitial ,
803 bool showArrowResultantInitial ,
804 NXOpen::CAE::Post::MarkResultantCompCombinationType markResultantCompCombinationTypeInitial ) :
805 ShowArrowXComponent(showArrowXComponentInitial),
806 ShowArrowYComponent(showArrowYComponentInitial),
807 ShowArrowZComponent(showArrowZComponentInitial),
808 ShowArrowMagnitude(showArrowMagnitudeInitial),
809 MarkRenderStyle(markRenderStyleInitial),
810 MarkTensorStyle(markTensorStyleInitial),
811 MarkColor(markColorInitial),
812 SpecifiedColor(specifiedColorInitial),
813 MarkSize(markSizeInitial),
814 MarkMaximumSize(markMaximumSizeInitial),
815 ModelPrecentValue(modelPrecentValueInitial),
816 SpecifiedLengthValue(specifiedLengthValueInitial),
817 MarkLocation(markLocationInitial),
818 HideMarksBelow(hideMarksBelowInitial),
819 BelowMarkHideType(belowMarkHideTypeInitial),
820 BelowResultPercent(belowResultPercentInitial),
821 BelowResultValue(belowResultValueInitial),
822 DisplayNumericalValueWithArrow(displayNumericalValueWithArrowInitial),
823 DoubleSided(doubleSidedInitial),
824 MarkComponentCombinationType(markComponentCombinationTypeInitial),
825 ShowTensorComponent1(showTensorComponent1Initial),
826 ShowTensorComponent2(showTensorComponent2Initial),
827 ShowTensorComponent3(showTensorComponent3Initial),
828 ShowTensorComponent4(showTensorComponent4Initial),
829 ShowTensorComponent5(showTensorComponent5Initial),
830 DisplayComponentLabelWithArrow(displayComponentLabelWithArrowInitial),
831 ShowArrowResultant(showArrowResultantInitial),
832 MarkResultantCompCombinationType(markResultantCompCombinationTypeInitial)
833{
834 }
835 };
836
837 public:
838 struct StreamlineData
839 {
842 public: double NoDataValue;
843 public: StreamlineData() :
847 {
848 }
850 public: StreamlineData(NXOpen::CAE::Post::ValueSharingCriterion valueShareingCriterionInitial ,
851 NXOpen::CAE::Post::NoDataTreatment noDataTreatmentInitial ,
852 double noDataValueInitial ) :
853 ValueShareingCriterion(valueShareingCriterionInitial),
854 NoDataTreatment(noDataTreatmentInitial),
855 NoDataValue(noDataValueInitial)
856 {
857 }
858 };
859
860 public:
861 struct Streamline
862 {
868 public: double ModelPrecentValue;
869 public: double SpecifiedLengthValue;
872 public: double BubbleTimestep;
873 public: Streamline() :
874 DataParams(),
884 {
885 }
887 public: Streamline(const NXOpen::CAE::Post::StreamlineData &dataParamsInitial ,
888 NXOpen::CAE::Post::StreamlineStyle streamStyleInitial ,
889 NXOpen::CAE::Post::StreamlineColor streamColorInitial ,
890 NXColor* specifiedColorInitial ,
891 NXOpen::CAE::Post::StreamlineSize streamSizeInitial ,
892 double modelPrecentValueInitial ,
893 double specifiedLengthValueInitial ,
896 double bubbleTimestepInitial ) :
897 DataParams(dataParamsInitial),
898 StreamStyle(streamStyleInitial),
899 StreamColor(streamColorInitial),
900 SpecifiedColor(specifiedColorInitial),
901 StreamSize(streamSizeInitial),
902 ModelPrecentValue(modelPrecentValueInitial),
903 SpecifiedLengthValue(specifiedLengthValueInitial),
904 Lineweight(lineweightInitial),
905 StreamSync(streamSyncInitial),
906 BubbleTimestep(bubbleTimestepInitial)
907 {
908 }
909 };
910
911 public:
912 struct AnimationStreamline
913 {
914 public: bool ShowGuides;
917 public: double ActiveRegionEndFactor;
919 public: bool ContinuousPulse;
921 public: double FramesPerPulse;
922 public: double PulseDutycycle;
923 public: AnimationStreamline() :
924 ShowGuides(),
933{
934 }
936 public: AnimationStreamline(bool showGuidesInitial ,
938 double activeRegionStartFactorInitial ,
939 double activeRegionEndFactorInitial ,
940 int numberOfIncrementsInitial ,
941 bool continuousPulseInitial ,
942 int numberOfTimePeriodsInitial ,
943 double framesPerPulseInitial ,
944 double pulseDutycycleInitial ) :
945 ShowGuides(showGuidesInitial),
946 StreamSync(streamSyncInitial),
947 ActiveRegionStartFactor(activeRegionStartFactorInitial),
948 ActiveRegionEndFactor(activeRegionEndFactorInitial),
949 NumberOfIncrements(numberOfIncrementsInitial),
950 ContinuousPulse(continuousPulseInitial),
951 NumberOfTimePeriods(numberOfTimePeriodsInitial),
952 FramesPerPulse(framesPerPulseInitial),
953 PulseDutycycle(pulseDutycycleInitial)
954 {
955 }
956 };
957
958 public:
959 struct Animation
960 {
963 public: int NumberOfFrames;
964 public: int StartLoadcase;
965 public: int StartIteration;
966 public: int EndLoadcase;
967 public: int EndIteration;
969 public: bool FullCycle;
970 public: int Delay;
974 public: bool Color;
975 public: bool Deformation;
976 public: bool SaveFramesInMemory;
977 public: Animation() :
983 EndLoadcase(),
984 EndIteration(),
986 FullCycle(),
987 Delay(),
990 IterValueType((NXOpen::CAE::BaseIteration::IterationValueType)0),
991 Color(),
992 Deformation(),
994 {
995 }
997 public: Animation(NXOpen::CAE::Post::AnimationType animationTypeInitial ,
998 NXOpen::CAE::Post::AnimationStyle animationStyleInitial ,
999 int numberOfFramesInitial ,
1000 int startLoadcaseInitial ,
1001 int startIterationInitial ,
1002 int endLoadcaseInitial ,
1003 int endIterationInitial ,
1004 int iterationIncrementInitial ,
1005 bool fullCycleInitial ,
1006 int delayInitial ,
1007 const NXOpen::CAE::Post::AnimationStreamline &animationStreamlineInitial ,
1008 NXOpen::CAE::Post::AnimationIterationTypes iterationTypeInitial ,
1010 bool colorInitial ,
1011 bool deformationInitial ,
1012 bool saveFramesInMemoryInitial ) :
1013 AnimationType(animationTypeInitial),
1014 AnimationStyle(animationStyleInitial),
1015 NumberOfFrames(numberOfFramesInitial),
1016 StartLoadcase(startLoadcaseInitial),
1017 StartIteration(startIterationInitial),
1018 EndLoadcase(endLoadcaseInitial),
1019 EndIteration(endIterationInitial),
1020 IterationIncrement(iterationIncrementInitial),
1021 FullCycle(fullCycleInitial),
1022 Delay(delayInitial),
1023 AnimationStreamline(animationStreamlineInitial),
1024 IterationType(iterationTypeInitial),
1025 IterValueType(iterValueTypeInitial),
1026 Color(colorInitial),
1027 Deformation(deformationInitial),
1028 SaveFramesInMemory(saveFramesInMemoryInitial)
1029 {
1030 }
1031 };
1032
1033 public:
1034 struct AnimationParameters
1035 {
1038 public: int NumberOfFrames;
1042 public: bool FullCycle;
1043 public: int Delay;
1047 public: bool Color;
1048 public: bool Deformation;
1050 public: double StartPhaseAngle;
1051 public: double EndPhaseAngle;
1052 public: AnimationParameters() :
1059 FullCycle(),
1060 Delay(),
1063 IterValueType((NXOpen::CAE::BaseIteration::IterationValueType)0),
1064 Color(),
1065 Deformation(),
1069{
1070 }
1073 NXOpen::CAE::Post::AnimationStyle animationStyleInitial ,
1074 int numberOfFramesInitial ,
1075 NXOpen::CAE::Iteration * animStartIterationInitial ,
1076 NXOpen::CAE::Iteration * animEndIterationInitial ,
1077 int iterationIncrementInitial ,
1078 bool fullCycleInitial ,
1079 int delayInitial ,
1080 const NXOpen::CAE::Post::AnimationStreamline &animationStreamlineInitial ,
1081 NXOpen::CAE::Post::AnimationIterationTypes iterationTypeInitial ,
1083 bool colorInitial ,
1084 bool deformationInitial ,
1085 bool saveFramesInMemoryInitial ,
1086 double startPhaseAngleInitial ,
1087 double endPhaseAngleInitial ) :
1088 AnimationType(animationTypeInitial),
1089 AnimationStyle(animationStyleInitial),
1090 NumberOfFrames(numberOfFramesInitial),
1091 AnimStartIteration(animStartIterationInitial),
1092 AnimEndIteration(animEndIterationInitial),
1093 IterationIncrement(iterationIncrementInitial),
1094 FullCycle(fullCycleInitial),
1095 Delay(delayInitial),
1096 AnimationStreamline(animationStreamlineInitial),
1097 IterationType(iterationTypeInitial),
1098 IterValueType(iterValueTypeInitial),
1099 Color(colorInitial),
1100 Deformation(deformationInitial),
1101 SaveFramesInMemory(saveFramesInMemoryInitial),
1102 StartPhaseAngle(startPhaseAngleInitial),
1103 EndPhaseAngle(endPhaseAngleInitial)
1104 {
1105 }
1106 };
1107
1108 public:
1109 struct Clipping
1110 {
1111 public: bool ShowOutline;
1112 public: bool ShowClippedGhost;
1113 public: double ClipValue;
1117 public: Clipping() :
1118 ShowOutline(),
1120 ClipValue(),
1121 Side((NXOpen::CAE::Post::ClipSide)0),
1122 Plane((NXOpen::CAE::Post::ClipPlane)0),
1124 {
1125 }
1127 public: Clipping(bool showOutlineInitial ,
1128 bool showClippedGhostInitial ,
1129 double clipValueInitial ,
1130 NXOpen::CAE::Post::ClipSide sideInitial ,
1131 NXOpen::CAE::Post::ClipPlane planeInitial ,
1132 NXOpen::CAE::Result::CoordinateSystem planeCoordinateSystemInitial ) :
1133 ShowOutline(showOutlineInitial),
1134 ShowClippedGhost(showClippedGhostInitial),
1135 ClipValue(clipValueInitial),
1136 Side(sideInitial),
1137 Plane(planeInitial),
1138 PlaneCoordinateSystem(planeCoordinateSystemInitial)
1139 {
1140 }
1141 };
1142
1143 public:
1144 struct Axisymmetric
1145 {
1146 public: int NumberOfSection;
1147 public: double RevolveAngle;
1149 public: Axisymmetric() :
1151 RevolveAngle(),
1153 {
1154 }
1156 public: Axisymmetric(int numberOfSectionInitial ,
1157 double revolveAngleInitial ,
1158 NXOpen::CAE::Post::AxisymetricAxis axisymAxisInitial ) :
1159 NumberOfSection(numberOfSectionInitial),
1160 RevolveAngle(revolveAngleInitial),
1161 AxisymAxis(axisymAxisInitial)
1162 {
1163 }
1164 };
1165
1166 public:
1167 struct AnnotationBox
1168 {
1171 public: bool ShowBorder;
1172 public: bool FillArea;
1173 public: bool AreaTranslucency;
1174 public: AnnotationBox() :
1175 LineColor(),
1176 AreaColor(),
1177 ShowBorder(),
1178 FillArea(),
1180{
1181 }
1183 public: AnnotationBox(NXColor* lineColorInitial ,
1184 NXColor* areaColorInitial ,
1185 bool showBorderInitial ,
1186 bool fillAreaInitial ,
1187 bool areaTranslucencyInitial ) :
1188 LineColor(lineColorInitial),
1189 AreaColor(areaColorInitial),
1190 ShowBorder(showBorderInitial),
1191 FillArea(fillAreaInitial),
1192 AreaTranslucency(areaTranslucencyInitial)
1193 {
1194 }
1195 };
1196
1197 public:
1198 struct Text
1199 {
1200 public: int Font;
1201 public: int Size;
1202 public: NXColor* Color;
1203 public: int Bold;
1204 public: Text() :
1205 Font(),
1206 Size(),
1207 Color(),
1208 Bold()
1209 {
1210 }
1212 public: Text(int fontInitial ,
1213 int sizeInitial ,
1214 NXColor* colorInitial ,
1215 int boldInitial ) :
1216 Font(fontInitial),
1217 Size(sizeInitial),
1218 Color(colorInitial),
1219 Bold(boldInitial)
1220 {
1221 }
1222 };
1223
1224 public:
1225 struct StreamlineExtraction
1226 {
1228 public: double MaximumTimeElapsed;
1230 public: bool LimitStepSize;
1231 public: double MaximumStepSize;
1233 public: bool DisjointRestart;
1234 public: StreamlineExtraction() :
1238 LimitStepSize(),
1242 {
1243 }
1246 double maximumTimeElapsedInitial ,
1247 int maxIntegrationStepsInitial ,
1248 bool limitStepSizeInitial ,
1249 double maximumStepSizeInitial ,
1250 NXOpen::CAE::Post::IntegrationScheme integrationSchemeInitial ,
1251 bool disjointRestartInitial ) :
1252 Direction(directionInitial),
1253 MaximumTimeElapsed(maximumTimeElapsedInitial),
1254 MaxIntegrationSteps(maxIntegrationStepsInitial),
1255 LimitStepSize(limitStepSizeInitial),
1256 MaximumStepSize(maximumStepSizeInitial),
1257 IntegrationScheme(integrationSchemeInitial),
1258 DisjointRestart(disjointRestartInitial)
1259 {
1260 }
1261 };
1262
1263 public:
1264 struct StreamlineSeed
1265 {
1268 public: int ElementId;
1269 public: StreamlineSeed() :
1270 Extraction(),
1271 Coordinates(),
1272 ElementId()
1273 {
1274 }
1277 const NXOpen::Point3d &coordinatesInitial ,
1278 int elementIdInitial ) :
1279 Extraction(extractionInitial),
1280 Coordinates(coordinatesInitial),
1281 ElementId(elementIdInitial)
1282{
1283 }
1284 };
1285
1286 public:
1287 struct GraphParameters
1288 {
1293 public: double NoDataValue;
1295 public: GraphParameters() :
1300 NoDataValue(),
1302 {
1303 }
1305 public: GraphParameters(bool useDeformedConfigurationInitial ,
1306 bool includeIntersectionsInitial ,
1307 NXOpen::CAE::Post::NodeValueSharingCriterion valueShareingCriterionInitial ,
1308 NXOpen::CAE::Post::NoDataTreatment noDataTreatmentInitial ,
1309 double noDataValueInitial ,
1310 NXOpen::CAE::Post::Abcissa abcissaInitial ) :
1311 UseDeformedConfiguration(useDeformedConfigurationInitial),
1312 IncludeIntersections(includeIntersectionsInitial),
1313 ValueShareingCriterion(valueShareingCriterionInitial),
1314 NoDataTreatment(noDataTreatmentInitial),
1315 NoDataValue(noDataValueInitial),
1316 Abcissa(abcissaInitial)
1317 {
1318 }
1319 };
1320
1321 public:
1322 struct GraphIds
1323 {
1324 public: int GraphFileId;
1325 public: int GraphSetId;
1326 public: GraphIds() :
1327 GraphFileId(),
1328 GraphSetId()
1329 {
1330 }
1332 public: GraphIds(int graphFileIdInitial ,
1333 int graphSetIdInitial ) :
1334 GraphFileId(graphFileIdInitial),
1335 GraphSetId(graphSetIdInitial)
1336 {
1337 }
1338 };
1339
1340 public:
1341 struct ASCIIDiffTolerances
1342 {
1343 public: double Coorderr;
1344 public: double Dataerr;
1345 public: double Rgbtol;
1346 public: double Coordtol;
1347 public: double Datatol;
1348 public: double Zerotol;
1349 public: ASCIIDiffTolerances() :
1350 Coorderr(),
1351 Dataerr(),
1352 Rgbtol(),
1353 Coordtol(),
1354 Datatol(),
1355 Zerotol()
1356 {
1357 }
1359 public: ASCIIDiffTolerances(double coorderrInitial ,
1360 double dataerrInitial ,
1361 double rgbtolInitial ,
1362 double coordtolInitial ,
1363 double datatolInitial ,
1364 double zerotolInitial ) :
1365 Coorderr(coorderrInitial),
1366 Dataerr(dataerrInitial),
1367 Rgbtol(rgbtolInitial),
1368 Coordtol(coordtolInitial),
1369 Datatol(datatolInitial),
1370 Zerotol(zerotolInitial)
1371 {
1372 }
1373 };
1374
1380
1381 public:
1382 struct Mass
1383 {
1385 public: double ModelPrecentValue;
1386 public: double SpecifiedLengthValue;
1387 public: Mass() :
1391{
1392 }
1394 public: Mass(NXOpen::CAE::Post::MassSizeOption massSizeOptionInitial ,
1395 double modelPrecentValueInitial ,
1396 double specifiedLengthValueInitial ) :
1397 MassSizeOption(massSizeOptionInitial),
1398 ModelPrecentValue(modelPrecentValueInitial),
1399 SpecifiedLengthValue(specifiedLengthValueInitial)
1400 {
1401 }
1402 };
1403
1409
1410 public:
1411 struct Spring
1412 {
1414 public: double ModelPrecentValue;
1415 public: double SpecifiedLengthValue;
1416 public: Spring() :
1420 {
1421 }
1423 public: Spring(NXOpen::CAE::Post::SpringSizeOption springSizeOptionInitial ,
1424 double modelPrecentValueInitial ,
1425 double specifiedLengthValueInitial ) :
1426 SpringSizeOption(springSizeOptionInitial),
1427 ModelPrecentValue(modelPrecentValueInitial),
1428 SpecifiedLengthValue(specifiedLengthValueInitial)
1429 {
1430 }
1431 };
1432
1433 public:
1434 struct NodalForceReportDisplaySettings
1435 {
1436 public: bool DisplayAtCentroid;
1437 public: NodalForceReportDisplaySettings() :
1439 {
1440 }
1442 public: NodalForceReportDisplaySettings(bool displayAtCentroidInitial ) :
1443 DisplayAtCentroid(displayAtCentroidInitial)
1444 {
1445 }
1446 };
1447 private: PostImpl * m_post_impl;
1448 private: NXOpen::Session* m_owner;
1450 public: explicit Post(NXOpen::Session *owner);
1452 public:
1454 tag_t Tag() const;
1455 public: ~Post();
1459 public: std::vector<int> GetPostviewIds
1460 (
1461 );
1471 (
1472 );
1478 (
1479 int postviewId
1480 );
1486 (
1487 const NXString & resultName ,
1488 const NXString & fileName ,
1489 const std::vector<NXOpen::Unit *> & units
1490 );
1496 (
1497 const char * resultName ,
1498 const char * fileName ,
1499 const std::vector<NXOpen::Unit *> & units
1500 );
1506 (
1508 );
1512 public: void UnloadResultFile
1513 (
1514 const NXString & fileName
1515 );
1520 (
1521 const char * fileName
1522 );
1526 public: void UnloadResult
1527 (
1528 int resultId
1529 );
1534 (
1535 NXOpen::CAE::SimPart * simpart
1536 );
1542 (
1543 int viewIndex ,
1544 int resultId ,
1545 bool overlay ,
1547 );
1556 public: NX_DEPRECATED("自 NX7.5.1 起弃用。请改用 NXOpen::CAE::Post::CreatePostviewForResult。") int CreatePostviewForResult
1557 (
1558 int viewIndex ,
1560 bool overlay ,
1562 );
1571 (
1572 int viewIndex ,
1573 int resultId ,
1574 bool overlay ,
1576 NXOpen::CAE::Post::DisplayColorSchemeType colorscheme
1577 );
1582 (
1583 int viewIndex ,
1584 int resultId ,
1586 );
1590 public: void DeleteViewport
1591 (
1592 int viewIndex
1593 );
1598 public: void PostviewRename
1599 (
1600 int postviewId ,
1601 const NXString & newName
1602 );
1608 (
1609 int postviewId ,
1610 const char * newName
1611 );
1616 public: void PostviewDelete
1617 (
1618 int postviewId
1619 );
1625 (
1626 int postviewId
1627 );
1636 public: NX_DEPRECATED("Deprecated in NX11.0.0. Use NXOpen::CAE::Post::PostviewAnimationPlay instead.") void PostviewAnimationPlay
1637 (
1638 int postviewId ,
1640 );
1647 (
1648 int postviewId ,
1649 NXOpen::CAE::Post::AnimationControl control ,
1650 int frame ,
1651 bool fullCycle ,
1652 int delay
1653 );
1660 (
1661 int postviewId ,
1662 const NXOpen::CAE::Post::AnimationStreamline & control
1663 );
1670 (
1671 int postviewId ,
1672 bool vectorDisplaySizeControl
1673 );
1679 (
1680 int postviewId ,
1681 bool showMarker
1682 );
1688 (
1689 int postviewId ,
1690 int templateId
1691 );
1697 (
1698 int postviewId ,
1699 const NXString & xmlFileName
1700 );
1706 (
1707 int postviewId ,
1708 const char * xmlFileName
1709 );
1715 (
1716 int postviewId
1717 );
1723 (
1724 int postviewId ,
1725 NXOpen::CAE::Result::GroupContainer container ,
1726 bool visibility
1727 );
1733 (
1734 int postviewId ,
1735 int superelementId ,
1736 bool visibility
1737 );
1743 (
1744 int postviewId ,
1745 int superelementId ,
1746 NXOpen::CAE::Result::SuperElementRep representation
1747 );
1753 (
1754 int postviewId ,
1755 const std::vector<int> & superelementIds ,
1756 NXOpen::CAE::Result::SuperElementRep representation
1757 );
1762 (
1763 int pvid ,
1764 bool visibility
1765 );
1771 (
1772 int postviewId ,
1773 int superelementId ,
1774 std::vector<NXOpen::CAE::Result::SuperElementRep> & representation
1775 );
1781 (
1782 int postviewId ,
1783 NXOpen::CAE::Result * result ,
1784 NXOpen::CAE::Result::GroupContainer container ,
1785 bool visibility
1786 );
1792 (
1793 int postviewId ,
1794 const std::vector<NXOpen::CAE::Result::GroupContainer> & container ,
1795 bool visibility
1796 );
1802 (
1803 int postviewId ,
1804 NXOpen::CAE::Result * result ,
1805 const std::vector<NXOpen::CAE::Result::GroupContainer> & container ,
1806 bool visibility
1807 );
1813 (
1814 int postviewId ,
1815 NXOpen::CAE::Result::GroupContainer container ,
1816 int group ,
1817 bool visibility
1818 );
1824 (
1825 int postviewId ,
1826 int resultId ,
1827 NXOpen::CAE::Result::GroupContainer container ,
1828 int group ,
1829 bool visibility
1830 );
1837 (
1838 int postviewId ,
1839 const std::vector<NXOpen::CAE::Result::GroupContainer> & container ,
1840 const std::vector<int> & group ,
1841 bool visibility
1842 );
1849 (
1850 int postviewId ,
1851 int resultId ,
1852 const std::vector<NXOpen::CAE::Result::GroupContainer> & container ,
1853 const std::vector<int> & group ,
1854 bool visibility
1855 );
1861 (
1862 int postviewId ,
1863 bool visibility
1864 );
1870 (
1871 int postviewId ,
1872 int id ,
1873 bool visibility
1874 );
1880 (
1881 int postviewId ,
1882 const std::vector<int> & usergroupIds ,
1883 NXOpen::CAE::Post::GroupVisibility visibility
1884 );
1890 (
1891 int postviewId ,
1892 NXOpen::CAE::Result * result ,
1893 const std::vector<int> & usergroupIds ,
1894 NXOpen::CAE::Post::GroupVisibility visibility
1895 );
1901 (
1902 int postviewId ,
1903 const std::vector<NXOpen::CAE::Result *> & results ,
1904 const std::vector<int> & usergroupIds ,
1905 NXOpen::CAE::Post::GroupVisibility visibility
1906 );
1912 (
1913 int postviewId ,
1914 const std::vector<NXString> & usergroupNames ,
1915 std::vector<int> & usergroupsGids
1916 );
1922 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::CAE::Post::PostviewSetStyle instead.") void PostviewSetStyle
1923 (
1924 int postviewId ,
1927 );
1932 (
1933 int postviewId ,
1934 bool displayAtCentroid
1936 );
1941 (
1942 int postviewId
1943 );
1948 public: void PostviewSetStyle
1949 (
1950 int postviewId ,
1951 int showStyle ,
1953 );
1960 (
1961 int postviewId ,
1962 NXOpen::CAE::Post::ColorbarStyle colorbarStyle
1963 );
1969 (
1970 int postviewId ,
1971 NXOpen::CAE::Post::DisplayColorSchemeType colorScheme
1972 );
1978 (
1979 int postviewId ,
1980 NXOpen::CAE::Post::Target target
1981 );
1989 public: NX_DEPRECATED("Deprecated in NX7.5.1. Use NXOpen::CAE::Post::PostviewSetResult instead.") void PostviewSetResult
1990 (
1991 int postviewId ,
1993 );
1999 (
2000 int postviewId ,
2001 NXOpen::CAE::Post::BandStyle bandstyle
2002 );
2008 (
2009 int postviewId ,
2011 );
2019 public: NX_DEPRECATED("Deprecated in NX7.5.1. Use NXOpen::CAE::Post::PostviewSetDeformation instead.") void PostviewSetDeformation
2020 (
2021 int postviewId ,
2023 );
2031 public: NX_DEPRECATED("Deprecated in NX7.5.1. Use NXOpen::CAE::Post::PostviewSetStreamlineVelocity instead.") void PostviewSetStreamlineVelocity
2032 (
2033 int postviewId ,
2034 const NXOpen::CAE::Result::VelocityParameters & velocity
2035 );
2041 (
2042 int postviewId ,
2043 int seedsetId
2044 );
2049 public: void PostviewSetMark
2050 (
2051 int postviewId ,
2052 const NXOpen::CAE::Post::Mark & mark
2053 );
2059 (
2060 int postviewId ,
2061 const NXOpen::CAE::Post::Streamline & streamline
2062 );
2068 (
2069 int postviewId ,
2070 bool deformed
2071 );
2077 (
2078 int postviewId ,
2079 bool undeformed
2080 );
2086 (
2087 int postviewId ,
2088 bool synchronization
2089 );
2097 (
2098 int postviewId ,
2099 bool showDeformedPrimaryDisplay ,
2100 bool showUndeformedModel ,
2101 bool synchronizeLoadCaseAndIteration
2102 );
2108 (
2109 int postviewId ,
2110 const NXOpen::CAE::Post::Colorbar & colorbar
2111 );
2116 public: NX_DEPRECATED("Deprecated in NX1847.0.0. Use NXOpen::CAE::Post::PostviewSetColorbar and NXOpen::CAE::Post::PostviewSetColorbar instead.") void PostviewSetColorbar
2117 (
2118 int postviewId ,
2121 const std::vector<double> & rangeValue ,
2122 const std::vector<NXOpen::NXColor::Rgb> & rangeColors
2123 );
2128 (
2129 int postviewId ,
2130 const NXOpen::CAE::Post::Colorbar & colorbar ,
2131 bool customOverwriteValue ,
2132 bool customOverwriteColor ,
2133 const std::vector<double> & rangeValue ,
2134 const std::vector<NXOpen::NXColor::Rgb> & rangeColors
2135 );
2141 (
2142 int postviewId ,
2143 int* customOverwrite
2144 );
2150 (
2151 int postviewId ,
2152 bool* customOverwriteValue ,
2153 bool* customOverwriteColor
2154 );
2160 (
2161 int postviewId ,
2162 NXOpen::CAE::Post::ShowHeader showHeader
2163 );
2169 (
2170 int postviewId ,
2171 const std::vector<NXOpen::CAE::Post::Headerlines> & headerlines
2172 );
2178 (
2179 int postviewId
2180 );
2186 public: NX_DEPRECATED("Deprecated in NX8.5.0. Use NXOpen::CAE::Post::PostviewSetShowHeader and NXOpen::CAE::Post::PostviewSetColorbar instead.") void PostviewSetLegend
2187 (
2188 int postviewId ,
2191 );
2197 public: NX_DEPRECATED("Deprecated in NX12.0.0. Use NXOpen::CAE::Post::PostviewSetEdgeFace instead.") void PostviewSetEdgeFace
2198 (
2199 int postviewId ,
2202 );
2208 public: NX_DEPRECATED("Deprecated in NX12.0.0. Use NXOpen::CAE::Post::PostviewSetEdgeFace instead.") void PostviewSetEdgeFace
2209 (
2210 int postviewId ,
2212 );
2218 (
2219 int postviewId ,
2220 bool lockRotation
2221 );
2226 public: void PostviewSetText
2227 (
2228 int postviewId ,
2229 const NXOpen::CAE::Post::Text & text
2230 );
2236 (
2237 int postviewId
2238 );
2244 (
2245 int postviewId ,
2246 NXOpen::CAE::Post::Format format ,
2247 int numdecimal
2248 );
2254 (
2255 int postviewId ,
2256 NXOpen::CAE::Post::Format* format ,
2257 int* numdecimal
2258 );
2264 public: NX_DEPRECATED("Deprecated in NX12.0.0. Set NXOpen::CAE::PostPreference Position set through post preferences instead.") void PostviewSetPosition
2265 (
2266 int postviewId ,
2268 );
2274 public: NX_DEPRECATED("Deprecated in NX9.0.0. Set NXOpen::CAE::PostAnnotation show hide instead.") void PostviewSetMarker
2275 (
2276 int postviewId ,
2279 );
2285 public: NX_DEPRECATED("Deprecated in NX9.0.0. Set NXOpen::CAE::PostAnnotation Display Attribute directly instead.") void PostviewSetAnnotationBox
2286 (
2287 int postviewId ,
2289 );
2295 (
2296 int postviewId ,
2297 bool autoFontSize ,
2298 double fontScale
2299 );
2305 (
2306 int postviewId ,
2307 int* autoFontSize ,
2308 double* fontScale
2309 );
2316 (
2317 int postviewId ,
2318 const NXOpen::CAE::Post::Axisymmetric & axisymmetric
2319 );
2328 public: NX_DEPRECATED("Deprecated in NX7.5.1. Use NXOpen::CAE::Post::PostviewSetClipping instead.") void PostviewSetClipping
2329 (
2330 int postviewId ,
2332 );
2338 (
2339 int postviewId ,
2340 bool lighted
2342 );
2348 (
2349 int postviewId ,
2350 bool compress ,
2352 double featureangle ,
2354 double banddifference
2357 );
2364 (
2365 int postviewId ,
2367 );
2374 (
2375 int postviewId ,
2376 NXOpen::CAE::Result::GroupContainer container ,
2377 bool visibility
2378 );
2385 (
2386 int postviewId ,
2387 NXOpen::CAE::Result::GroupContainer container ,
2388 int group ,
2389 bool visibility
2390 );
2395 public: void PostviewUpdate
2396 (
2397 int postviewId
2398 );
2405 public: NX_DEPRECATED("Deprecated in NX1926.0.0. use NXOpen::CAE::Post::PostviewCaptureAllViewportsToGif for multiple animations.") void PostviewCaptureAnimatedGif
2406 (
2407 int postviewId ,
2411 );
2419 (
2420 int postviewId ,
2421 const char * fileName ,
2423 bool whiteBackground
2424 );
2430 (
2431 int postviewId ,
2432 const NXString & fileName ,
2433 NXOpen::CAE::Post::Export format ,
2434 bool ignoreClipping ,
2435 bool ignoreVisibility
2436 );
2442 (
2443 int postviewId ,
2444 const char * fileName ,
2445 NXOpen::CAE::Post::Export format ,
2446 bool ignoreClipping ,
2447 bool ignoreVisibility
2448 );
2455 (
2456 int postviewId
2457 );
2464 (
2465 int postviewId ,
2466 const NXString & xmlFileName
2467 );
2474 (
2475 int postviewId ,
2476 const char * xmlFileName
2477 );
2482 (
2483 int postviewId ,
2484 bool displayCriticalPlies
2485 );
2490 (
2491 int postviewId ,
2492 bool displayCriticalLayers
2493 );
2498 (
2499 int postviewId ,
2500 bool displayCriticalLoads
2501 );
2506 (
2507 int postviewId ,
2508 NXOpen::CAE::CaeGroupCollection::EntityType entityType ,
2509 const std::vector<int> & labels
2510 );
2516 (
2517 int postviewId ,
2518 NXOpen::CAE::Result * result ,
2519 NXOpen::CAE::CaeGroupCollection::EntityType entityType ,
2520 const std::vector<int> & labels
2521 );
2527 public: NX_DEPRECATED("Deprecated in NX11.0.0. use NXOpen::CAE::Post::UserGroupRename with resulttag.") void UserGroupRename
2528 (
2529 int usergroupId ,
2531 );
2538 (
2539 int usergroupId ,
2540 const char * newName
2541 );
2547 public: NX_DEPRECATED("Deprecated in NX11.0.0. use NXOpen::CAE::Post::UserGroupDelete with resulttag.") void UserGroupDelete
2548 (
2549 int usergroupId
2550 );
2557 (
2558 int postviewId ,
2559 const NXString & name ,
2560 const std::vector<NXOpen::CAE::Post::StreamlineSeed> & seeds
2561 );
2568 (
2569 int postviewId ,
2570 const char * name ,
2571 const std::vector<NXOpen::CAE::Post::StreamlineSeed> & seeds
2572 );
2578 (
2579 int seedsetId
2580 );
2587 public: NX_DEPRECATED("Deprecated in NX11.0.0. use NXOpen::CAE::ResultManager::CreateQueryCurvePost with nodes, elements or free points.") int CreatePathFromNodeIds
2588 (
2589 int postviewId ,
2590 const NXString & name ,
2591 const std::vector<int> & nodeIds
2592 );
2600 (
2601 int postviewId ,
2602 const char * name ,
2603 const std::vector<int> & nodeIds
2604 );
2611 public: NX_DEPRECATED("自NX11.0.0起已弃用。请使用NXOpen::CAE::ResultManager::CreateQueryCurvePost配合节点、单元或自由点。") int CreatePathFromElemIds
2612 (
2613 int postviewId ,
2614 const NXString & name ,
2615 const std::vector<int> & elemIds
2616 );
2624 (
2625 int postviewId ,
2626 const char * name ,
2627 const std::vector<int> & elemIds
2628 );
2635 public: NX_DEPRECATED("自NX11.0.0起已弃用。请使用NXOpen::CAE::ResultManager::CreateQueryCurvePost配合节点、单元或自由点。") int CreatePathFromPoints
2636 (
2637 int postviewId ,
2638 const NXString & name ,
2639 const std::vector<double> & points ,
2641 );
2649 (
2650 int postviewId ,
2651 const char * name ,
2652 const std::vector<double> & points ,
2654 );
2660 public: NX_DEPRECATED("自NX11.0.0起已弃用。请使用NXOpen::CAE::ResultManager::DeleteQueryCurve来删除查询曲线") void PathDelete
2661 (
2662 int pathId
2663 );
2671 (
2672 int postviewId ,
2673 const NXString & name ,
2674 const NXOpen::CAE::Post::GraphParameters & graph ,
2675 int pathId
2676 );
2684 (
2685 int postviewId ,
2686 const char * name ,
2687 const NXOpen::CAE::Post::GraphParameters & graph ,
2688 int pathId
2689 );
2697 (
2698 int postviewId ,
2699 const NXString & name ,
2700 const NXOpen::CAE::Post::GraphParameters & graph ,
2701 int startIteration ,
2702 int endIteration ,
2703 int iterationIncrement ,
2704 int nodeLabel ,
2705 const std::vector<double> & point
2706 );
2714 (
2715 int postviewId ,
2716 const char * name ,
2717 const NXOpen::CAE::Post::GraphParameters & graph ,
2718 int startIteration ,
2719 int endIteration ,
2720 int iterationIncrement ,
2721 int nodeLabel ,
2722 const std::vector<double> & point
2723 );
2728 public: void PlotGraph
2729 (
2730 int viewIndex ,
2731 const NXOpen::CAE::Post::GraphIds & graphIds ,
2732 bool overlay
2733 );
2738 public: void GraphDelete
2739 (
2740 const NXOpen::CAE::Post::GraphIds & graphIds
2741 );
2746 public: void TemplateDelete
2747 (
2748 int templateId
2749 );
2754 public: void TemplateRename
2755 (
2756 int templateId ,
2757 const NXString & newName
2758 );
2764 (
2765 int templateId ,
2766 const char * newName
2767 );
2772 public: int TemplateSearch
2773 (
2774 const NXString & name
2775 );
2781 (
2782 const char * name
2783 );
2789 (
2790 int templateId
2791 );
2796 (
2797 );
2802 (
2803 const NXString & filename ,
2804 const NXString & name ,
2805 int* templateId
2806 );
2811 (
2812 const char * filename ,
2813 const char * name ,
2814 int* templateId
2815 );
2819 public: void ReloadTemplates
2820 (
2821 );
2826 (
2827 );
2832 (
2833 const NXString & benchmarkFileName ,
2834 const NXString & testFileName ,
2835 const NXOpen::CAE::Post::ASCIIDiffTolerances & tolerances
2836 );
2841 (
2842 const char * benchmarkFileName ,
2843 const char * testFileName ,
2844 const NXOpen::CAE::Post::ASCIIDiffTolerances & tolerances
2845 );
2847
2850 public: NXString CompareDisplayFilesSmart
2851 (
2852 const NXString & benchmarkFileName ,
2853 const NXString & testFileName ,
2854 const NXOpen::CAE::Post::ASCIIDiffTolerances & tolerances
2855 );
2859 NXString CompareDisplayFilesSmart
2860 (
2861 const char * benchmarkFileName ,
2862 const char * testFileName ,
2863 const NXOpen::CAE::Post::ASCIIDiffTolerances & tolerances
2864 );
2866
2871 public: int CreatePostview
2872 (
2873 int viewIndex ,
2874 NXOpen::CAE::Result * result ,
2875 bool overlay
2876 );
2883 (
2884 int viewIndex ,
2885 NXOpen::CAE::Result * result ,
2886 bool overlay ,
2887 NXOpen::CAE::Post::DisplayColorSchemeType colorscheme
2888 );
2895 (
2896 int viewIndex ,
2897 NXOpen::CAE::Result * result ,
2898 bool overlay ,
2899 NXOpen::CAE::ResultParameters * resultParamter
2900 );
2907 (
2908 int viewIndex ,
2909 NXOpen::CAE::Result * result ,
2910 bool overlay ,
2911 NXOpen::CAE::ResultParameters * resultParamter ,
2912 NXOpen::CAE::Post::DisplayColorSchemeType colorscheme
2913 );
2918 (
2919 int postviewId ,
2920 NXOpen::CAE::Result ** result ,
2921 NXOpen::CAE::ResultParameters ** resultParamter
2923 );
2933 (
2934 int viewIndex ,
2935 NXOpen::CAE::Result * result ,
2936 NXOpen::CAE::ResultParameters * resultParamter ,
2937 std::vector<int> & postviewIds
2938 );
2944 (
2945 int postviewId ,
2946 NXOpen::CAE::ResultParameters * resultParamter
2947 );
2953 (
2954 int postviewId ,
2956 );
2962 (
2963 int postviewId ,
2965 );
2970 public: NX_DEPRECATED("Deprecated in NX11.0.0. Use NXOpen::CAE::PostAnnotationBuilder instead.") NXOpen::CAE::PostAnnotation * CreateAnnotation
2971 (
2972 int postviewId ,
2973 const NXString & name ,
2974 int num ,
2975 bool max ,
2976 const std::vector<NXString> & usertext
2977 );
2983 (
2984 int postviewId ,
2985 const char * name ,
2986 int num ,
2987 bool max ,
2988 const std::vector<NXString> & usertext
2989 );
2994 public: NX_DEPRECATED("Deprecated in NX9.0.0. use NXOpen::CAE::Post::CreateAnnotation with extra face parameter.") NXOpen::CAE::PostAnnotation * CreateAnnotation
2995 (
2996 int postviewId ,
2997 const NXString & name ,
2998 const std::vector<int> & entities ,
2999 const std::vector<int> & subEntities ,
3000 const std::vector<NXString> & usertext
3001 );
3007 (
3008 int postviewId ,
3009 const char * name ,
3010 const std::vector<int> & entities ,
3011 const std::vector<int> & subEntities ,
3012 const std::vector<NXString> & usertext
3013 );
3018 public: NX_DEPRECATED("Deprecated in NX11.0.0. Use NXOpen::CAE::PostAnnotationBuilder instead.") NXOpen::CAE::PostAnnotation * CreateAnnotation
3019 (
3020 int postviewId ,
3021 const NXString & name ,
3022 const std::vector<int> & elements ,
3023 const std::vector<int> & nodes ,
3024 const std::vector<int> & elmedgeface ,
3025 const std::vector<NXString> & usertext
3026 );
3032 (
3033 int postviewId ,
3034 const char * name ,
3035 const std::vector<int> & elements ,
3036 const std::vector<int> & nodes ,
3037 const std::vector<int> & elmedgeface ,
3038 const std::vector<NXString> & usertext
3039 );
3044 public: NX_DEPRECATED("Deprecated in NX11.0.0. Use NXOpen::CAE::PostAnnotationBuilder instead.") NXOpen::CAE::PostAnnotation * CreateAnnotation
3045 (
3046 int postviewId ,
3047 const NXString & name ,
3048 double xcoord ,
3049 double ycoord ,
3050 const std::vector<NXString> & usertext
3051 );
3057 (
3058 int postviewId ,
3059 const char * name ,
3060 double xcoord ,
3061 double ycoord ,
3062 const std::vector<NXString> & usertext
3063 );
3067 public: void GetAnnotations
3068 (
3069 int postviewId ,
3070 std::vector<NXOpen::CAE::PostAnnotation *> & annotation
3071 );
3075 public: NXOpen::CAE::Xyplot::Plot * Plotgraphs
3076 (
3077 int windowIndex ,
3078 int viewIndex ,
3079 const std::vector<NXOpen::CAE::PostGraph *> & graphs ,
3080 bool overlay
3081 );
3085 public: void Deletegraphs
3086 (
3087 const std::vector<NXOpen::CAE::PostGraph *> & graphs
3088 );
3095 public: int CreatePostview
3096 (
3097 int viewIndex ,
3098 NXOpen::CAE::ResultParametersWithProbe * probeparams ,
3099 bool overlay
3100 );
3106 (
3107 int postviewId ,
3108 NXOpen::CAE::ResultParametersWithProbe * probeparams
3109 );
3114 (
3115 int postviewId ,
3116 int viewIndex
3117 );
3124 (
3125 int postviewId ,
3127 );
3132 public: void UserGroupRename
3133 (
3134 NXOpen::CAE::Result * result ,
3135 int usergroupId ,
3136 const NXString & newName
3137 );
3143 (
3144 NXOpen::CAE::Result * result ,
3145 int usergroupId ,
3146 const char * newName
3147 );
3152 public: void UserGroupDelete
3153 (
3154 NXOpen::CAE::Result * result ,
3155 int usergroupId
3156 );
3161 public: NX_DEPRECATED("Deprecated in NX2206.0.0. Use NXOpen::CAE::PostAnnotationBuilder instead.") NXOpen::CAE::PostAnnotationBuilder * CreateAnnotationBuilder
3162 (
3163 int pvid
3164 );
3169 (
3170 int pvid ,
3171 NXOpen::CAE::PostAnnotation * annotation
3172 );
3176 public: std::vector<int> GetElemsVisibility
3177 (
3178 int pvid ,
3179 bool* includeOrExculdes
3180 );
3186 public: void GetClipLocations
3187 (
3188 int pvid ,
3189 std::vector<NXOpen::CAE::PostSelectionEntity *> & cutinfos
3190 );
3195 (
3196 int pvid
3197 );
3202 (
3203 int pvid ,
3204 const std::vector<NXOpen::CAE::PostMesh *> & meshes ,
3205 bool isTransparent
3206 );
3211 (
3212 int pvid ,
3213 bool isTranslucent
3214 );
3222 public: NX_DEPRECATED("Deprecated in NX1953.0.0. use NXOpen::CAE::Post::JA_SPP_CreatePostviewFromNodalForceReportParameters instead.") int CreatePostview
3223 (
3224 int viewIndex ,
3226 );
3232 (
3233 int postviewId ,
3235 );
3242 (
3243 int postviewId ,
3246 );
3253 (
3254 int postviewId ,
3256 );
3262 (
3263 int pvid ,
3264 NXOpen::CAE::PostSelectionEntity * postSel1 ,
3265 bool defstate1 ,
3266 NXOpen::CAE::PostSelectionEntity * postSel2 ,
3267 bool defstate2
3268 );
3274 (
3275 int postviewId
3276 );
3281 (
3282 int postviewId ,
3284 );
3289 public: void PostviewSetMass
3290 (
3291 int postviewId ,
3292 const NXOpen::CAE::Post::Mass & mass
3293 );
3298public: NX_DEPRECATED("Deprecated in NX1953.0.0. Instead use NXOpen::CAE::Post::PostviewSetBeamDisplay with Style as LineAndDiagram.") void PostviewShowBeamContour
3299(
3300 int posviewId ,
3302);
3307public: NX_DEPRECATED("Deprecated in NX1953.0.0. Instead use NXOpen::CAE::Post::PostviewSetBeamDisplay with Style as LineAndDiagram.") void PostviewSetBeamContourScaleMethod
3308(
3309 int posviewId ,
3311);
3316public: NX_DEPRECATED("Deprecated in NX1953.0.0. Instead use NXOpen::CAE::Post::PostviewSetBeamDisplay with Style as LineAndDiagram.") void PostviewSetBeamContourScaleFactor
3317(
3318 int posviewId ,
3319 double factor
3320);
3325(
3326 int posviewId
3327);
3332(
3333 int posviewId ,
3334 NXOpen::CAE::HotspotRecipe * recipe ,
3335 std::vector<NXOpen::CAE::Hotspot *> & listhotspot
3336);
3342(
3343 int postviewId ,
3344 const NXOpen::CAE::Post::Spring & spring
3345);
3351(
3352 int postviewId ,
3353 bool draw
3354);
3360(
3361 int postviewId
3362);
3368(
3369 int postviewId ,
3370 bool fill
3371);
3377(
3378 int postviewId
3379);
3385(
3386 int postviewId ,
3387 int fillColor
3388);
3394 (
3395 int postviewId
3396 );
3402 (
3403 int postviewId ,
3404 bool translucent
3405 );
3411 (
3412 int postviewId
3413 );
3420 (
3421 const NXString & fileName ,
3423 bool whiteBackground
3424 );
3431 (
3432 const char * fileName ,
3434 bool whiteBackground
3435 );
3443 (
3444 int viewIndex ,
3446 bool overlay
3447 );
3453 (
3454 int postviewId
3455 );
3461 (
3462 int postviewId ,
3464 );
3472 (
3473 int pvid
3474 );
3480 (
3481 int pvid ,
3483 );
3488 (
3489 int pvid
3490 );
3492
3495 public: void ExportDisplayInAscii
3496 (
3497 int postviewId ,
3498 const NXString & fileName ,
3499 bool ignoreClipping ,
3500 bool ignoreVisibility ,
3501 bool useDirectModelDisplay
3502 );
3506 void ExportDisplayInAscii
3507 (
3508 int postviewId ,
3509 const char * fileName ,
3510 bool ignoreClipping ,
3511 bool ignoreVisibility ,
3512 bool useDirectModelDisplay
3513 );
3515
3519 (
3520 int pvid
3521 );
3526 (
3527 int postViewId
3528 );
3533 (
3534 int postViewId
3535 );
3539 public: void HidePostMeshes
3540 (
3541 const std::vector<int> & postviewIds ,
3542 const std::vector<NXOpen::CAE::PostMesh *> & meshes
3543 );
3547 public: std::vector<int> GetApplicablePostviewIds
3548 (
3549 int basePostviewId
3550 );
3555 (
3556 int postviewId
3557 );
3562 (
3563 );
3573
3578
3582 }; //lint !e1712 类未定义默认构造函数
3583 }
3584}
3585#ifdef _MSC_VER
3586#pragma warning(pop)
3587#endif
3588#ifdef __GNUC__
3589#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
3590#pragma GCC diagnostic warning "-Wdeprecated-declarations"
3591#endif
3592#endif
3593#undef EXPORTLIBRARY