CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
24 #ifndef __OD_GS_LAYER_NODE__
25 #define __OD_GS_LAYER_NODE__
60 virtual void display(OdGsDisplayContext& ctx);
92 void setDirty(
bool bDirty);
93 bool isUpToDate(
OdUInt32 nVpId)
const;
96 bool isInvalidated()
const;
99 inline bool isVpFrozen()
const;
100 inline bool isFrozen()
const;
227 return (clipFront || clipBack);
249 #ifndef __OD_GS_EMPTY_METAFILE_CACHE_INLINES_INCLUDE__
250 #define __OD_GS_EMPTY_METAFILE_CACHE_INLINES_INCLUDE__
257 #endif // __OD_GS_LAYER_NODE__
virtual OdGePoint3d position() const
#define GETBIT(flags, bit)
virtual OdGiContext * context() const
bool isLayerVisible(OdDbStub *layerId) const
void setDirty(bool bDirty)
virtual bool isPerspective() const
OdGsLayerNode(OdGsBaseModel *pModel, const OdGiDrawable *pUnderlyingDrawable, bool bSetGsNode=true)
OdGiViewport & viewport() const
virtual double deviation(const OdGiDeviationType type, const OdGePoint3d &pt) const
double getLinetypeGenerationCriteria() const
virtual OdGeVector3d viewDir() const
virtual bool isPerspective() const
void propagateLayerChanges(OdGsViewImpl &view)
ODRX_DECLARE_MEMBERS(OdGsLayerNode)
GLuint GLsizei GLsizei GLint GLenum * type
OdGiLayerTraitsTakerView(OdGsViewImpl &view)
#define SETBIT(flags, bit, value)
virtual void clientViewInfo(OdGsClientViewInfo &viewInfo) const
virtual OdGeMatrix3d getModelToEyeTransform() const
OdGsLayerNode * m_pNextChanged
void reserveLayerTraits(OdUInt32 nVpId)
virtual OdUInt32 numberOfIsolines() const
OdGiRegenType getRegenType() const
virtual void getNumPixelsInUnitSquare(const OdGePoint3d &pt, OdGePoint2d &pixelDensity, bool bUsePerspective=true) const
virtual bool regenAbort() const
virtual bool getFrontAndBackClipValues(bool &clipFront, bool &clipBack, double &front, double &back) const
virtual OdInt16 acadWindowId() const
virtual bool layerVisible(OdDbStub *layerId) const
const OdGeMatrix3d & eyeToWorldMatrix() const
void setCacheUpToDate(OdUInt32 nVpId)
bool isValidId(const OdUInt32 acgiId) const
virtual bool regenAbort() const
OdGiLayerTraitsDataArray m_vpLayerTraits
virtual double getDeviation(const OdGiDeviationType deviationType, const OdGePoint3d &pointOnCurve, bool bRecalculate=false) const
virtual OdGeMatrix3d getWorldToEyeTransform() const
void update(OdGsUpdateContext &ctx, OdGsContainerNode *pParent, OdSiSpatialIndex *pParentIndex)
bool isTraitsCompatible(OdUInt32 nVpId1, OdUInt32 nVpId2) const
virtual ENodeType nodeType() const
virtual double linetypeGenerationCriteria() const
bool isValidViewportId(const OdUInt32 vpId) const
virtual double linetypeScaleMultiplier() const
const OdGeVector3d & eyeVector() const
const OdGeMatrix3d & worldToEyeMatrix() const
bool isInvalidated() const
virtual void update(OdGsBaseVectorizer &view)
virtual OdGePoint3d getCameraTarget() const
virtual OdUInt32 viewportId() const
double getLinetypeScaleMultiplier() const
OdUInt32 sequenceNumber() const
bool extents(OdGeExtents3d &) const
bool doInversePerspectivePt(OdGePoint3d &point) const
virtual bool doInversePerspective(OdGePoint3d &pt) const
virtual bool doPerspective(OdGePoint3d &pt) const
bool loadNodeState(OdGsFiler *pFiler, OdGsBaseVectorizer *pVectorizer=NULL)
OdDbStub * getViewportObjectId() const
virtual OdUInt32 numberOfIsolines() const
virtual void display(OdGsDisplayContext &ctx)
OdVector< OdGiLayerTraitsData, OdMemoryAllocator< OdGiLayerTraitsData > > OdGiLayerTraitsDataArray
void viewportDcCorners(OdGePoint2d &lower_left, OdGePoint2d &upper_right) const
bool doPerspectivePt(OdGePoint3d &point) const
virtual OdGeVector3d getCameraUpVector() const
OdGiLayerTraitsData m_layerTraits
void invalidate(OdGsContainerNode *pParent, OdGsViewImpl *pView, OdUInt32 mask)
OdUInt32 viewportId() const
bool isUpToDate(OdUInt32 nVpId) const
#define GS_TOOLKIT_EXPORT
virtual OdGePoint3d target() const
virtual OdGiContext * userGiContext() const =0
OdGiLayerTraitsData & layerTraits(OdUInt32 nVpId)
virtual OdGeMatrix3d getEyeToModelTransform() const
virtual void getViewportDcCorners(OdGePoint2d &lowerLeft, OdGePoint2d &upperRight) const
virtual OdGeMatrix3d getEyeToWorldTransform() const
virtual OdGePoint3d getCameraLocation() const
bool saveNodeState(OdGsFiler *pFiler, OdGsBaseVectorizer *pVectorizer=NULL) const
bool isValidCache(OdUInt32 nVpId) const
virtual bool isBackClipped() const
virtual OdGeVector3d upVector() const
virtual double frontClip() const
virtual bool isFrontClipped() const
virtual OdGiRegenType regenType() const
OdDbStub * viewportObjectId() const
virtual void getNumPixelsInUnitSquare(const OdGePoint3d &givenWorldpt, OdGePoint2d &pixelArea, bool includePerspective=true) const
virtual double backClip() const