IPointCloud.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------------------+
2 |
3 | Supplied under applicable software license agreement.
4 |
5 | Copyright (c) 2018 Bentley Systems, Incorporated. All rights reserved.
6 |
7 +---------------------------------------------------------------------------------------*/
8 #pragma once
9 
11 
12 DGNPLATFORM_TYPEDEFS(PointCloudProperties)
13 DGNPLATFORM_TYPEDEFS(PointCloudClipProperties)
14 
15 
17 
18 
19 
24 
25 /*=================================================================================**/
31 {
32 public:
35  DGNPLATFORM_EXPORT static PointCloudPropertiesPtr Create();
36 
40  DGNPLATFORM_EXPORT static PointCloudPropertiesPtr Create(ElementRefP eRef);
41 
46  DGNPLATFORM_EXPORT static PointCloudPropertiesPtr Create(DgnDocumentMonikerR moniker, DgnModelRefCR modelRef);
47 
50  DGNPLATFORM_EXPORT TransformCR GetTransform () const;
51 
54  DGNPLATFORM_EXPORT DgnDocumentMonikerCR GetFileMoniker() const;
55 
58  DGNPLATFORM_EXPORT void SetFileMoniker(DgnDocumentMonikerR moniker);
59 
62  DGNPLATFORM_EXPORT bool GetLocate () const;
63 
66  DGNPLATFORM_EXPORT void SetLocate (bool isOn);
67 
70  DGNPLATFORM_EXPORT bool GetLockedGeoReference () const;
71 
74  DGNPLATFORM_EXPORT void SetLockedGeoReference (bool isLocked);
75 
78  DGNPLATFORM_EXPORT WStringCR GetDescription () const;
79 
82  DGNPLATFORM_EXPORT void SetDescription (WStringCR description);
83 
87  DGNPLATFORM_EXPORT bool GetViewState(int viewNumber) const;
88 
92  DGNPLATFORM_EXPORT void SetViewState(int viewNumber, bool state);
93 
96  DGNPLATFORM_EXPORT float GetViewDensity() const;
97 
100  DGNPLATFORM_EXPORT void SetViewDensity(float density);
101 
104  DGNPLATFORM_EXPORT double GetUorPerMeter() const;
105 
108  DGNPLATFORM_EXPORT void SetUorPerMeter(double val);
109 
112  DGNPLATFORM_EXPORT DPoint3dCR GetGlobalOrigin() const;
113 
116  DGNPLATFORM_EXPORT void SetGlobalOrigin(DPoint3dCR val);
117 };
118 
119 /*---------------------------------------------------------------------------------**/
125 {
126 private:
127  virtual void MakeClassAbstract() = 0;
128 public:
129 public:
133  DGNPLATFORM_EXPORT PointCloudPropertiesPtr GetPointCloudProperties(ElementHandleCR eh) const;
134 
138  DGNPLATFORM_EXPORT PointCloudClipPropertiesPtr GetPointCloudClipProperties(ElementHandleCR eh) const;
139 
140 
141 }; // IPointCloudQuery
142 
143 /*---------------------------------------------------------------------------------**/
149 {
150 private:
151  virtual void MakeClassAbstract() = 0;
152 public:
153 public:
158  DGNPLATFORM_EXPORT StatusInt SetPointCloudProperties(EditElementHandleR eeh, PointCloudPropertiesCR props);
159 
164  DGNPLATFORM_EXPORT StatusInt SetPointCloudClipProperties(EditElementHandleR eeh, PointCloudClipPropertiesCR props);
165 
166 
167 }; // IPointCloudEdit
168 
170 
171 
172 
173 
175 
struct DgnPlatform::DgnDocumentMoniker const & DgnDocumentMonikerCR
Definition: DgnPlatform.h:197
#define END_BENTLEY_DGNPLATFORM_NAMESPACE
Definition: DgnPlatformBaseType.r.h:69
struct Bentley::WString const & WStringCR
Definition: Bentley.h:239
Interface to edit persistent information about a point cloud element.
Definition: IPointCloud.h:148
A writeable "handle" to an MSElement.
Definition: ElementHandle.h:470
Provides methods for inspecting Point Cloud properties.
Definition: IPointCloud.h:30
#define DGNPLATFORM_EXPORT
Definition: DgnPlatform/ExportMacros.h:58
struct DgnPlatform::DgnModelRef const & DgnModelRefCR
Definition: DgnPlatform.h:223
Interface to query persistent information about a point cloud element.
Definition: IPointCloud.h:124
Provides methods for inspecting Point Cloud clip properties.
Definition: PointCloudClipHandler.h:75
#define CLRPUBLIC
Definition: DgnPlatform/ExportMacros.h:12
A DgnDocumentMoniker identifies a file.
Definition: DgnDocumentManager.h:181
#define DGNPLATFORM_TYPEDEFS(_name_)
Definition: DgnPlatform.h:73
A shared pointer template for reference-counted objects.
Definition: RefCounted.h:119
Interface that provides direct and efficient access to element data.
Definition: ElementRefBase.h:120
#define BEGIN_BENTLEY_DGNPLATFORM_NAMESPACE
Definition: DgnPlatformBaseType.r.h:68
struct Transform const & TransformCR
Definition: msgeomstructs_typedefs.h:134
int StatusInt
Definition: Bentley.h:222
Concrete class that can be used to implement the reference-counting pattern.
Definition: RefCounted.h:109
struct DPoint3d const & DPoint3dCR
Definition: msgeomstructs_typedefs.h:79
struct DgnPlatform::ElementHandle const & ElementHandleCR
Definition: DgnPlatform.h:260

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.