CFx SDK Documentation  2020SP3
DbPointCloudIntensityStyle.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_POINTCLOUDINTENSITYSTYLE_
25 #define _OD_DB_POINTCLOUDINTENSITYSTYLE_
26 
27 #include "TD_PackPush.h"
28 #include "DbPointCloudObjExports.h"
29 #include "DbObject.h"
30 #include "DbArgbColor.h"
31 
32 // intensity color scheme (grayscale, spectrum, red, green, blue)
33 // Maybe it the same as Intensity Style enum
34 /*
35 enum IntensityColorScheme
36 {
37  ISCHEME_GRAYSCALE = 0,
38  ISCHEME_SPECTRUM,
39  ISCHEME_SINGLE_RED,
40  ISCHEME_SINGLE_GREEN,
41  ISCHEME_SINGLE_BLUE
42 };
43 */
44 
45 
54 {
55 
56 public:
57 
63 
67  double intensityHighThreshold() const;
68 
72  double intensityLowThreshold() const;
73 
77  double maxIntensity() const;
78 
82  double minIntensity() const;
83 
89  void setIntensityHighThreshold(const double);
90 
96  void setIntensityLowThreshold(const double);
97 
103  void setMaxIntensity(const double);
104 
110  void setMinIntensity(const double);
111 
117  void setColorBottom(const ArgbColor &);
118 
124  void setColorTop(const ArgbColor &);
125 
134  ArgbColor intensityColor(const double) const;
135 
137  void dwgOutFields(OdDbDwgFiler *pFiler) const;
138 
140  void dxfOutFields(OdDbDxfFiler *pFiler) const;
141 
142 private:
143  double m_maxIntensity;
144  double m_minIntensity;
145  double m_highThreshold;
146  double m_lowThreshold;
147 
148  ArgbColor m_topColor;
149  ArgbColor m_bottomColor;
150 };
151 
152 #include "TD_PackPop.h"
153 
154 #endif
DBPOINTCLOUDOBJ_EXPORT
#define DBPOINTCLOUDOBJ_EXPORT
Definition: DbPointCloudObjExports.h:32
OdResult
OdResult
Definition: OdResult.h:29
ArgbColor
Definition: DbArgbColor.h:59
OdDbPointCloudIntensityStyle::dxfOutFields
void dxfOutFields(OdDbDxfFiler *pFiler) const
OdDbPointCloudIntensityStyle::setMinIntensity
void setMinIntensity(const double)
OdDbPointCloudIntensityStyle::setColorTop
void setColorTop(const ArgbColor &)
OdDbPointCloudIntensityStyle::setMaxIntensity
void setMaxIntensity(const double)
DbObject.h
TD_PackPop.h
OdDbPointCloudIntensityStyle::intensityLowThreshold
double intensityLowThreshold() const
OdDbPointCloudIntensityStyle::intensityHighThreshold
double intensityHighThreshold() const
OdDbPointCloudIntensityStyle::minIntensity
double minIntensity() const
OdDbPointCloudIntensityStyle::intensityColor
ArgbColor intensityColor(const double) const
OdDbPointCloudIntensityStyle::setColorBottom
void setColorBottom(const ArgbColor &)
OdDbPointCloudIntensityStyle::OdDbPointCloudIntensityStyle
OdDbPointCloudIntensityStyle()
DbPointCloudObjExports.h
OdDbPointCloudIntensityStyle::maxIntensity
double maxIntensity() const
OdDbDxfFiler
Definition: DbFiler.h:194
TD_PackPush.h
OdDbPointCloudIntensityStyle::dwgInFields
OdResult dwgInFields(OdDbDwgFiler *pFiler)
DbArgbColor.h
OdDbPointCloudIntensityStyle::dwgOutFields
void dwgOutFields(OdDbDwgFiler *pFiler) const
OdDbPointCloudIntensityStyle::setIntensityLowThreshold
void setIntensityLowThreshold(const double)
OdDbPointCloudIntensityStyle::dxfInFields
OdResult dxfInFields(OdDbDxfFiler *pFiler)
OdDbPointCloudIntensityStyle
Definition: DbPointCloudIntensityStyle.h:54
OdDbPointCloudIntensityStyle::setIntensityHighThreshold
void setIntensityHighThreshold(const double)
OdDbDwgFiler
Definition: DbFiler.h:1031