CFx SDK Documentation 2024 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 |
Additional Inherited Members | |
Public Types inherited from OdGiLayerTraits | |
enum | { kByBlock = (OdGiDrawable::kLastFlag << 1) , kFrozen = (OdGiDrawable::kLastFlag << 2) , kOff = (OdGiDrawable::kLastFlag << 3) , kPlottable = (OdGiDrawable::kLastFlag << 4) , kLocked = (OdGiDrawable::kLastFlag << 5) } |
Public Types inherited from OdGiSubEntityTraits | |
enum | DrawFlags { kNoDrawFlags = 0x0000 , kDrawBackfaces = 0x0001 , kDrawHatchGroup = 0x0002 , kDrawFrontfacesOnly = 0x0004 , kDrawGradientFill = 0x0008 , kDrawSolidFill = 0x0010 , kDrawNoLineWeight = 0x0020 , kDrawNoPlotstyle = 0x0080 , kDrawContourFill = 0x08000 , kDisableLayoutCache = 0x10000 , kDrawBoundaryForClipping = 0x20000 , kDrawBoundaryForClippingDrw = 0x40000 , kClipSetIsEmpty = 0x80000 , kDrawPolygonFill = 0x100000 , kExcludeFromViewExt = 0x200000 , kDrawDgLsPolyWithoutBreaks = 0x400000 , kPolygonProcessing = 0x800000 , kDisableAutoGenerateNormals = 0x1000000 , kDisableFillModeCheck = 0x2000000 , kDrawUnderlayReference = 0x4000000 , kLineStyleScaleOverride = 0x8000000 , kDisableDisplayClipping = 0x10000000 , kRegenTypeDependent2dDraw = 0x20000000 , kInternalDrawFlags = kDisableLayoutCache | kClipSetIsEmpty | kRegenTypeDependent2dDraw , kDrawGeometryForExtents = 0x04000 , kFxNoFillOnSelect = 0x40000000 , kInheritableDrawFlags } |
enum | LockFlags { kNoLockFlags = 0x00000000 , kLockColors = 0x00000001 , kLockLineWeight = 0x00000002 , kLockLineType = 0x00000004 , kLockLineTypeScale = 0x00000008 , kLockLayer = 0x00000010 , kLockByBlockLayer = 0x00000020 , kKeepAuxDataAndLockFlags = 0x00000040 , kInheritableLockFlags = kLockColors | kLockLineWeight | kLockLineType | kLockLineTypeScale | kLockLayer | kKeepAuxDataAndLockFlags } |
enum | ShadowFlags { kShadowsCastAndReceive = 0 , kShadowsDoesNotCast = 1 , kShadowsDoesNotReceive = 2 , kShadowsIgnore = kShadowsDoesNotCast | kShadowsDoesNotReceive } |
enum | SelectionFlags { kNoSelectionFlags = 0 , kSelectionIgnore = 1 , kHighlightingGeometry = 2 , kHiddenInHighlight = 4 , kFxSubentitySelection = 0x80 } |
enum | SubEntityHints { kHint2DAttributes = 1 , kHint3DAttributes = 2 , kHintAllAttributes = kHint2DAttributes | kHint3DAttributes , kHintSnapModeOn = 4 , kHintDefaultState = kHintAllAttributes } |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Public Attributes inherited from OdGiLayerTraitsData | |
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 |
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 296 of file GiLayerTraitsData.h.
|
inline |
Default constructor for the OdGiLayerTraitsTaker class. Sets underlaying view and GI context to NULL.
Definition at line 764 of file GiLayerTraitsData.h.
|
inline |
Constructor for the OdGiLayerTraitsTaker class. Sets the object with the vectorizer and GI context.
pRefView | [in] Pointer to a vectorizer. |
pContext | [in] Pointer to GI context. |
Definition at line 771 of file GiLayerTraitsData.h.
|
virtual |
Adds one reference to this object.
Implements OdRxObject.
Reimplemented in OdGiLayerTraitsTakerView.
|
inlinevirtual |
Retrieves smart pointer to the auxiliary data for this object.
Reimplemented from OdGiSubEntityTraits.
Definition at line 741 of file GiLayerTraitsData.h.
OdGiContext * OdGiLayerTraitsTaker::context | ( | ) | const |
Retrieves context associated with this object.
|
virtual |
Retrieves the recommended maximum deviation of the current vectorization for the specified point on a curve.
deviationType | [in] Deviation type. |
pointOnCurve | [in] Point on a curve. |
Value kOdGiMaxDevForCircle 0
kOdGiMaxDevForCurve 1
kOdGiMaxDevForBoundary 2
kOdGiMaxDevForIsoline 3 kOdGiMaxDevForFacet 4
Reimplemented from OdGiDummyCommonDraw< T >.
Reimplemented in OdGiLayerTraitsTakerView.
|
virtual |
Retrieves draw flags for this layer.
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Retrieves pointer to the fill for this layer.
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Retrieves fill type for a layer.
Implements OdGiSubEntityTraits.
OdGeMatrix3d OdGiLayerTraitsTaker::getModelToWorldTransform | ( | ) | const |
Retrieves the model to world transformation matrix.
OdGeMatrix3d OdGiLayerTraitsTaker::getWorldToModelTransform | ( | ) | const |
Retrieves the world to model transformation matrix.
|
virtual |
Checks whether the associated vectorization process is the result of a "drag" operation.
Reimplemented from OdGiDummyCommonDraw< T >.
|
inline |
Checks whether this layer is locked.
Definition at line 432 of file GiLayerTraitsData.h.
|
inline |
Checks whether this layer is turned off.
Definition at line 406 of file GiLayerTraitsData.h.
|
inline |
Checks whether this layer is plottable.
Definition at line 419 of file GiLayerTraitsData.h.
|
virtual |
Checks whether the identifier of an associated viewport is valid.
viewportId | [in] Identifier of a viewport to check. |
Reimplemented from OdGiDummyViewportDraw< OdGiWrapperViewportGeometry< OdGiViewportDraw_ > >.
Reimplemented in OdGiLayerTraitsTakerView.
|
virtual |
Retrieves persistent layer identifier of the underlaying layer.
Implements OdGiSubEntityTraits.
|
virtual |
Retrieves pointer to linetype modifiers for this layer.
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Retrieves a pointer to persistent linetype identifier associated with the layer.
Implements OdGiLayerTraits.
|
virtual |
Retrieves persistent linetype identifier.
Implements OdGiSubEntityTraits.
|
virtual |
Retrieves linetype scale for a layer.
Implements OdGiSubEntityTraits.
|
virtual |
Retrieves lineweight associated with this layer.
Implements OdGiLayerTraits.
|
virtual |
Retrieves lineweight for a layer.
Implements OdGiSubEntityTraits.
|
virtual |
Retrieves pointer a mapper for this layer.
Implements OdGiSubEntityTraits.
|
virtual |
Retrieves persistent material identifier.
Implements OdGiSubEntityTraits.
|
virtual |
Retrieves pointer to persistent material identifier associated with the layer.
Implements OdGiLayerTraits.
|
virtual |
Retrieves count of isolines that are used to represent an entity.
Reimplemented from OdGiDummyCommonDraw< T >.
Reimplemented in OdGiLayerTraitsTakerView.
|
protected |
|
virtual |
Retrieves pointer to persistent plot style name identifier associated with the layer.
Implements OdGiLayerTraits.
|
virtual |
Retrieves plot style name type of this layer.
Implements OdGiLayerTraits.
OdGiGeometry & OdGiLayerTraitsTaker::rawGeometry | ( | ) | const |
Retrieves geometry data for this layer.
|
virtual |
Checks whether the vectorization process should be aborted.
Reimplemented from OdGiDummyCommonDraw< T >.
Reimplemented in OdGiLayerTraitsTakerView.
|
virtual |
Retrieves regeneration type for this layer.
Reimplemented from OdGiDummyCommonDraw< T >.
Reimplemented in OdGiLayerTraitsTakerView.
|
virtual |
Removes one reference from this object.
Implements OdRxObject.
Reimplemented in OdGiLayerTraitsTakerView.
|
inline |
Resets layer traits to default.
Definition at line 336 of file GiLayerTraitsData.h.
|
virtual |
Retrieves secondary color for this layer.
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Checks whether content of this layer is sectionable.
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Retrieves shadow flags of for this layer.
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Checks whether geometry of this layer can be selected.
Reimplemented from OdGiSubEntityTraits.
|
virtual |
Returns the number of viewports that have been deleted from the current database during this editing session.
Reimplemented from OdGiDummyViewportDraw< OdGiWrapperViewportGeometry< OdGiViewportDraw_ > >.
Reimplemented in OdGiLayerTraitsTakerView.
|
inlinevirtual |
Sets the auxiliary data for this object.
pAuxData | [in] Smart pointer to the auxiliary data. |
Reimplemented from OdGiSubEntityTraits.
Definition at line 748 of file GiLayerTraitsData.h.
|
virtual |
Sets color for this layer.
color | [in] Color to set. |
Implements OdGiLayerTraits.
Sets color for this layer.
color | [in] Color to set. |
Implements OdGiSubEntityTraits.
|
inline |
Sets GI context for this object.
pContext | [in] Pointer to GI context. |
Definition at line 758 of file GiLayerTraitsData.h.
|
virtual |
Sets linetype identifier for this layer.
lineTypeId | [in] Linetype identifier to set. |
Implements OdGiSubEntityTraits.
|
virtual |
Sets linetype for this layer.
pLinetypeId | [in] Pointer to persistent identifier of a linetype to set. |
Implements OdGiLayerTraits.
|
virtual |
Sets lineweight associated for this layer.
lineweight | [in] LineWeight to set. |
Implements OdGiLayerTraits.
|
virtual |
Sets lineweight for this layer.
lineWeight | [in] Lineweight to set. |
Implements OdGiSubEntityTraits.
|
inline |
Specifies whether this layer is locked.
bVal | [in] Flag that specifies whether this layer should be locked. |
Definition at line 438 of file GiLayerTraitsData.h.
|
virtual |
Sets material for this layer.
pMaterialId | [in] Pointer to persistent material identifier. |
Implements OdGiLayerTraits.
|
inline |
Switches the layer on or off.
bVal | [in] Layer state. |
Definition at line 412 of file GiLayerTraitsData.h.
|
virtual |
Sets plot style name for this layer.
plotStyleNameType | [in] Plot style name type. |
pPlotStyleNameId | [in] Pointer to persistent plot style name identifier. |
Implements OdGiLayerTraits.
|
inline |
Specifies whether this layer is plottable.
bVal | [in] Flag that specifies whether this layer should be plottable. |
Definition at line 425 of file GiLayerTraitsData.h.
|
inline |
Definition at line 752 of file GiLayerTraitsData.h.
|
virtual |
Sets transparency for this layer.
transparency | [in] Transparency to set. |
Implements OdGiLayerTraits.
|
virtual |
Sets color for this layer.
color | [in] Color to set. |
Implements OdGiSubEntityTraits.
|
virtual |
Retrieves shadow flags for this layer.
Reimplemented from OdGiSubEntityTraits.
OdGiSubEntityTraits & OdGiLayerTraitsTaker::subEntityTraits | ( | ) | const |
Retrieves subentity traits associated with this layer.
|
virtual |
Retrieves thickness for a layer.
Implements OdGiSubEntityTraits.
|
virtual |
Retrieves transparency for this layer.
Implements OdGiLayerTraits.
|
virtual |
Retrieves color for this layer.
Implements OdGiLayerTraits_.
|
virtual |
Retrieves a reference to a viewport.
Reimplemented from OdGiDummyViewportDraw< OdGiWrapperViewportGeometry< OdGiViewportDraw_ > >.
Reimplemented in OdGiLayerTraitsTakerView.
|
virtual |
Retrieves the persistent identifier of an associated viewport.
Reimplemented from OdGiDummyViewportDraw< OdGiWrapperViewportGeometry< OdGiViewportDraw_ > >.
Reimplemented in OdGiLayerTraitsTakerView.
|
virtual |
Retrieves persistent visual style identifier.
Reimplemented from OdGiSubEntityTraits.