CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
DbPointCloudEx.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 _OD_DB_POINTCLOUDEX_
25#define _OD_DB_POINTCLOUDEX_
26
30#include "TD_PackPush.h"
31
32#include "DbEntity.h"
33
42{
43public:
44
45 //DOM-IGNORE-BEGIN
47 //DOM-IGNORE-END
48
53
58
63
69 void setPointCloudDefExId( const OdDbObjectId pointCloudDefExId );
70
78
87 void setReactorId( const OdDbObjectId pointCloudDefReactorExId );
88
92 bool locked() const;
93
97 void setLocked( bool bLocked );
98
102 double scale() const;
103
109 void setScale( double scale );
110
114 double rotation() const;
115
121 void setRotation( double newRotation );
122
128
134 void setLocation( OdGePoint3d newLocation );
135
141 void getNativeCloudExtent( OdGeExtents3d& extents ) const;
142
146 unsigned int getVisiblePointCount( OdGeExtents3d extents );
147
152
157
164 bool getActiveFileName( OdString& fileName ) const;
165
172 bool setActiveFileName( const OdChar* strActiveFileName );
173
178
186
187 //
188
198
208
215
222
229
234
238 bool getCroppingInvert() const;
239
244
249
253 bool showCropping() const;
254
262 OdResult setShowCropping( bool bShowCropping );
263
264 //
269 {
270 kTrueColor = 1,
275 kClassificationRamp
276 };
277
294
313
314 //
315
336
349
351
353
354 //
355
361 {
362 kUseMinMaxColors = 0,
364 kHidePoints
365 };
366
373
379 void setShowIntensityAsGradient( bool bShowAsGradient );
380
385
390
399
413
428
435
441 void setShowElevationAsGradient( bool bShowAsGradient );
442
446 double minElevation() const;
447
451 double maxElevation() const;
452
460 OdResult setMinMaxElevation( double min, double max );
461
468
474 void setElevationApplyToFixedRange( bool bFixedRange );
475
489
504
505
513
514 bool subWorldDraw( OdGiWorldDraw* pWd ) const;
515
517
524 virtual OdResult subGetGeomExtents(OdGeExtents3d& extents) const;
525
526 // File IO
527
543
555 virtual void dwgOutFields( OdDbDwgFiler *pFiler) const;
556
572
584 virtual void dxfOutFields( OdDbDxfFiler *pFiler) const;
585
586 virtual void subClose();
587
588};
589
591
607 OdDbBlockTableRecord* pBlockToAdd,
608 OdDbPointCloudExPtr& newPointCloud,
609 const OdString& sourceFile,
611 double scale = 1.0,
612 double rotation = 0.0,
614);
615
616#include "TD_PackPop.h"
617
618
619#endif //_OD_DB_POINTCLOUDEX_
OdSmartPtr< OdDbPointCloudEx > OdDbPointCloudExPtr
DBPOINTCLOUDOBJ_EXPORT OdResult oddbCreatePointCloudExEntity(OdDbBlockTableRecord *pBlockToAdd, OdDbPointCloudExPtr &newPointCloud, const OdString &sourceFile, const OdGePoint3d &location=OdGePoint3d::kOrigin, double scale=1.0, double rotation=0.0, const OdGeVector3d &vAxis=OdGeVector3d::kZAxis)
#define DBPOINTCLOUDOBJ_EXPORT
scale
Definition: DimVarDefs.h:1684
unsigned int OdUInt32
int OdInt32
wchar_t OdChar
OdResult
Definition: OdResult.h:29
OdString getPointCloudName() const
OdResult setMinMaxElevation(double min, double max)
OdDbPointCloudCropping const * getConstPointCloudCropping(int index) const
virtual OdResult dxfInFields(OdDbDxfFiler *pFiler)
ODDB_DECLARE_MEMBERS(OdDbPointCloudEx)
bool subWorldDraw(OdGiWorldDraw *pWd) const
OdResult setInCreatingCroppingMode(bool bCreating)
OdDbObjectId pointCloudDefExId() const
OdString getColorSchemeForStylization(StylizationType type) const
double scale() const
void subViewportDraw(OdGiViewportDraw *pVd) const
OdDbPointCloudCropping * getConstPointCloudCropping(int index)
void setIntensityOutOfRangeBehavior(DisplayOptionOutOfRange displayOption)
unsigned int getVisiblePointCount(OdGeExtents3d extents)
void setElevationApplyToFixedRange(bool bFixedRange)
bool showCropping() const
void setReactorId(const OdDbObjectId pointCloudDefReactorExId)
OdString getCurrentColorScheme() const
OdResult setColorSchemeForStylization(const OdString &guid, StylizationType type)
void setShowIntensityAsGradient(bool bShowAsGradient)
OdResult subTransformBy(const OdGeMatrix3d &xform)
OdUInt32 getCroppingCount() const
void setRotation(double newRotation)
OdResult setMinMaxIntensity(OdInt32 min, OdInt32 max)
OdResult setCurrentColorScheme(const OdString &guid)
double rotation() const
bool getActiveFileName(OdString &fileName) const
void setLocation(OdGePoint3d newLocation)
void setShowElevationAsGradient(bool bShowAsGradient)
virtual void dxfOutFields(OdDbDxfFiler *pFiler) const
bool showElevationAsGradient() const
void setPointCloudDefExId(const OdDbObjectId pointCloudDefExId)
bool elevationApplyToFixedRange() const
virtual OdResult dwgInFields(OdDbDwgFiler *pFiler)
bool showIntensityAsGradient() const
void setElevationOutOfRangeBehavior(DisplayOptionOutOfRange displayOption)
bool setActiveFileName(const OdChar *strActiveFileName)
DisplayOptionOutOfRange elevationOutOfRangeBehavior() const
OdInt32 maxIntensity() const
double maxElevation() const
virtual OdResult subGetGeomExtents(OdGeExtents3d &extents) const
OdGePoint3d location() const
OdResult clearCropping()
unsigned int getDisplayedVisiblePointCount(OdGeExtents3d extents)
OdResult setShowCropping(bool bShowCropping)
StylizationType stylizationType() const
bool getCroppingInvert() const
virtual void subClose()
bool locked() const
void getNativeCloudExtent(OdGeExtents3d &extents) const
OdResult setStylizationType(StylizationType type)
OdDbObjectId reactorId() const
virtual void dwgOutFields(OdDbDwgFiler *pFiler) const
double minElevation() const
unsigned int getLoadedVisiblePointCount(OdGeExtents3d extents)
OdResult setPointCloudName(const OdString &name)
OdInt32 minIntensity() const
DisplayOptionOutOfRange intensityOutOfRangeBehavior() const
void setScale(double scale)
void addCroppingBoundary(OdDbPointCloudCropping const &boundary)
OdResult removeLastCropping()
OdResult setCroppingInvert(bool bInvert)
void setLocked(bool bLocked)
static GE_STATIC_EXPORT const OdGePoint3d kOrigin
Definition: GePoint3d.h:106
static GE_STATIC_EXPORT const OdGeVector3d kZAxis
Definition: GeVector3d.h:103
GLuint index
Definition: gles2_ext.h:265
GLuint const GLchar * name
Definition: gles2_ext.h:265
GLint location
Definition: gles2_ext.h:284
GLuint GLsizei GLsizei GLint GLenum * type
Definition: gles2_ext.h:274