|
CFx SDK Documentation 2026 SP0
|
#include <GiLayerTraitsData.h>
Public Member Functions | |
| OdGiLayerTraitsData () | |
| OdGiLayerTraitsData & | operator= (const OdGiLayerTraitsData &other)=default |
| OdUInt32 | flags () const |
| OdDb::LineWeight | lineweight () const |
| OdDbStub * | linetype () const |
| OdDb::PlotStyleNameType | plotStyleNameType () const |
| OdDbStub * | plotStyleNameId () const |
| const OdCmEntityColor & | trueColor () const |
| OdDbStub * | materialId () const |
| OdCmTransparency | transparency () const |
| void | setTrueColor (const OdCmEntityColor &cl) |
| void | setLineweight (OdDb::LineWeight lw) |
| void | setLinetype (OdDbStub *id) |
| void | setMaterial (OdDbStub *id) |
| void | setTransparency (const OdCmTransparency &transparency) |
| bool | isOff () const |
| void | setOff (bool bVal) |
| bool | isPlottable () const |
| void | setPlottable (bool bVal) |
| bool | isLocked () const |
| void | setLocked (bool bVal) |
| bool | isFrozen () const |
| bool | isByBlock () const |
Public Attributes | |
| OdUInt32 | m_flags |
| OdDb::LineWeight | m_lineweight |
| OdDb::PlotStyleNameType | m_plotStyleNameType |
| OdCmEntityColor | m_color |
| OdDbStub * | m_linetypeId |
| OdDbStub * | m_plotStyleNameId |
| OdDbStub * | m_materialId |
| OdCmTransparency | m_cmTransparency |
<group !!RECORDS_TD_APIRef>
Definition at line 73 of file GiLayerTraitsData.h.
|
inline |
Default constructor for the OdGiLayerTraitsData structure. Sets the following data members:
Data member Value Description m_flags OdGiLayerTraits::kPlottable Layer traits flags m_lineweight OdDb::kLnWtByLwDefault LineWeight. m_plotStyleNameType OdDb::kPlotStyleNameById Plot style name type. m_color OdCmEntityColor::kForeground Layer color. m_linetypeId 0 Linetype identifier. m_plotStyleNameId 0 Plot style name identifier. m_materialId 0 Material identifier. m_cmTransparency OdUInt8(0xFF) Transparency color.
Definition at line 89 of file GiLayerTraitsData.h.
|
inline |
Retrieves layer traits flags.
Definition at line 111 of file GiLayerTraitsData.h.
|
inline |
Checks whether this layer inherits traits by block.
Definition at line 253 of file GiLayerTraitsData.h.
|
inline |
Checks whether this layer is frozen.
Definition at line 246 of file GiLayerTraitsData.h.
|
inline |
Checks whether this layer is locked.
Definition at line 233 of file GiLayerTraitsData.h.
|
inline |
Checks whether this layer is turned off.
Definition at line 207 of file GiLayerTraitsData.h.
|
inline |
Checks whether this layer is plottable.
Definition at line 220 of file GiLayerTraitsData.h.
|
inline |
Retrieves persistent linetype identifier associated with the layer.
Definition at line 125 of file GiLayerTraitsData.h.
|
inline |
Retrieves lineweight associated with this layer.
Definition at line 118 of file GiLayerTraitsData.h.
|
inline |
Retrieves persistent material identifier associated with the layer.
Definition at line 149 of file GiLayerTraitsData.h.
|
default |
Assignment operator for the OdGiLayerTraitsData class.
| other | [in] Properties of other OdGiLayerTraitsData object to assign. |
|
inline |
Retrieves persistent plot style name identifier associated with the layer.
Definition at line 135 of file GiLayerTraitsData.h.
|
inline |
Retrieves plot style name type of this layer.
Definition at line 130 of file GiLayerTraitsData.h.
|
inline |
Sets linetype for this layer.
| id | [in] Persistent identifier of a linetype to set. |
Definition at line 182 of file GiLayerTraitsData.h.
|
inline |
Sets lineweight associated for this layer.
| lw | [in] LineWeight to set. |
Definition at line 174 of file GiLayerTraitsData.h.
|
inline |
Specifies whether this layer is locked.
| bVal | [in] Flag that specifies whether this layer should be locked. |
Definition at line 239 of file GiLayerTraitsData.h.
|
inline |
Sets material for this layer.
| id | [in] Persistent identifier of a material to set. |
Definition at line 190 of file GiLayerTraitsData.h.
|
inline |
Switches the layer on or off.
| bVal | [in] Layer state. |
Definition at line 213 of file GiLayerTraitsData.h.
|
inline |
Specifies whether this layer is plottable.
| bVal | [in] Flag that specifies whether this layer should be plottable. |
Definition at line 226 of file GiLayerTraitsData.h.
|
inline |
Sets transparency for this layer.
| transparency | [in] Transparency to set. |
Definition at line 200 of file GiLayerTraitsData.h.
|
inline |
Sets color for this layer.
| cl | [in] Color to set. |
Definition at line 166 of file GiLayerTraitsData.h.
|
inline |
Retrieves transparency associated with the layer.
Definition at line 158 of file GiLayerTraitsData.h.
|
inline |
Retrieves color for this layer.
Definition at line 142 of file GiLayerTraitsData.h.
| OdCmTransparency OdGiLayerTraitsData::m_cmTransparency |
Transparency for this layer.
Definition at line 272 of file GiLayerTraitsData.h.
| OdCmEntityColor OdGiLayerTraitsData::m_color |
Color for this layer.
Definition at line 263 of file GiLayerTraitsData.h.
| OdUInt32 OdGiLayerTraitsData::m_flags |
Retrieves layer traits flags.
Definition at line 256 of file GiLayerTraitsData.h.
| OdDbStub* OdGiLayerTraitsData::m_linetypeId |
Persistent linetype identifier associated with the layer.
Definition at line 265 of file GiLayerTraitsData.h.
| OdDb::LineWeight OdGiLayerTraitsData::m_lineweight |
Lineweight associated with this layer.
Definition at line 258 of file GiLayerTraitsData.h.
| OdDbStub* OdGiLayerTraitsData::m_materialId |
Persistent material identifier associated with the layer.
Definition at line 270 of file GiLayerTraitsData.h.
| OdDbStub* OdGiLayerTraitsData::m_plotStyleNameId |
Persistent plot style name identifier associated with the layer.
Definition at line 267 of file GiLayerTraitsData.h.
| OdDb::PlotStyleNameType OdGiLayerTraitsData::m_plotStyleNameType |
Plot style name type of this layer.
Definition at line 260 of file GiLayerTraitsData.h.