CFx SDK Documentation  2020SP3
DbPointCloudEx.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 #ifndef _OD_DB_POINTCLOUDEX_
25 #define _OD_DB_POINTCLOUDEX_
26 
27 #include "DbPointCloudObjExports.h"
28 #include "DbPointCloudCropping.h"
30 #include "TD_PackPush.h"
31 
32 #include "DbEntity.h"
33 
42 {
43 public:
44 
46 
51 
56 
61 
67  void setPointCloudDefExId( const OdDbObjectId pointCloudDefExId );
68 
77 
86  void setReactorId( const OdDbObjectId pointCloudDefReactorExId );
87 
91  bool locked() const;
92 
96  void setLocked( bool bLocked );
97 
101  double scale() const;
102 
106  void setScale( double scale );
107 
111  double rotation() const;
112 
116  void setRotation( double newRotation );
117 
122 
126  void setLocation( OdGePoint3d newLocation );
127 
131  void getNativeCloudExtent( OdGeExtents3d extents ) const;
132 
136  unsigned int getVisiblePointCount( OdGeExtents3d extents );
137 
141  unsigned int getLoadedVisiblePointCount( OdGeExtents3d extents );
142 
147 
151  bool getActiveFileName( OdString& fileName ) const;
152 
156  bool setActiveFileName( const OdChar* strActiveFileName );
157 
162 
167 
168  //
169 
174 
179 
184 
189 
194 
198  bool getCroppingInvert() const;
199 
203  OdResult setCroppingInvert( bool bInvert );
204 
209 
213  bool showCropping() const;
214 
223  OdResult setShowCropping( bool bShowCropping );
224 
225  //
226 
228  {
229  kTrueColor = 1,
234  kClassificationRamp
235  };
236 
241 
246 
247  //
248 
253 
258 
263 
268 
269  //
270 
272  {
273  kUseMinMaxColors = 0,
275  kHidePoints
276  };
277 
282 
286  void setShowIntensityAsGradient( bool bShowAsGradient );
287 
292 
297 
302 
307 
312 
317 
321  void setShowElevationAsGradient( bool bShowAsGradient );
322 
326  double minElevation() const;
327 
331  double maxElevation() const;
332 
336  OdResult setMinMaxElevation( double min, double max );
337 
342 
346  void setElevationApplyToFixedRange( bool bFixedRange );
347 
352 
357 
358 
359 
361  bool subWorldDraw( OdGiWorldDraw* pWd ) const;
362  void subViewportDraw( OdGiViewportDraw* pVd ) const;
363 
364  // File IO
366  virtual void dwgOutFields( OdDbDwgFiler * ) const;
368  virtual void dxfOutFields( OdDbDxfFiler * ) const;
369 
370 };
371 
373 
374 #include "TD_PackPop.h"
375 
376 
377 #endif //_OD_DB_POINTCLOUDEX_
DBPOINTCLOUDOBJ_EXPORT
#define DBPOINTCLOUDOBJ_EXPORT
Definition: DbPointCloudObjExports.h:32
OdResult
OdResult
Definition: OdResult.h:29
OdDbPointCloudEx::StylizationType
StylizationType
Definition: DbPointCloudEx.h:228
OdDbPointCloudEx::elevationApplyToFixedRange
bool elevationApplyToFixedRange() const
OdDbPointCloudEx::setColorSchemeForStylization
OdResult setColorSchemeForStylization(const OdString &guid, StylizationType type)
OdString
Definition: OdString.h:95
OdDbPointCloudEx::scale
double scale() const
OdDbPointCloudEx::minIntensity
OdInt32 minIntensity() const
OdDbPointCloudEx::setElevationOutOfRangeBehavior
void setElevationOutOfRangeBehavior(DisplayOptionOutOfRange displayOption)
OdDbPointCloudEx::setScale
void setScale(double scale)
scale
scale
Definition: DimVarDefs.h:1684
name
GLuint const GLchar * name
Definition: gles2_ext.h:265
type
GLuint GLsizei GLsizei GLint GLenum * type
Definition: gles2_ext.h:274
OdDbPointCloudEx::getCroppingInvert
bool getCroppingInvert() const
OdDbObjectId
Definition: DbObjectId.h:99
OdDbPointCloudEx::getPointCloudName
OdString getPointCloudName() const
FacetModelerProfile2DBool::min
const T & min(const T &x, const T &y)
Definition: FMImpProfile2DBool.h:98
OdDbPointCloudEx::getCurrentColorScheme
OdString getCurrentColorScheme() const
OdDbPointCloudCropping
Definition: DbPointCloudCropping.h:45
OdDbPointCloudEx::setActiveFileName
bool setActiveFileName(const OdChar *strActiveFileName)
TD_PackPop.h
OdDbPointCloudEx::setPointCloudName
OdResult setPointCloudName(const OdString &name)
OdDbPointCloudExPtr
OdSmartPtr< OdDbPointCloudEx > OdDbPointCloudExPtr
Definition: DbPointCloudEx.h:372
DbPointCloudCropping.h
OdDbPointCloudEx::subViewportDraw
void subViewportDraw(OdGiViewportDraw *pVd) const
OdDbPointCloudEx::setLocked
void setLocked(bool bLocked)
OdDbPointCloudEx::getActiveFileName
bool getActiveFileName(OdString &fileName) const
OdGeMatrix3d
Definition: GeMatrix3d.h:73
OdDbPointCloudEx::minElevation
double minElevation() const
index
GLuint index
Definition: gles2_ext.h:265
OdDbPointCloudEx::getLoadedVisiblePointCount
unsigned int getLoadedVisiblePointCount(OdGeExtents3d extents)
OdDbPointCloudEx::setShowElevationAsGradient
void setShowElevationAsGradient(bool bShowAsGradient)
OdDbPointCloudEx::setInCreatingCroppingMode
OdResult setInCreatingCroppingMode(bool bCreating)
OdDbPointCloudEx::DisplayOptionOutOfRange
DisplayOptionOutOfRange
Definition: DbPointCloudEx.h:272
OdDbPointCloudEx::setRotation
void setRotation(double newRotation)
OdDbPointCloudEx::setCroppingInvert
OdResult setCroppingInvert(bool bInvert)
OdDbPointCloudEx::subTransformBy
OdResult subTransformBy(const OdGeMatrix3d &xform)
OdDbPointCloudEx::setElevationApplyToFixedRange
void setElevationApplyToFixedRange(bool bFixedRange)
OdSmartPtr
Definition: SmartPtr.h:58
OdGePoint3d
Definition: GePoint3d.h:55
DbEntity.h
OdDbPointCloudEx::kNormalRamp
@ kNormalRamp
Definition: DbPointCloudEx.h:231
OdDbPointCloudEx::intensityOutOfRangeBehavior
DisplayOptionOutOfRange intensityOutOfRangeBehavior() const
OdDbPointCloudEx
Definition: DbPointCloudEx.h:42
OdInt32
int OdInt32
Definition: OdPlatformSettings.h:782
OdDbPointCloudEx::setMinMaxElevation
OdResult setMinMaxElevation(double min, double max)
OdDbPointCloudEx::addCroppingBoundary
void addCroppingBoundary(OdDbPointCloudCropping const &boundary)
DbPointCloudObjExports.h
OdDbPointCloudEx::dxfOutFields
virtual void dxfOutFields(OdDbDxfFiler *) const
OdDbPointCloudEx::kIntensityRamp
@ kIntensityRamp
Definition: DbPointCloudEx.h:233
OdDbPointCloudEx::rotation
double rotation() const
OdDbPointCloudEx::dwgOutFields
virtual void dwgOutFields(OdDbDwgFiler *) const
OdDbPointCloudEx::getNativeCloudExtent
void getNativeCloudExtent(OdGeExtents3d extents) const
FacetModelerProfile2DBool::max
const T & max(const T &x, const T &y)
Definition: FMImpProfile2DBool.h:105
OdChar
wchar_t OdChar
Definition: OdPlatformSettings.h:745
OdDbDxfFiler
Definition: DbFiler.h:194
OdDbPointCloudEx::pointCloudDefExId
OdDbObjectId pointCloudDefExId() const
OdDbPointCloudEx::stylizationType
StylizationType stylizationType() const
OdDbPointCloudEx::setLocation
void setLocation(OdGePoint3d newLocation)
TD_PackPush.h
OdDbPointCloudEx::getDisplayedVisiblePointCount
unsigned int getDisplayedVisiblePointCount(OdGeExtents3d extents)
OdDbPointCloudEx::elevationOutOfRangeBehavior
DisplayOptionOutOfRange elevationOutOfRangeBehavior() const
OdDbPointCloudEx::getConstPointCloudCropping
OdDbPointCloudCropping const * getConstPointCloudCropping(int index) const
OdDbPointCloudEx::kHeightRamp
@ kHeightRamp
Definition: DbPointCloudEx.h:232
OdDbPointCloudEx::dwgInFields
virtual OdResult dwgInFields(OdDbDwgFiler *)
OdGiWorldDraw
Definition: GiWorldDraw.h:44
OdDbPointCloudEx::showCropping
bool showCropping() const
OdDbPointCloudEx::setPointCloudDefExId
void setPointCloudDefExId(const OdDbObjectId pointCloudDefExId)
OdDbPointCloudEx::setReactorId
void setReactorId(const OdDbObjectId pointCloudDefReactorExId)
OdDbEntity
Definition: DbEntity.h:90
OdDbPointCloudEx::maxElevation
double maxElevation() const
DbPointCloudIntensityStyle.h
OdDbPointCloudEx::locked
bool locked() const
OdDbPointCloudEx::showElevationAsGradient
bool showElevationAsGradient() const
OdDbPointCloudEx::setShowIntensityAsGradient
void setShowIntensityAsGradient(bool bShowAsGradient)
OdDbPointCloudEx::getConstPointCloudCropping
OdDbPointCloudCropping * getConstPointCloudCropping(int index)
OdGeExtents3d
Definition: GeExtents3d.h:45
OdDbPointCloudEx::showIntensityAsGradient
bool showIntensityAsGradient() const
OdDbPointCloudEx::~OdDbPointCloudEx
~OdDbPointCloudEx()
Definition: DbPointCloudEx.h:55
OdDbPointCloudEx::setCurrentColorScheme
OdResult setCurrentColorScheme(const OdString &guid)
OdDbPointCloudEx::setShowCropping
OdResult setShowCropping(bool bShowCropping)
OdDbPointCloudEx::setMinMaxIntensity
OdResult setMinMaxIntensity(OdInt32 min, OdInt32 max)
OdDbPointCloudEx::kSingleColor
@ kSingleColor
Definition: DbPointCloudEx.h:230
OdDbPointCloudEx::clearCropping
OdResult clearCropping()
OdDbPointCloudEx::reactorId
OdDbObjectId reactorId() const
OdDbPointCloudEx::subWorldDraw
bool subWorldDraw(OdGiWorldDraw *pWd) const
OdDbPointCloudEx::location
OdGePoint3d location() const
OdDbPointCloudEx::removeLastCropping
OdResult removeLastCropping()
OdDbPointCloudEx::getColorSchemeForStylization
OdString getColorSchemeForStylization(StylizationType type) const
OdDbPointCloudEx::getVisiblePointCount
unsigned int getVisiblePointCount(OdGeExtents3d extents)
OdDbPointCloudEx::maxIntensity
OdInt32 maxIntensity() const
OdDbPointCloudEx::setStylizationType
OdResult setStylizationType(StylizationType type)
OdDbPointCloudEx::ODDB_DECLARE_MEMBERS
ODDB_DECLARE_MEMBERS(OdDbPointCloudEx)
OdDbDwgFiler
Definition: DbFiler.h:1031
OdGiViewportDraw
Definition: GiViewportDraw.h:50
OdDbPointCloudEx::setIntensityOutOfRangeBehavior
void setIntensityOutOfRangeBehavior(DisplayOptionOutOfRange displayOption)
OdDbPointCloudEx::dxfInFields
virtual OdResult dxfInFields(OdDbDxfFiler *)
OdDbPointCloudEx::OdDbPointCloudEx
OdDbPointCloudEx()
OdDbPointCloudEx::kUseRGBScanColors
@ kUseRGBScanColors
Definition: DbPointCloudEx.h:274