NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Drawings_DraftingView.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口到JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Drawings_DraftingView.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/Drawings_FlatPatternObject.hxx>
22#include <NXOpen/IFitTo.hxx>
23#include <NXOpen/INXObject.hxx>
24#include <NXOpen/View.hxx>
25#include <NXOpen/ugmath.hxx>
26#include <NXOpen/libnxopencpp_drawings_exports.hxx>
27#ifdef _MSC_VER
28#pragma warning(push)
29#pragma warning(disable:4996)
30#endif
31#ifdef __GNUC__
32#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
33#endif
34namespace NXOpen
35{
36 namespace Drawings
37 {
38 class DraftingView;
39 }
40 namespace Assemblies
41 {
42 class Component;
43 }
44 class BasePart;
45 namespace Drawings
46 {
48 }
49 namespace Drawings
50 {
52 }
53 namespace Drawings
54 {
56 }
57 namespace Drawings
58 {
59 class ViewStyle;
60 }
61 class IFitTo;
62 class INXObject;
63 class NXObject;
64 class Sketch;
65 class View;
66 namespace Drawings
67 {
68 class _DraftingViewBuilder;
69 class DraftingViewImpl;
73 class NXOPENCPP_DRAWINGSEXPORT DraftingView : public NXOpen::View, public virtual NXOpen::IFitTo
74 {
75 private: DraftingViewImpl * m_draftingview_impl;
76 private: friend class _DraftingViewBuilder;
77 protected: DraftingView();
78 public: ~DraftingView();
82 public: void Update
83 (
84 );
88 public: bool IsOutOfDate
89 (
90 );
95 (
96 );
101 (
102 const NXOpen::Point3d & drawingReferencePoint
103 );
109 public: void MoveView
110 (
111 const NXOpen::Point3d & drawingReferencePoint
112 );
116 public: void HideComponents
117 (
118 const std::vector<NXOpen::NXObject *> & components
119 );
123 public: void ShowComponents
124 (
125 const std::vector<NXOpen::NXObject *> & components
126 );
131 (
132 );
137 (
138 );
142 public: void Commit
143 (
144 );
148 public: void GetToolMarkers
149 (
150 std::vector<NXOpen::Drawings::FlatPatternObject *> & markers
151 );
155 public: void RestoreViewBorder
156 (
157 );
162 (
163 );
167 public: bool IsBroken
168 (
169 );
173 public: bool IsSlave
174 (
175 );
179 public: bool IsDecoration
180 (
181 );
186 (
187 );
192 (
193 );
198 (
199 std::vector<NXOpen::Drawings::DraftingView *> & views
200 );
204 public: void HideViewBorder
205 (
206 );
210 public: void ShowViewBorder
211 (
212 );
217 (
218 bool deleteSectionLine
219 );
224 (
225 );
230 (
231 bool updateDependent
232 );
236 public: std::vector<NXOpen::Sketch *> GetDraftingSketches
237 (
238 );
243 (
244 NXOpen::Point3d* minimumPoint ,
245 NXOpen::Point3d* maximumPoint
246 );
259 };
260 }
261}
262#ifdef _MSC_VER
263#pragma warning(pop)
264#endif
265#ifdef __GNUC__
266#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
267#pragma GCC diagnostic warning "-Wdeprecated-declarations"
268#endif
269#endif
270#undef EXPORTLIBRARY