CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbPointCloudDef.h
Go to the documentation of this file.
1
2// Copyright (C) 2002-2022, 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 Open Design Alliance software pursuant to a license
16// agreement with Open Design Alliance.
17// Open Design Alliance Copyright (C) 2002-2022 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#ifndef _ODDBPOINTCLOUDDEF_INCLUDED_
25#define _ODDBPOINTCLOUDDEF_INCLUDED_ /* { Secret} */
26
28#include "TD_PackPush.h"
29
30#include "DbObject.h"
31
46{
47public:
48 //DOM-IGNORE-BEGIN
50 //DOM-IGNORE-END
51
56
57 // Properties
58
66
74
81 OdString fileType(void) const;
82
83
91
92
101
102
106 bool isLoaded() const;
107
108
112 OdResult load(bool bModifyDatabase);
113
117 void unload(bool bModifyDatabase);
118
124 int entityCount(bool *pbLocked) const;
125
130
134 double defaultHeight() const;
135
139 double defaultLength() const;
140
144 double defaultWidth() const;
145
146
155
161 void setExtents(const OdGeExtents3d &exts);
162
163 // File IO
164
180
192 virtual void dwgOutFields(OdDbDwgFiler *pFiler) const;
193
209
221 virtual void dxfOutFields(OdDbDxfFiler *pFiler) const;
222
223 static int classVersion();
224
225 // Helper functions to access Point Cloud Definition dictionary
226
233
240
241 //DOM-IGNORE-BEGIN
242#if 0
243 OdResult createThumbnailBitmap(struct tagBITMAPINFO * &,int,int) const;
244 bool getPointCloudFileVersion(int &,int &) const;
245 bool hasProperty(const OdString&,bool &) const;
246 bool saveToVersion(const OdString&,int);
247#endif
248 //DOM-IGNORE-END
249
250 // OdDbObject overridden methods
251
273 virtual OdResult subErase(bool erasing) ODRX_OVERRIDE;
274
289 virtual void subClose() ODRX_OVERRIDE;
290
309 virtual void subHandOverTo(OdDbObject* pNewObject) ODRX_OVERRIDE;
310
311 virtual OdDbObjectPtr subWblockClone(OdDbIdMapping& idMap, OdDbObject* owner, bool bPrimary) const ODRX_OVERRIDE;
312};
313
318
319
328{
329public:
330 //DOM-IGNORE-BEGIN
332 //DOM-IGNORE-END
333
338
339 static int classVersion();
340
341 // File IO
342
358
370 virtual void dwgOutFields(OdDbDwgFiler* pFiler) const;
371
387
399 virtual void dxfOutFields(OdDbDxfFiler* pFiler) const;
400
401 // Notifications
402 //DOM-IGNORE-BEGIN
403 virtual void erased(OdDbObject const * , bool) ; // not implemented
404 //DOM-IGNORE-END
405
411 virtual void modified(OdDbObject const *obj) ;
412
418 static bool isEnabled();
419
425 static void setEnable(bool val);
426private:
427 static bool m_bEnabled;
428};
430
431
432#include "TD_PackPop.h"
433
434#endif
OdSmartPtr< OdDbPointCloudDefReactor > OdDbPointCloudDefReactorPtr
#define DBPOINTCLOUDOBJ_EXPORT
#define ODRX_OVERRIDE
OdResult
Definition: OdResult.h:29
OdString sourceFileName() const
OdResult load(bool bModifyDatabase)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
OdUInt64 totalPointsCount() const
OdResult setSourceFileName(const OdString &)
bool isLoaded() const
void unload(bool bModifyDatabase)
static OdDbObjectId pointCloudDictionary(const OdDbDatabase &Db)
static int classVersion()
double defaultHeight() const
virtual OdResult subErase(bool erasing) ODRX_OVERRIDE
OdResult getNativeCloudExtent(OdGeExtents3d &exts) const
OdString fileType(void) const
OdString activeFileName() const
ODDB_DECLARE_MEMBERS(OdDbPointCloudDef)
OdResult setActiveFileName(const OdString &name)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
double defaultWidth() const
virtual void subClose() ODRX_OVERRIDE
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
void setExtents(const OdGeExtents3d &exts)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
double defaultLength() const
int entityCount(bool *pbLocked) const
static OdDbObjectId createPointCloudDictionary(OdDbDatabase &Db)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
static void setEnable(bool val)
virtual void modified(OdDbObject const *obj)
virtual void erased(OdDbObject const *, bool)
ODDB_DECLARE_MEMBERS(OdDbPointCloudDefReactor)
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
GLuint const GLchar * name
Definition: gles2_ext.h:265