CFx SDK Documentation 2024 SP0
|
#include <GsLayerNode.h>
Protected Attributes | |
OdGsViewImpl & | m_view |
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 |
Protected Member Functions inherited from OdGiLayerTraitsTaker | |
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 is a helper class to substitute OdGiLayerTraitsTaker in OdGsBaseModel::propagateLayerChanges() where vectorizers are not available to be set by setRefView(), and not actually required. <group OdGs_Classes>
Definition at line 325 of file GsLayerNode.h.
|
inline |
Constructor for the OdGiLayerTraitsTakerView class.
view | [in] Implementation view object. |
pInheritTaker | [in] Pointer to the layer traits taker object. |
Definition at line 335 of file GsLayerNode.h.
|
inlinevirtual |
Returns the ID for this Viewport object.
Implements OdGiViewport.
Definition at line 489 of file GsLayerNode.h.
|
inlinevirtual |
OdRxObject methods
Adds reference to this object. Does nothing in current implementation.
Reimplemented from OdGiLayerTraitsTaker.
Definition at line 561 of file GsLayerNode.h.
|
inlinevirtual |
Retrieves pointer to a context associated with this object.
Definition at line 638 of file GsLayerNode.h.
|
inlinevirtual |
OdGiCommonDraw methods
Retrieves the recommended maximum deviation of the current vectorization for the specified point on a curve.
type | [in] Deviation type. |
pt | [in] Point on a curve. |
Value kOdGiMaxDevForCircle 0
kOdGiMaxDevForCurve 1
kOdGiMaxDevForBoundary 2
kOdGiMaxDevForIsoline 3 kOdGiMaxDevForFacet 4
Reimplemented from OdGiLayerTraitsTaker.
Definition at line 595 of file GsLayerNode.h.
|
inlinevirtual |
Applies the inverse of the current perspective transformation to the specified point.
point | [in/out] Any 3D point. |
Implements OdGiViewport.
Definition at line 439 of file GsLayerNode.h.
|
inlinevirtual |
Applies the current perspective transformation to the specified point.
point | [in/out] Any 3D point. |
Implements OdGiViewport.
Definition at line 427 of file GsLayerNode.h.
|
inlinevirtual |
Returns the WCS camera (eye) location for this Viewport object.
Implements OdGiViewport.
Definition at line 458 of file GsLayerNode.h.
|
inlinevirtual |
Returns the WCS camera target for this Viewport object.
Implements OdGiViewport.
Definition at line 463 of file GsLayerNode.h.
|
inlinevirtual |
Returns the WCS camera "up" vector for this Viewport object.
Implements OdGiViewport.
Definition at line 468 of file GsLayerNode.h.
|
inlinevirtual |
Returns the transformation matrix from EyeSpace to ModelSpace for this Viewport object.
Implements OdGiViewport.
Definition at line 392 of file GsLayerNode.h.
|
inlinevirtual |
Returns the transformation matrix from EyeSpace to WCS for this Viewport object.
Implements OdGiViewport.
Definition at line 408 of file GsLayerNode.h.
|
inlinevirtual |
Returns the front and back clipping parameters for this Viewport object.
clipFront | [out] Receives true if and only if front clipping is enabled. |
clipBack | [out] Receives true if and only if back clipping is enabled. |
front | [out] Receives the front clipping distance. |
back | [out] Receives the back clipping distance. |
Implements OdGiViewport.
Definition at line 523 of file GsLayerNode.h.
|
inlinevirtual |
OdGiViewport methods
Returns the transformation matrix from ModelSpace to EyeSpace for this Viewport object.
Implements OdGiViewport.
Definition at line 384 of file GsLayerNode.h.
|
inlinevirtual |
Returns the display pixel density at the specified point for this Viewport object.
point | [in] WCS center of the unit square. |
pixelDensity | [out] Receives the pixel density. |
bUsePerspective | [in] Enable perspective inclusion into pixel density calculation. |
Implements OdGiViewport.
Definition at line 452 of file GsLayerNode.h.
|
inlinevirtual |
Returns lower-left and upper-right corners of this Viewport object in normalized device Coordinates.
lowerLeft | [out] Receives the lower-left corner. |
upperRight | [out] Receives the upper-right. |
Implements OdGiViewport.
Definition at line 505 of file GsLayerNode.h.
|
inlinevirtual |
Returns the transformation matrix from WCS to EyeSpace for this Viewport object.
Implements OdGiViewport.
Definition at line 400 of file GsLayerNode.h.
|
inlinevirtual |
Checks whether perspective mode is turned on for this Viewport.
Implements OdGiViewport.
Definition at line 415 of file GsLayerNode.h.
|
inlinevirtual |
Returns true if and only if specified Viewport ID is a valid Viewport ID.
viewportId | [in] Viewport ID. |
Reimplemented from OdGiLayerTraitsTaker.
Definition at line 364 of file GsLayerNode.h.
|
inlinevirtual |
Checks whether the specified layer is not frozen either globally or in this Viewport object.
layerId | [in] Object ID of OdLayerTableRecord. |
Implements OdGiViewport.
Definition at line 552 of file GsLayerNode.h.
|
inlinevirtual |
Returns the WCS value below which linetype generation is not used.
Implements OdGiViewport.
Definition at line 543 of file GsLayerNode.h.
|
inlinevirtual |
Returns a multiplier that is used to scale all linetypes in this Viewport object.
Implements OdGiViewport.
Definition at line 534 of file GsLayerNode.h.
|
inlinevirtual |
Retrieves the number of isolines to be drawn on surfaces during this vectorization.
Reimplemented from OdGiLayerTraitsTaker.
Definition at line 606 of file GsLayerNode.h.
|
inlinevirtual |
Checks whether this vectorization process should be aborted.
Reimplemented from OdGiLayerTraitsTaker.
Definition at line 633 of file GsLayerNode.h.
|
inlinevirtual |
Retrieves the regeneration type of the current vectorization process.
Value eOdGiRegenTypeInvalid 0 kOdGiStandardDisplay 2 kOdGiHideOrShadeCommand 3 kOdGiRenderCommand 4 kOdGiForExplode 5 kOdGiSaveWorldDrawForProxy 6 kOdGiForExtents 7
Reimplemented from OdGiLayerTraitsTaker.
Definition at line 625 of file GsLayerNode.h.
|
inlinevirtual |
Releases reference to this object. Does nothing in current implementation.
Reimplemented from OdGiLayerTraitsTaker.
Definition at line 566 of file GsLayerNode.h.
|
inlinevirtual |
Returns the number of viewports that have been deleted from the current database during this editing session.
Reimplemented from OdGiLayerTraitsTaker.
Definition at line 354 of file GsLayerNode.h.
|
inlinevirtual |
Returns the vector from the camera target to the camera location.
Implements OdGiViewport.
Definition at line 473 of file GsLayerNode.h.
|
inlinevirtual |
OdGiViewportDraw methods
Returns a reference to the OdGiViewport object associated with this object.
Reimplemented from OdGiLayerTraitsTaker.
Definition at line 348 of file GsLayerNode.h.
|
inlinevirtual |
Returns the OdGi Viewport ID for this Viewport object.
Implements OdGiViewport.
Definition at line 481 of file GsLayerNode.h.
|
inlinevirtual |
Returns the Object ID of the OdDbViewport object associated with this object.
Reimplemented from OdGiLayerTraitsTaker.
Definition at line 372 of file GsLayerNode.h.
|
protected |
Definition at line 640 of file GsLayerNode.h.