CFx SDK Documentation  2022 SP0
DbPointCloudHostPE.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2017, Open Design Alliance (the "Alliance").
3 // All rights reserved.
4 //
5 // This software and its documentation and related materials are owned by
6 // the Alliance. The software may only be incorporated into application
7 // programs owned by members of the Alliance, subject to a signed
8 // Membership Agreement and Supplemental Software License Agreement with the
9 // Alliance. The structure and organization of this software are the valuable
10 // trade secrets of the Alliance and its suppliers. The software is also
11 // protected by copyright law and international treaty provisions. Application
12 // programs incorporating this software must include the following statement
13 // with their copyright notices:
14 //
15 // This application incorporates Teigha(R) software pursuant to a license
16 // agreement with Open Design Alliance.
17 // Teigha(R) Copyright (C) 2002-2017 by Open Design Alliance.
18 // All rights reserved.
19 //
20 // By use of this software, its documentation or related materials, you
21 // acknowledge and accept the above terms.
23 
24 
25 #ifndef __OD_DB_POINCLOUD_HOST__
26 #define __OD_DB_POINCLOUD_HOST__
27 
28 #include "DbPointCloudObjExports.h"
29 #include "Ge/GeExtents3d.h"
30 
31 class OdDbPointCloud;
32 class OdDbPointCloudDef;
33 class OdGiWorldDraw;
34 class OdGiViewportDraw;
35 class OdDbPointCloudEx;
37 
38 #include "TD_PackPush.h"
39 
40 #include "StringArray.h"
41 
48 {
49 public:
51 
55  virtual OdGeExtents3d extents() const = 0;
56 
60  virtual OdInt64 pointsCount() const = 0;
61 
62 
80  virtual bool worldDrawPoints(const OdDbPointCloud* pEnt, OdGiWorldDraw* pWd) const = 0;
81 
93  virtual void viewportDrawPoints(const OdDbPointCloud* pEnt, OdGiViewportDraw* pWd) const = 0;
94 
95 };
96 
98 
105 {
106 public:
108 
110 
114  virtual OdGeExtents3d extents() const = 0;
115 
119  virtual OdUInt64 pointsCount() const = 0;
120 
121 
139  virtual bool worldDrawPoints(const OdDbPointCloudEx* pEnt, OdGiWorldDraw* pWd) const = 0;
140 
153  virtual void viewportDrawPoints(const OdDbPointCloudEx* pEnt, OdGiViewportDraw* pWd) const = 0;
154 };
155 
157 
162 {
163 public:
165 
167 
171  virtual bool hasRGB() const = 0;
172 
176  virtual bool hasNormals() const = 0;
177 
181  virtual bool hasIntensity() const = 0;
182 
185  virtual OdString getScanId() const = 0;
186 };
187 
189 
194 {
195 public:
197 
198  virtual ~ScanItemIterator(){}
199 
200  virtual void start() = 0;
201  virtual void step() = 0;
202  virtual bool done() const = 0;
203 
204  virtual bool isLoaded() const = 0;
205  virtual bool shouldBeLoaded() const = 0;
206  virtual bool notFound() const = 0;
207 
208  virtual void setNotFound(bool val) = 0;
209 
210  virtual OdString getPath() const = 0;
211  virtual OdString getRelativePath() const = 0;
212 
213  virtual void setItem(OdDbPointCloudExScanItemPtr pItem) = 0;
214 };
215 
217 
222 {
223 public:
225 
227 
228  virtual void getAllRcsFilePaths( OdStringArray &list ) const = 0;
229  virtual void getAllRcsRelativeFilePaths( OdStringArray &list ) const = 0;
230 
231  virtual OdUInt64 getTotalAmountOfScanItems() const = 0;
233 
234  virtual OdUInt32 getTotalRegionsCount() const = 0;
235  virtual OdUInt32 getTotalScansCount() const = 0;
236  virtual OdString getCoordinateSystemName() const = 0;
237 
238  virtual OdInt8 hasRGB() const = 0;
239  virtual OdInt8 hasNormals() const = 0;
240  virtual OdInt8 hasIntensity() const = 0;
241 
242  virtual OdString getRcsFilePath(const OdString &guid) const = 0;
243  virtual OdString getRcsRelativeFilePath(const OdString &guid) const = 0;
244 };
245 
247 
256 {
257 public:
259 
261 
268  virtual OdResult load(const OdString& strPath, OdDbPointCloudItemPtr& item) = 0;
269 };
270 
272 
281 {
282 public:
284 
286 
293  virtual OdResult loadRcs(const OdString& strPath, OdDbPointCloudExItemPtr& item) = 0;
294 
295  virtual OdResult loadRcp(const OdString& strPath, OdDbPointCloudExItemPtr& item) = 0;
296 };
297 
299 
300 static const OdChar* szPointCloudHostModuleName = OD_T("PointCloudHost");
301 
302 #include "TD_PackPop.h"
303 
304 #endif // __OD_DB_POINCLOUD_HOST__
OdSmartPtr< OdDbPointCloudExHostPE > OdDbPointCloudExHostPEPtr
OdSmartPtr< OdDbPointCloudItem > OdDbPointCloudItemPtr
OdSmartPtr< OdDbPointCloudExProjItem > OdDbPointCloudExProjItemPtr
OdSmartPtr< OdDbPointCloudExItem > OdDbPointCloudExItemPtr
OdSmartPtr< OdDbPointCloudHostPE > OdDbPointCloudHostPEPtr
OdSmartPtr< ScanItemIterator > ScanItemIteratorPtr
OdSmartPtr< OdDbPointCloudExScanItem > OdDbPointCloudExScanItemPtr
#define DBPOINTCLOUDOBJ_EXPORT
#define OD_T(x)
unsigned int OdUInt32
signed char OdInt8
wchar_t OdChar
OdResult
Definition: OdResult.h:29
virtual OdResult loadRcs(const OdString &strPath, OdDbPointCloudExItemPtr &item)=0
virtual OdResult loadRcp(const OdString &strPath, OdDbPointCloudExItemPtr &item)=0
ODRX_DECLARE_MEMBERS(OdDbPointCloudExHostPE)
virtual OdUInt64 pointsCount() const =0
virtual OdGeExtents3d extents() const =0
virtual bool worldDrawPoints(const OdDbPointCloudEx *pEnt, OdGiWorldDraw *pWd) const =0
ODRX_DECLARE_MEMBERS(OdDbPointCloudExItem)
virtual void viewportDrawPoints(const OdDbPointCloudEx *pEnt, OdGiViewportDraw *pWd) const =0
virtual OdString getRcsRelativeFilePath(const OdString &guid) const =0
virtual OdString getCoordinateSystemName() const =0
virtual OdInt8 hasIntensity() const =0
virtual OdString getRcsFilePath(const OdString &guid) const =0
virtual void getAllRcsFilePaths(OdStringArray &list) const =0
virtual OdUInt32 getTotalScansCount() const =0
ODRX_DECLARE_MEMBERS(OdDbPointCloudExProjItem)
virtual OdInt8 hasNormals() const =0
virtual OdUInt64 getTotalAmountOfScanItems() const =0
virtual OdInt8 hasRGB() const =0
virtual void getAllRcsRelativeFilePaths(OdStringArray &list) const =0
virtual OdUInt32 getTotalRegionsCount() const =0
virtual ScanItemIteratorPtr newScanItemIterator() const =0
virtual bool hasRGB() const =0
virtual OdString getScanId() const =0
ODRX_DECLARE_MEMBERS(OdDbPointCloudExScanItem)
virtual bool hasNormals() const =0
virtual bool hasIntensity() const =0
virtual OdResult load(const OdString &strPath, OdDbPointCloudItemPtr &item)=0
ODRX_DECLARE_MEMBERS(OdDbPointCloudHostPE)
ODRX_DECLARE_MEMBERS(OdDbPointCloudItem)
virtual OdInt64 pointsCount() const =0
virtual OdGeExtents3d extents() const =0
virtual void viewportDrawPoints(const OdDbPointCloud *pEnt, OdGiViewportDraw *pWd) const =0
virtual bool worldDrawPoints(const OdDbPointCloud *pEnt, OdGiWorldDraw *pWd) const =0
Definition: Int64.h:43
virtual bool shouldBeLoaded() const =0
virtual void start()=0
virtual bool isLoaded() const =0
virtual bool done() const =0
virtual bool notFound() const =0
virtual void setNotFound(bool val)=0
virtual OdString getPath() const =0
virtual void setItem(OdDbPointCloudExScanItemPtr pItem)=0
virtual void step()=0
ODRX_DECLARE_MEMBERS(ScanItemIterator)
virtual OdString getRelativePath() const =0