NX Open C++ 参考指南 2406 v1.1
载入中...
搜索中...
未找到
Diagramming_ViewOperations.hxx
1//--------------------------------------------------------------------------
2// Copyright 2024 Siemens
3//--------------------------------------------------------------------------
4// C++接口至JA API的头文件
5//--------------------------------------------------------------------------
6//
7// 源文件:
8// Diagramming_ViewOperations.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/Diagramming_Sheet.hxx>
22#include <NXOpen/Diagramming_SheetElement.hxx>
23#include <NXOpen/TaggedObject.hxx>
24#include <NXOpen/libnxopencpp_diagramming_exports.hxx>
25#ifdef _MSC_VER
26#pragma warning(push)
27#pragma warning(disable:4996)
28#endif
29#ifdef __GNUC__
30#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
31#endif
32namespace NXOpen
33{
34 namespace Diagramming
35 {
36 class ViewOperations;
37 }
38 namespace Diagramming
39 {
40 class SheetManager;
41 }
42 namespace Diagramming
43 {
44 class Sheet;
45 }
46 namespace Diagramming
47 {
48 class SheetElement;
49 }
50 namespace Diagramming
51 {
52 class ViewOperationsImpl;
58 class NXOPENCPP_DIAGRAMMINGEXPORT ViewOperations
59 {
60 private: ViewOperationsImpl * m_viewoperations_impl;
61 private: NXOpen::Diagramming::SheetManager* m_owner;
65 public:
67 tag_t Tag() const;
68 public: ~ViewOperations();
72 public: void Fit
73 (
75 );
79 public: void FitToElements
80 (
82 const std::vector<NXOpen::Diagramming::SheetElement *> & elements
83 );
87 public: void FitToSelection
88 (
90 );
94 public: void SetViewport
95 (
97 double x ,
98 double y ,
99 double width ,
100 double height
101 );
105 public: void Scale
106 (
108 double scale
109 );
110 }; //lint !e1712 default constructor not defined for class
111 }
112}
113#ifdef _MSC_VER
114#pragma warning(pop)
115#endif
116#ifdef __GNUC__
117#ifndef NX_NO_GCC_DEPRECATION_WARNINGS
118#pragma GCC diagnostic warning "-Wdeprecated-declarations"
119#endif
120#endif
121#undef EXPORTLIBRARY