CFx SDK Documentation  2023 SP0
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
#define DBPOINTCLOUDOBJ_EXPORT
OdResult
Definition: OdResult.h:29
void dxfOutFields(OdDbDxfFiler *pFiler) const
OdResult dwgInFields(OdDbDwgFiler *pFiler)
OdResult dxfInFields(OdDbDxfFiler *pFiler)
void setMinIntensity(const double)
void setIntensityHighThreshold(const double)
double intensityHighThreshold() const
void setColorBottom(const ArgbColor &)
ArgbColor intensityColor(const double) const
void setIntensityLowThreshold(const double)
void setMaxIntensity(const double)
void dwgOutFields(OdDbDwgFiler *pFiler) const
double intensityLowThreshold() const
void setColorTop(const ArgbColor &)