NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Display_DynamicSectionBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口的动态截面构建器头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Display_DynamicSectionBuilder.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/Display_DynamicSectionTypes.hxx>
22#include <NXOpen/Display_LayerSettingsBuilder.hxx>
23#include <NXOpen/Display_PlaneGridBuilder.hxx>
24#include <NXOpen/DisplayableObject.hxx>
25#include <NXOpen/Builder.hxx>
26#include <NXOpen/PartLoadStatus.hxx>
27#include <NXOpen/SelectObjectList.hxx>
28#include <NXOpen/ugmath.hxx>
29#include <NXOpen/libnxopencpp_display_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 Display
40 {
42 }
43 class Builder;
44 class DatumPlane;
45 namespace Display
46 {
48 }
49 namespace Display
50 {
51 class PlaneGridBuilder;
52 }
53 class ModelingView;
54 class NXColor;
55 class Part;
56 class PartLoadStatus;
57 class Plane;
59 namespace Display
60 {
61 class _DynamicSectionBuilderBuilder;
62 class DynamicSectionBuilderImpl;
272 class NXOPENCPP_DISPLAYEXPORT DynamicSectionBuilder : public NXOpen::Builder
273 {
274 private: DynamicSectionBuilderImpl * m_dynamicsectionbuilder_impl;
275 private: friend class _DynamicSectionBuilderBuilder;
276 protected: DynamicSectionBuilder();
277 public: ~DynamicSectionBuilder();
282 public: void GetActivePlane
283 (
286 );
314 public: void SetActivePlane
315 (
318 );
329 public: void AlternatePlane
330 (
331 );
336 (
337 );
344 public: void EditView
345 (
347 );
353 (
354 );
359 public: void SetCapColor
360 (
361 NXOpen::NXColor * capColor
362 );
367 (
368 );
372 public: void SetCapColorOption
373 (
375 );
379 public: bool ShowCap
380 (
381 );
385 public: void SetShowCap
386 (
387 bool showCap
388 );
392 public: bool ShowClip
393 (
394 );
398 public: void SetShowClip
399 (
400 bool showClip
401 );
406 (
407 );
411 public: void SetClipType
412 (
414 );
426 (
427 );
438 public: void SetCsysType
439 (
441 );
447 (
448 );
453 public: void SetCurveColor
454 (
455 NXOpen::NXColor * curveColor
456 );
461 (
462 );
467 (
469 );
474 (
475 );
479 public: void SetCurveWidth
480 (
482 );
487 (
488 );
492 public: void SetCurveFont
493 (
495 );
500 public: bool DeferCurveUpdate
501 (
502 );
508 (
509 bool deferCurveUpdate
510 );
525 (
526 );
541 (
543 );
551 public: NX_DEPRECATED("Deprecated in NX6.0.0. Use ModelingView::IsDynamicSectionVisible instead.") bool ShowCurves
552 (
553 );
561 public: NX_DEPRECATED("Deprecated in NX6.0.0. Use ModelingView::SetDynamicSectionVisible instead.") void SetShowCurves
562 (
563 bool showCurves
564 );
574 public: void ShowCurvePreview
575 (
576 bool showCurvePreview
577 );
582 (
583 );
588 (
589 );
594 (
595 NXOpen::NXColor * interferenceColor
596 );
601 (
602 );
610 public: bool SetName
611 (
612 const NXString & sectionName
613 );
622 (
623 const char * sectionName
624 );
628 public: int NumberInSeries
629 (
630 );
634 public: void SetNumberInSeries
635 (
636 int numberSectionsRequested
637 );
641 public: double SeriesSpacing
642 (
643 );
647 public: void SetSeriesSpacing
648 (
649 double sectionSpacing
650 );
654 public: bool ShowInterference
655 (
656 );
661 (
662 bool showInterference
663 );
667 public: bool LockPlanes
668 (
669 );
673 public: void SetLockPlanes
674 (
675 bool lockPlanes
676 );
681 (
682 );
689 public: void SetNormal
690 (
691 const NXOpen::Vector3d & normal
692 );
697 (
698 );
702 public: double GetOffset
703 (
704 );
711 public: void SetOffset
712 (
713 double offset
714 );
724 public: void GetOffsetLimits
725 (
726 double* minimumOffset ,
727 double* maximumOffset
728 );
733 (
734 );
742 public: void SetOrigin
743 (
744 const NXOpen::Point3d & origin
745 );
752 (
753 double xOffset ,
754 double yOffset
755 );
759 public: double GetPlaneThickness
760 (
761 );
765 public: void SetPlaneThickness
766 (
767 double planeThickness
768 );
772 public: bool ReverseSeries
773 (
774 );
778 public: void SetReverseSeries
779 (
780 bool reverseSeries
781 );
785 public: double GetRotationAngle
786 (
787 NXOpen::Display::DynamicSectionTypes::Axis rotationAxis
788 );
803 public: void SetRotationAngle
804 (
805 NXOpen::Display::DynamicSectionTypes::Axis rotationAxis ,
806 double angle
807 );
812 (
813 );
823 public: void SetRotationMatrix
824 (
825 NXOpen::Display::DynamicSectionTypes::Axis rotationAxis ,
826 const NXOpen::Matrix3x3 & rotationMatrix
827 );
832 (
833 );
837 public: void SetType
838 (
840 );
849 (
850 );
858 public: void SetView
859 (
860 NXOpen::ModelingView * view
861 );
865 public: bool ShowGrid
866 (
867 );
871 public: void SetShowGrid
872 (
873 bool showGrid
874 );
878 public: bool ShowViewer
879 (
880 );
884 public: void SetShowViewer
885 (
886 bool showViewer
887 );
895 (
896 NXOpen::PartLoadStatus ** loadStatus
898 );
908 (
909 NXOpen::PartLoadStatus ** loadStatus
911 );
930 public: void PlaneX
931 (
932 );
951 public: void PlaneY
952 (
953 );
972 public: void PlaneZ
973 (
974 );
978 public: void RestoreView
979 (
980 );
987 public: void ReverseDirection
988 (
989 );
993 public: void SaveCurves
994 (
995 const NXString & groupName
996 );
1001 (
1002 const char * groupName
1003 );
1009 (
1010 const NXString & groupName ,
1011 const NXString & fileName ,
1012 int* numSectionCurves
1013 );
1019 (
1020 const char * groupName ,
1021 const char * fileName ,
1022 int* numSectionCurves
1023 );
1027 public: bool IsDefaultPlane
1028 (
1029 );
1038 public: void SetDefaultPlane
1039 (
1040 );
1049 public: void SetDefaults
1050 (
1051 );
1058 public: void SetOffsetByPoint
1059 (
1060 const NXOpen::Point3d & point
1061 );
1069 public: void SetPlane
1070 (
1071 const NXOpen::Point3d & axisOrigin ,
1072 const NXOpen::Point3d & origin ,
1073 const NXOpen::Matrix3x3 & rotationMatrix
1074 );
1083 (
1084 NXOpen::Plane * planeTag
1085 );
1095 (
1096 );
1101 (
1102 );
1108 (
1109 bool showCurves
1110 );
1116 (
1117 );
1131 (
1132 );
1146 (
1147 bool delayUpdate
1148 );
1156 public: double BoxExtentMargin
1157 (
1158 );
1167 (
1168 double margin
1169 );
1177 public: void UpdateBoxExtents
1178 (
1179 );
1185 (
1186 );
1195 (
1196 std::vector<NXOpen::Point3d> & planeOrigins ,
1197 std::vector<NXOpen::Matrix3x3> & planeMetrices
1198 );
1208 public: void GetPlaneGeometry
1209 (
1211 NXOpen::Display::DynamicSectionTypes::ActivePlane planeType ,
1212 NXOpen::Point3d* origin ,
1213 NXOpen::Matrix3x3* matrix
1214 );
1224 (
1225 const std::vector<NXOpen::Point3d> & planeOrigins ,
1226 const std::vector<NXOpen::Matrix3x3> & planeMetrices
1227 );
1236 public: void GetBoundingBox
1237 (
1238 NXOpen::Point3d* minCornerPt ,
1239 NXOpen::Point3d* maxCornerPt
1240 );
1254 public: void SetBoundingBox
1255 (
1256 const NXOpen::Point3d & minCornerPt ,
1257 const NXOpen::Point3d & maxCornerPt
1258 );
1259 };
1260 }
1261}
1262#ifdef _MSC_VER
1263#pragma warning(pop)
1264#endif
1265#ifdef __GNUC__
1266#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
1267#pragma GCC diagnostic warning "-Wdeprecated-declarations"
1268#endif
1269#endif
1270#undef EXPORTLIBRARY