CFx SDK Documentation  2020SP3
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__
DBPOINTCLOUDOBJ_EXPORT
#define DBPOINTCLOUDOBJ_EXPORT
Definition: DbPointCloudObjExports.h:32
OdResult
OdResult
Definition: OdResult.h:29
OdDbPointCloudItem::extents
virtual OdGeExtents3d extents() const =0
OdString
Definition: OdString.h:95
ScanItemIterator::~ScanItemIterator
virtual ~ScanItemIterator()
Definition: DbPointCloudHostPE.h:198
ScanItemIterator::shouldBeLoaded
virtual bool shouldBeLoaded() const =0
OdDbPointCloudExScanItem::hasRGB
virtual bool hasRGB() const =0
OdDbPointCloudItem
Definition: DbPointCloudHostPE.h:48
OdDbPointCloudExProjItem
Definition: DbPointCloudHostPE.h:222
OdDbPointCloudExHostPE
Definition: DbPointCloudHostPE.h:281
OdInt64
Definition: Int64.h:43
OdDbPointCloudExProjItem::hasRGB
virtual OdInt8 hasRGB() const =0
OdDbPointCloudItem::worldDrawPoints
virtual bool worldDrawPoints(const OdDbPointCloud *pEnt, OdGiWorldDraw *pWd) const =0
StringArray.h
OdDbPointCloudExProjItem::getTotalAmountOfScanItems
virtual OdUInt64 getTotalAmountOfScanItems() const =0
OdDbPointCloudExItem::~OdDbPointCloudExItem
virtual ~OdDbPointCloudExItem()
Definition: DbPointCloudHostPE.h:109
OdDbPointCloud
Definition: DbPointCloud.h:43
OdRxObject
Definition: RxObject.h:564
ScanItemIterator::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(ScanItemIterator)
GeExtents3d.h
OdDbPointCloudExScanItemPtr
OdSmartPtr< OdDbPointCloudExScanItem > OdDbPointCloudExScanItemPtr
Definition: DbPointCloudHostPE.h:188
OdDbPointCloudExProjItem::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbPointCloudExProjItem)
OdDbPointCloudExItem::viewportDrawPoints
virtual void viewportDrawPoints(const OdDbPointCloudEx *pEnt, OdGiViewportDraw *pWd) const =0
OdDbPointCloudExScanItem
Definition: DbPointCloudHostPE.h:162
OdArray< OdString >
OdDbPointCloudHostPE::OdDbPointCloudHostPE
OdDbPointCloudHostPE()
Definition: DbPointCloudHostPE.h:260
OdDbPointCloudExProjItem::hasIntensity
virtual OdInt8 hasIntensity() const =0
TD_PackPop.h
OdDbPointCloudDefEx
Definition: DbPointCloudDefEx.h:37
OdUInt32
unsigned int OdUInt32
Definition: OdPlatformSettings.h:783
OdDbPointCloudExScanItem::hasNormals
virtual bool hasNormals() const =0
OdDbPointCloudExProjItemPtr
OdSmartPtr< OdDbPointCloudExProjItem > OdDbPointCloudExProjItemPtr
Definition: DbPointCloudHostPE.h:246
OdDbPointCloudExScanItem::getScanId
virtual OdString getScanId() const =0
OD_T
#define OD_T(x)
Definition: OdPlatformSettings.h:714
OdDbPointCloudExProjItem::getRcsFilePath
virtual OdString getRcsFilePath(const OdString &guid) const =0
ScanItemIterator::getPath
virtual OdString getPath() const =0
OdDbPointCloudExHostPE::loadRcp
virtual OdResult loadRcp(const OdString &strPath, OdDbPointCloudExItemPtr &item)=0
OdDbPointCloudItem::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbPointCloudItem)
OdDbPointCloudExItemPtr
OdSmartPtr< OdDbPointCloudExItem > OdDbPointCloudExItemPtr
Definition: DbPointCloudHostPE.h:156
OdSmartPtr
Definition: SmartPtr.h:58
OdDbPointCloudExProjItem::getTotalRegionsCount
virtual OdUInt32 getTotalRegionsCount() const =0
OdDbPointCloudExProjItem::getTotalScansCount
virtual OdUInt32 getTotalScansCount() const =0
OdDbPointCloudExScanItem::~OdDbPointCloudExScanItem
virtual ~OdDbPointCloudExScanItem()
Definition: DbPointCloudHostPE.h:166
OdDbPointCloudExHostPE::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbPointCloudExHostPE)
OdDbPointCloudEx
Definition: DbPointCloudEx.h:42
OdDbPointCloudExProjItem::getAllRcsFilePaths
virtual void getAllRcsFilePaths(OdStringArray &list) const =0
OdDbPointCloudExHostPE::OdDbPointCloudExHostPE
OdDbPointCloudExHostPE()
Definition: DbPointCloudHostPE.h:285
DbPointCloudObjExports.h
OdDbPointCloudExHostPEPtr
OdSmartPtr< OdDbPointCloudExHostPE > OdDbPointCloudExHostPEPtr
Definition: DbPointCloudHostPE.h:298
OdDbPointCloudItem::viewportDrawPoints
virtual void viewportDrawPoints(const OdDbPointCloud *pEnt, OdGiViewportDraw *pWd) const =0
OdDbPointCloudDef
Definition: DbPointCloudDef.h:46
OdDbPointCloudExProjItem::newScanItemIterator
virtual ScanItemIteratorPtr newScanItemIterator() const =0
OdDbPointCloudHostPE::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbPointCloudHostPE)
OdDbPointCloudExItem
Definition: DbPointCloudHostPE.h:105
OdChar
wchar_t OdChar
Definition: OdPlatformSettings.h:745
OdDbPointCloudExProjItem::~OdDbPointCloudExProjItem
virtual ~OdDbPointCloudExProjItem()
Definition: DbPointCloudHostPE.h:226
OdDbPointCloudExProjItem::hasNormals
virtual OdInt8 hasNormals() const =0
ScanItemIterator::setNotFound
virtual void setNotFound(bool val)=0
OdDbPointCloudHostPEPtr
OdSmartPtr< OdDbPointCloudHostPE > OdDbPointCloudHostPEPtr
Definition: DbPointCloudHostPE.h:271
OdDbPointCloudExProjItem::getRcsRelativeFilePath
virtual OdString getRcsRelativeFilePath(const OdString &guid) const =0
TD_PackPush.h
OdDbPointCloudExScanItem::hasIntensity
virtual bool hasIntensity() const =0
OdInt8
signed char OdInt8
Definition: OdPlatformSettings.h:755
ScanItemIterator::start
virtual void start()=0
ScanItemIterator
Definition: DbPointCloudHostPE.h:194
ScanItemIterator::setItem
virtual void setItem(OdDbPointCloudExScanItemPtr pItem)=0
OdGiWorldDraw
Definition: GiWorldDraw.h:44
ScanItemIterator::step
virtual void step()=0
ScanItemIterator::done
virtual bool done() const =0
ScanItemIterator::getRelativePath
virtual OdString getRelativePath() const =0
OdGeExtents3d
Definition: GeExtents3d.h:45
ScanItemIterator::notFound
virtual bool notFound() const =0
OdDbPointCloudItemPtr
OdSmartPtr< OdDbPointCloudItem > OdDbPointCloudItemPtr
Definition: DbPointCloudHostPE.h:97
OdDbPointCloudExItem::pointsCount
virtual OdUInt64 pointsCount() const =0
OdDbPointCloudExScanItem::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbPointCloudExScanItem)
OdDbPointCloudExItem::ODRX_DECLARE_MEMBERS
ODRX_DECLARE_MEMBERS(OdDbPointCloudExItem)
OdDbPointCloudExProjItem::getAllRcsRelativeFilePaths
virtual void getAllRcsRelativeFilePaths(OdStringArray &list) const =0
ScanItemIteratorPtr
OdSmartPtr< ScanItemIterator > ScanItemIteratorPtr
Definition: DbPointCloudHostPE.h:216
OdDbPointCloudExHostPE::loadRcs
virtual OdResult loadRcs(const OdString &strPath, OdDbPointCloudExItemPtr &item)=0
OdDbPointCloudItem::pointsCount
virtual OdInt64 pointsCount() const =0
ScanItemIterator::isLoaded
virtual bool isLoaded() const =0
OdDbPointCloudHostPE::load
virtual OdResult load(const OdString &strPath, OdDbPointCloudItemPtr &item)=0
OdDbPointCloudExItem::extents
virtual OdGeExtents3d extents() const =0
OdGiViewportDraw
Definition: GiViewportDraw.h:50
OdDbPointCloudHostPE
Definition: DbPointCloudHostPE.h:256
OdDbPointCloudExItem::worldDrawPoints
virtual bool worldDrawPoints(const OdDbPointCloudEx *pEnt, OdGiWorldDraw *pWd) const =0
OdUInt64
Definition: Int64.h:137
OdDbPointCloudExProjItem::getCoordinateSystemName
virtual OdString getCoordinateSystemName() const =0