CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbPointCloudDefEx.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 _ODDBPOINTCLOUDDEFEX_INCLUDED_
25#define _ODDBPOINTCLOUDDEFEX_INCLUDED_
26
27
29#include "StringArray.h"
30#include "TD_PackPush.h"
31
32#include "DbObject.h"
33
43{
44public:
45//DOM-IGNORE-BEGIN
47//DOM-IGNORE-END
48
53 {
54 kNone = -1, // No scan in the point cloud has the property.
55 kSome = 0, // Some scans in the point cloud have the property, but not all of them.
56 kAll = 1 // All scans in the point cloud have the property.
57 };
58
63 {
64 kColor = 1, // The Color property.
65 kIntensity = 2, // The Intensity property.
66 kClassification = 3, // The Classification property.
67 kNormal = 4, // The Normal property.
68 kSegmentation = 5, // The Segmentation property.
69 kGeoGraphic = 6 // The Geo Graphic property.
70 };
71
76
88
100
110 const OdChar * activeFileName() const;
111
120 OdResult setActiveFileName( const OdChar * pPathName);
121
131 const OdChar * fileType() const;
132
133 // Helper functions to access Point Cloud Ex Definition dictionary
134
144
154
165
172 bool isLoaded() const;
173
181
185 void unload();
186
196 int entityCount(bool *pbLocked) const;
197
205
212 double defaultHeight() const;
213
220 double defaultLength() const;
221
228 double defaultWidth() const;
229
238
246
254
262
270 OdString getRcsFilePath( const OdString &guid) const;
271
281
292
297 OdResult createThumbnailBitmap( BITMAPINFO*& pBmpInfo, int width, int height ) const;
298
299 // File IO
300
310
317 virtual void dwgOutFields( OdDbDwgFiler* pFiler ) const;
318
328
335 virtual void dxfOutFields( OdDbDxfFiler* pFiler ) const;
336
343 static int classVersion();
344
345};
346
351
365{
366public:
367//DOM-IGNORE-BEGIN
369//DOM-IGNORE-END
370
375
382 static int classVersion();
383
384 // File IO
385
395
402 virtual void dwgOutFields( OdDbDwgFiler* pFiler) const;
403
413
420 virtual void dxfOutFields( OdDbDxfFiler* pFiler) const;
421
422 // Notifications
423
430 virtual void erased( OdDbObject const *, bool); // not implemented
431
443 virtual void modified( const OdDbObject* pObj);
444
451 static bool isEnabled();
452
458 static void setEnable( bool bEnable);
459
460private:
461//DOM-IGNORE-BEGIN
462 static bool m_bEnabled;
463//DOM-IGNORE-END
464};
465
470
471#include "TD_PackPop.h"
472
473#endif //_ODDBPOINTCLOUDDEFEX_INCLUDED_
OdSmartPtr< OdDbPointCloudDefEx > OdDbPointCloudDefExPtr
OdSmartPtr< OdDbPointCloudDefReactorEx > OdDbPointCloudDefReactorExPtr
#define DBPOINTCLOUDOBJ_EXPORT
unsigned int OdUInt32
wchar_t OdChar
OdResult
Definition: OdResult.h:29
double defaultHeight() const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
double defaultWidth() const
PropState hasProperty(Property prop) const
bool isLoaded() const
OdString coordinateSystemName() const
OdResult setActiveFileName(const OdChar *pPathName)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdString getRcsFilePath(const OdString &guid) const
OdUInt32 totalScansCount() const
ODDB_DECLARE_MEMBERS(OdDbPointCloudDefEx)
void getAllRcsFilePaths(OdStringArray &list) const
const OdChar * activeFileName() const
static int classVersion()
static OdDbObjectId createPointCloudExDictionary(OdDbDatabase *pDb)
int entityCount(bool *pbLocked) const
static OdDbObjectId pointCloudExDictionary(const OdDbDatabase *pDb)
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdUInt64 totalPointsCount() const
OdResult extents(OdGeExtents3d &exts) const
OdResult createThumbnailBitmap(BITMAPINFO *&pBmpInfo, int width, int height) const
const OdChar * fileType() const
OdResult setSourceFileName(const OdString &sPathName)
OdUInt32 totalRegionsCount() const
double defaultLength() const
OdString sourceFileName() const
static OdDbDictionary * getPointCloudExDictionary(OdDbPointCloudDefEx *pDefEx)
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
static void setEnable(bool bEnable)
virtual void modified(const OdDbObject *pObj)
virtual void erased(OdDbObject const *, bool)
ODDB_DECLARE_MEMBERS(OdDbPointCloudDefReactorEx)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
GLint GLenum GLsizei width
Definition: gles2_ext.h:110
GLint GLenum GLsizei GLsizei height
Definition: gles2_ext.h:110