CFx SDK Documentation
2022 SP0
|
#include <GiLayerTraitsData.h>
Protected Member Functions | |
ODRX_USING_HEAP_OPERATORS (OdGiDummyWorldDraw< OdGiDummyWorldGeometry< OdGiWorldDraw_ > >) | |
Protected Member Functions inherited from OdGiLayerTraits_ | |
OdCmEntityColor | color () const |
Protected Member Functions inherited from OdGiSubEntityTraits_ | |
OdUInt16 | color () const |
This class implements OdGiLayerTraits, OdGiWorldDraw, and OdGIViewportDraw together as a single class that uses the OdDbLayerTableRecord::subSetAttributes(), OdDbLayerTableRecord::subWorldDraw(), and OdDbLayerTableRecord::subViewportDraw() functions to return layer trait values and store them temporarily.
<group OdGi_Classes>
Definition at line 146 of file GiLayerTraitsData.h.
|
inline |
Definition at line 256 of file GiLayerTraitsData.h.
|
inline |
Definition at line 263 of file GiLayerTraitsData.h.
|
virtual |
Declares the method incrementing the reference counter in objects derived from this class.
Implements OdRxObject.
Reimplemented in OdGiLayerTraitsTakerView.
OdGiContext* OdGiLayerTraitsTaker::context | ( | ) | const |
|
virtual |
Reimplemented from OdGiDummyCommonDraw< T >.
Reimplemented in OdGiLayerTraitsTakerView.
|
virtual |
Return the current DrawFlags bitmask.
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Return boundary filling parameters.
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Returns the current fill type.
Value Description kOdGiFillAlways 1 Fill closed graphic primitives. kOdGiFillNever 2 Don't fill closed graphic primitives.
Closed graphic primitives consist of the following: arcs with (OdGiArcType == kOdGiArcSector) || (OdGiArcType == kOdGiArcChord) circles meshes polygons shells
Implements OdGiSubEntityTraits.
OdGeMatrix3d OdGiLayerTraitsTaker::getModelToWorldTransform | ( | ) | const |
OdGeMatrix3d OdGiLayerTraitsTaker::getWorldToModelTransform | ( | ) | const |
|
virtual |
Reimplemented from OdGiDummyCommonDraw< T >.
|
inline |
Definition at line 191 of file GiLayerTraitsData.h.
|
inline |
Definition at line 185 of file GiLayerTraitsData.h.
|
inline |
Definition at line 188 of file GiLayerTraitsData.h.
|
virtual |
Reimplemented from OdGiDummyViewportDraw< OdGiWrapperViewportGeometry< OdGiViewportDraw_ > >.
Reimplemented in OdGiLayerTraitsTakerView.
|
virtual |
Returns the current layer.
Implements OdGiSubEntityTraits.
|
virtual |
Return pointer to the current Dgn Line Style modifiers structure.
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Returns the Object ID of the linetype for this object.
Implements OdGiLayerTraits.
|
virtual |
Returns the current linetype.
Implements OdGiSubEntityTraits.
|
virtual |
Returns the current linetype scale.
Implements OdGiSubEntityTraits.
|
virtual |
Returns the lineweight for this object.
Implements OdGiLayerTraits.
|
virtual |
Returns the current lineweight.
Implements OdGiSubEntityTraits.
|
virtual |
Returns pointer to the current material mapper.
Implements OdGiSubEntityTraits.
|
virtual |
Returns the Object ID of the material.
Implements OdGiSubEntityTraits.
|
virtual |
Returns the Object ID of the material.
Implements OdGiLayerTraits.
|
virtual |
Reimplemented from OdGiDummyCommonDraw< T >.
Reimplemented in OdGiLayerTraitsTakerView.
|
protected |
|
virtual |
Returns the Object ID of the Plot Style Name.
Implements OdGiLayerTraits.
|
virtual |
Returns the Plot Style Name Type for this object.
Value
OdDb::kPlotStyleNameByLayer 0 OdDb::kPlotStyleNameByBlock 1 OdDb::kPlotStyleNameIsDictDefault 2 OdDb::kPlotStyleNameById 3
Implements OdGiLayerTraits.
OdGiGeometry& OdGiLayerTraitsTaker::rawGeometry | ( | ) | const |
|
virtual |
Reimplemented from OdGiDummyCommonDraw< T >.
Reimplemented in OdGiLayerTraitsTakerView.
|
virtual |
Reimplemented from OdGiDummyCommonDraw< T >.
Reimplemented in OdGiLayerTraitsTakerView.
|
virtual |
Declares the method decrementing the reference counter in objects derived from this class.
Implements OdRxObject.
Reimplemented in OdGiLayerTraitsTakerView.
|
inline |
Definition at line 173 of file GiLayerTraitsData.h.
|
virtual |
Returns the current secondary color as an OdCmEntityColor instance.
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Return the current sectionable flag.
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Return the current SelectionFlags.
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Return the current selection geometry flag.
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Reimplemented from OdGiDummyViewportDraw< OdGiWrapperViewportGeometry< OdGiViewportDraw_ > >.
Reimplemented in OdGiLayerTraitsTakerView.
|
virtual |
Sets the current color index (ACI).
color | [in] Color index. |
Value Description kACIbyBlock 0 ByBlock. kACIforeground 7 Foreground color. kACIbyLayer 256 ByLayer. kACIRed 1 Red. kACIYellow 2 Yellow. kACIGreen 3 Green. kACICyan 4 Cyan. kACIBlue 5 Blue. kACIMagenta 6 Magenta. .. 8-255 Defined by AcadPalette.h
Implements OdGiSubEntityTraits.
|
inline |
Definition at line 250 of file GiLayerTraitsData.h.
|
virtual |
Sets the current linetype.
lineTypeId | [in] Object ID of the LinetypeTableRecord. |
Implements OdGiSubEntityTraits.
|
virtual |
Sets the linetype for this object.
pLinetypeId | [in] Pointer to the Object ID of the linetype. |
Implements OdGiLayerTraits.
|
virtual |
Sets the lineweight for this object.
lineweight | [in] Lineweight. |
Implements OdGiLayerTraits.
|
virtual |
|
inline |
Definition at line 192 of file GiLayerTraitsData.h.
|
virtual |
Sets the material ID for this object.
pMaterialId | [in] Pointer to the Object ID of the material. |
Implements OdGiLayerTraits.
|
inline |
Definition at line 186 of file GiLayerTraitsData.h.
|
virtual |
Sets the Plot Style Name for this object.
plotStyleNameType | [in] Plot Style Name Type. |
pPlotStyleNameId | [in] Pointer to the Object ID of the Plot Style Name. |
plotStyleNameType must be one of the following:
Value
OdDb::kPlotStyleNameByLayer 0 OdDb::kPlotStyleNameByBlock 1 OdDb::kPlotStyleNameIsDictDefault 2 OdDb::kPlotStyleNameById 3
Implements OdGiLayerTraits.
|
inline |
Definition at line 189 of file GiLayerTraitsData.h.
|
inline |
Definition at line 244 of file GiLayerTraitsData.h.
|
virtual |
Sets the transparency for this object.
transparency | [in] OdCmTransparency object. |
Implements OdGiLayerTraits.
|
virtual |
Sets the current color from an OdCmEntityColor instance.
color | [in] OdCmEntityColor object. |
Implements OdGiSubEntityTraits.
|
virtual |
Return the current ShadowFlags.
Reimplemented from OdGiSubEntityTraits.
OdGiSubEntityTraits& OdGiLayerTraitsTaker::subEntityTraits | ( | ) | const |
|
virtual |
Returns the current thickness.
Implements OdGiSubEntityTraits.
|
virtual |
Returns the transparency for this object.
Implements OdGiLayerTraits.
|
virtual |
Implements OdGiLayerTraits_.
|
virtual |
Reimplemented from OdGiDummyViewportDraw< OdGiWrapperViewportGeometry< OdGiViewportDraw_ > >.
Reimplemented in OdGiLayerTraitsTakerView.
|
virtual |
Reimplemented from OdGiDummyViewportDraw< OdGiWrapperViewportGeometry< OdGiViewportDraw_ > >.
Reimplemented in OdGiLayerTraitsTakerView.
|
virtual |
Returns the Object ID of the visual style.
Reimplemented from OdGiSubEntityTraits.