NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Display_GridBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口的JA API头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Display_GridBuilder.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_Grid.hxx>
22#include <NXOpen/Builder.hxx>
23#include <NXOpen/libnxopencpp_display_exports.hxx>
24#ifdef _MSC_VER
25#pragma warning(push)
26#pragma warning(disable:4996)
27#endif
28#ifdef __GNUC__
29#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
30#endif
31namespace NXOpen
32{
33 namespace Display
34 {
35 class GridBuilder;
36 }
37 class Builder;
38 namespace Display
39 {
40 class Grid;
41 }
42 class NXColor;
43 namespace Display
44 {
45 class _GridBuilderBuilder;
46 class GridBuilderImpl;
51 class NXOPENCPP_DISPLAYEXPORT GridBuilder : public NXOpen::Builder
52 {
69
86 private: GridBuilderImpl * m_gridbuilder_impl;
87 private: friend class _GridBuilderBuilder;
88 protected: GridBuilder();
89 public: ~GridBuilder();
93 public: double MajorLineSpacing
94 (
95 );
100 (
101 double majorLineSpacing
102 );
107 (
108 );
113 (
114 int minorLinesPerMajor
115 );
120 (
121 );
126 (
127 int snapPointsPerMinor
128 );
133 (
134 );
138 public: void SetLineColor
139 (
140 NXOpen::NXColor * lineColor
141 );
146 (
147 );
151 public: void SetMajorLineStyle
152 (
154 );
159 (
160 );
165 (
167 );
172 (
173 );
177 public: void SetMinorLineStyle
178 (
180 );
185 (
186 );
191 (
193 );
197 public: bool Show
198 (
199 );
203 public: void SetShow
204 (
205 bool show
206 );
210 public: bool ShowOnTop
211 (
212 );
216 public: void SetShowOnTop
217 (
218 bool showOnTop
219 );
223 public: bool ShowMajorLines
224 (
225 );
229 public: void SetShowMajorLines
230 (
231 bool showMajorLines
232 );
236 public: bool SnapToGrid
237 (
238 );
242 public: void SetSnapToGrid
243 (
244 bool snapToGrid
245 );
250 public: void InheritSettings
251 (
253 );
254 };
255 }
256}
257#ifdef _MSC_VER
258#pragma warning(pop)
259#endif
260#ifdef __GNUC__
261#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
262#pragma GCC diagnostic warning "-Wdeprecated-declarations"
263#endif
264#endif
265#undef EXPORTLIBRARY