NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Document_SelectContextObject.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口到JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Document_SelectContextObject.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/CaeObjectType.hxx>
22#include <NXOpen/InferSnapType.hxx>
23#include <NXOpen/GeometricUtilities_IComponentBuilder.hxx>
24#include <NXOpen/TaggedObject.hxx>
25#include <NXOpen/SelectObject.hxx>
26#include <NXOpen/ugmath.hxx>
27#include <NXOpen/libdocumentopencpp_exports.hxx>
28#ifdef _MSC_VER
29#pragma warning(push)
30#pragma warning(disable:4996)
31#endif
32#ifdef __GNUC__
33#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
34#endif
35namespace NXOpen
36{
37 namespace Document
38 {
40 }
41 namespace Document
42 {
43 class ContextObject;
44 }
45 namespace GeometricUtilities
46 {
48 }
49 class View;
50 namespace Document
51 {
52 class _SelectContextObjectBuilder;
53 class SelectContextObjectImpl;
57 class DOCUMENTOPENCPPEXPORT SelectContextObject : public NXOpen::TaggedObject, public virtual NXOpen::GeometricUtilities::IComponentBuilder
58 {
59 private: SelectContextObjectImpl * m_selectcontextobject_impl;
60 private: friend class _SelectContextObjectBuilder;
61 protected: SelectContextObject();
62 public: ~SelectContextObject();
66 public: void SetValue
67 (
69 );
74 (
75 );
79 public: void SetValue
80 (
82 NXOpen::View * view ,
83 const NXOpen::Point3d & point
84 );
88 public: void GetValue
89 (
91 NXOpen::View ** view ,
92 NXOpen::Point3d* point
93 );
97 public: void SetValue
98 (
101 NXOpen::View * view1 ,
102 const NXOpen::Point3d & point1 ,
104 NXOpen::View * view2 ,
105 const NXOpen::Point3d & point2
106 );
110 public: void GetValue
111 (
113 NXOpen::Document::ContextObject ** selection1 ,
114 NXOpen::View ** view1 ,
115 NXOpen::Point3d* point1 ,
116 NXOpen::Document::ContextObject ** selection2 ,
117 NXOpen::View ** view2 ,
118 NXOpen::Point3d* point2
119 );
124 public: NX_DEPRECATED("在NX10.0.0中已过时。 请使用NXOpen::SelectObject::SetValue的其他版本。") void SetValue
125 (
126 NXOpen::Document::ContextObject * selection ,
127 NXOpen::CaeObjectType::CaeSubType caeSubType ,
128 int caeSubId
129 );
135 public: NX_DEPRECATED("在NX10.0.0中已过时。 请使用NXOpen::SelectObject::GetValue的其他版本。") NXOpen::Document::ContextObject * GetValue
136 (
137 NXOpen::CaeObjectType::CaeSubType* caeSubType ,
138 int* caeSubId
139 );
144 public: virtual bool Validate
145 (
146 );
147 };
148 }
149}
150#ifdef _MSC_VER
151#pragma warning(pop)
152#endif
153#ifdef __GNUC__
154#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
155#pragma GCC diagnostic warning "-Wdeprecated-declarations"
156#endif
157#endif
158#undef EXPORTLIBRARY