|
CFx SDK Documentation 2024 SP0
|
#include <GiLayerTraitsData.h>
Public Member Functions | |
| OdGiLayerTraitsData () | |
| void | operator= (const OdGiLayerTraitsData &other) |
| 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 122 of file GiLayerTraitsData.h.
|
inline |
Checks whether this layer inherits traits by block.
Definition at line 264 of file GiLayerTraitsData.h.
|
inline |
Checks whether this layer is frozen.
Definition at line 257 of file GiLayerTraitsData.h.
|
inline |
Checks whether this layer is locked.
Definition at line 244 of file GiLayerTraitsData.h.
|
inline |
Checks whether this layer is turned off.
Definition at line 218 of file GiLayerTraitsData.h.
|
inline |
Checks whether this layer is plottable.
Definition at line 231 of file GiLayerTraitsData.h.
|
inline |
Retrieves persistent linetype identifier associated with the layer.
Definition at line 136 of file GiLayerTraitsData.h.
|
inline |
Retrieves lineweight associated with this layer.
Definition at line 129 of file GiLayerTraitsData.h.
|
inline |
Retrieves persistent material identifier associated with the layer.
Definition at line 160 of file GiLayerTraitsData.h.
|
inline |
Assignment operator for the OdGiLayerTraitsData class.
| other | [in] Properties of other OdGiLayerTraitsData object to assign. |
Definition at line 106 of file GiLayerTraitsData.h.
|
inline |
Retrieves persistent plot style name identifier associated with the layer.
Definition at line 146 of file GiLayerTraitsData.h.
|
inline |
Retrieves plot style name type of this layer.
Definition at line 141 of file GiLayerTraitsData.h.
|
inline |
Sets linetype for this layer.
| id | [in] Persistent identifier of a linetype to set. |
Definition at line 193 of file GiLayerTraitsData.h.
|
inline |
Sets lineweight associated for this layer.
| lw | [in] LineWeight to set. |
Definition at line 185 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 250 of file GiLayerTraitsData.h.
|
inline |
Sets material for this layer.
| id | [in] Persistent identifier of a material to set. |
Definition at line 201 of file GiLayerTraitsData.h.
|
inline |
Switches the layer on or off.
| bVal | [in] Layer state. |
Definition at line 224 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 237 of file GiLayerTraitsData.h.
|
inline |
Sets transparency for this layer.
| transparency | [in] Transparency to set. |
Definition at line 211 of file GiLayerTraitsData.h.
|
inline |
Sets color for this layer.
| cl | [in] Color to set. |
Definition at line 177 of file GiLayerTraitsData.h.
|
inline |
Retrieves transparency associated with the layer.
Definition at line 169 of file GiLayerTraitsData.h.
|
inline |
Retrieves color for this layer.
Definition at line 153 of file GiLayerTraitsData.h.
| OdCmTransparency OdGiLayerTraitsData::m_cmTransparency |
Transparency for this layer.
Definition at line 283 of file GiLayerTraitsData.h.
| OdCmEntityColor OdGiLayerTraitsData::m_color |
Color for this layer.
Definition at line 274 of file GiLayerTraitsData.h.
| OdUInt32 OdGiLayerTraitsData::m_flags |
Retrieves layer traits flags.
Definition at line 267 of file GiLayerTraitsData.h.
| OdDbStub* OdGiLayerTraitsData::m_linetypeId |
Persistent linetype identifier associated with the layer.
Definition at line 276 of file GiLayerTraitsData.h.
| OdDb::LineWeight OdGiLayerTraitsData::m_lineweight |
Lineweight associated with this layer.
Definition at line 269 of file GiLayerTraitsData.h.
| OdDbStub* OdGiLayerTraitsData::m_materialId |
Persistent material identifier associated with the layer.
Definition at line 281 of file GiLayerTraitsData.h.
| OdDbStub* OdGiLayerTraitsData::m_plotStyleNameId |
Persistent plot style name identifier associated with the layer.
Definition at line 278 of file GiLayerTraitsData.h.
| OdDb::PlotStyleNameType OdGiLayerTraitsData::m_plotStyleNameType |
Plot style name type of this layer.
Definition at line 271 of file GiLayerTraitsData.h.