NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
CGMBuilder.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口到JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// CGMBuilder.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/CDF.hxx>
22#include <NXOpen/Builder.hxx>
23#include <NXOpen/PlotSourceBuilder.hxx>
24#include <NXOpen/WidthDefinition.hxx>
25#include <NXOpen/libnxopencpp_exports.hxx>
26#ifdef _MSC_VER
27#pragma warning(push)
28#pragma warning(disable:4996)
29#endif
30#ifdef __GNUC__
31#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
32#endif
33namespace NXOpen
34{
35 class CGMBuilder;
36 class Builder;
37 class CDF;
39 class WidthDefinition;
40 class _CGMBuilderBuilder;
41 class CGMBuilderImpl;
104 class NXOPENCPPEXPORT CGMBuilder : public NXOpen::Builder
105 {
113
119
129
137
144
150
157
158 public: enum Vdc
159 {
162 };
163
171
178 private: CGMBuilderImpl * m_cgmbuilder_impl;
179 private: friend class _CGMBuilderBuilder;
180 protected: CGMBuilder();
181 public: ~CGMBuilder();
186 (
187 );
191 public: void SetAction
192 (
194 );
198 public: std::vector<NXString> GetDatasetNames
199 (
200 );
204 public: void SetDatasetNames
205 (
206 std::vector<NXString> & datasetNames
207 );
212 (
213 );
217 public: void SetMultiple
218 (
220 );
225 (
226 );
230 public: void SetColors
231 (
233 );
238 (
239 );
243 public: void SetWidths
244 (
246 );
251 (
252 );
256 public: void SetSize
257 (
259 );
263 public: double Scale
264 (
265 );
269 public: void SetScale
270 (
271 double scale
272 );
277 (
278 );
282 public: void SetUnits
283 (
285 );
289 public: double XDimension
290 (
291 );
295 public: void SetXDimension
296 (
297 double xDimension
298 );
302 public: double YDimension
303 (
304 );
308 public: void SetYDimension
309 (
310 double yDimension
311 );
316 (
317 );
321 public: void SetOutputText
322 (
324 );
329 (
330 );
334 public: void SetVdcCoordinates
335 (
337 );
341 public: bool RasterImages
342 (
343 );
347 public: void SetRasterImages
348 (
349 bool rasterImages
350 );
354 public: bool ShadedGeometry
355 (
356 );
360 public: void SetShadedGeometry
361 (
362 bool shadedGeometry
363 );
368 (
369 );
376 (
377 bool customSymbolsInForeground
378 );
383 (
384 );
389 (
391 );
396 (
397 );
401 public: std::vector<NXString> GetFilenames
402 (
403 );
407 public: void SetFilenames
408 (
409 std::vector<NXString> & filenames
410 );
417 (
418 );
425 (
426 );
433 (
434 );
441 (
442 );
447 (
448 );
452 public: void SetRelation
453 (
455 );
460 (
461 );
465 public: void SetDatasetType
466 (
467 const NXString & datasetType
468 );
473 (
474 const char * datasetType
475 );
480 (
481 );
486 (
487 const NXString & namedReferenceType
488 );
493 (
494 const char * namedReferenceType
495 );
499 public: bool DeleteDatasets
500 (
501 );
505 public: void SetDeleteDatasets
506 (
507 bool deleteDatasets
508 );
512 public: bool CreateNewFromUi
513 (
514 );
519 (
520 bool fromUI
521 );
522 };
523}
524#ifdef _MSC_VER
525#pragma warning(pop)
526#endif
527#ifdef __GNUC__
528#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
529#pragma GCC diagnostic warning "-Wdeprecated-declarations"
530#endif
531#endif
532#undef EXPORTLIBRARY