24#ifndef __OD_GS_LAYER_NODE__
25#define __OD_GS_LAYER_NODE__
65 virtual void display(OdGsDisplayContext& ctx);
136 bool isDirty()
const;
137 void setDirty(
bool bDirty);
146 bool isUpToDate(
OdUInt32 nVpId)
const;
170 bool isInvalidated()
const;
178 bool isVpDep()
const;
191 inline bool isVpFrozen()
const;
199 inline bool isFrozen()
const;
336 :
m_view(view) {
if (pInheritTaker)
reset(*pInheritTaker); }
528 return (clipFront || clipBack);
644#ifndef __OD_GS_EMPTY_METAFILE_CACHE_INLINES_INCLUDE__
645#define __OD_GS_EMPTY_METAFILE_CACHE_INLINES_INCLUDE__
#define GS_TOOLKIT_EXPORT
OdVector< OdGiLayerTraitsData, OdMemoryAllocator< OdGiLayerTraitsData > > OdGiLayerTraitsDataArray
#define ODRX_USING_HEAP_OPERATORS(T)
#define SETBIT(flags, bit, value)
#define GETBIT(flags, bit)
virtual OdUInt32 numberOfIsolines() const
virtual bool regenAbort() const
void reset(const OdGiLayerTraitsData <Data=OdGiLayerTraitsData())
virtual void getNumPixelsInUnitSquare(const OdGePoint3d &pt, OdGePoint2d &pixelDensity, bool bUsePerspective=true) const
OdGiLayerTraitsTakerView(OdGsViewImpl &view, const OdGiLayerTraitsTaker *pInheritTaker=NULL)
virtual OdGeVector3d viewDir() const
virtual OdGePoint3d getCameraLocation() const
virtual OdUInt32 numberOfIsolines() const
virtual bool layerVisible(OdDbStub *layerId) const
virtual bool regenAbort() const
virtual OdGeMatrix3d getEyeToWorldTransform() const
virtual OdInt16 acadWindowId() const
virtual bool doInversePerspective(OdGePoint3d &pt) const
bool isValidId(const OdUInt32 acgiId) const
virtual double deviation(const OdGiDeviationType type, const OdGePoint3d &pt) const
OdGiViewport & viewport() const
OdUInt32 sequenceNumber() const
virtual OdGeVector3d getCameraUpVector() const
virtual double linetypeGenerationCriteria() const
OdDbStub * viewportObjectId() const
virtual OdUInt32 viewportId() const
virtual OdGiContext * context() const
virtual bool getFrontAndBackClipValues(bool &clipFront, bool &clipBack, double &front, double &back) const
virtual double linetypeScaleMultiplier() const
virtual OdGeMatrix3d getWorldToEyeTransform() const
virtual bool doPerspective(OdGePoint3d &pt) const
virtual OdGeMatrix3d getModelToEyeTransform() const
virtual OdGeMatrix3d getEyeToModelTransform() const
virtual OdGiRegenType regenType() const
virtual bool isPerspective() const
virtual void getViewportDcCorners(OdGePoint2d &lowerLeft, OdGePoint2d &upperRight) const
virtual OdGePoint3d getCameraTarget() const
bool loadNodeState(OdGsFiler *pFiler, OdGsBaseVectorizer *pVectorizer=NULL)
void invalidate(OdGsContainerNode *pParent, OdGsViewImpl *pView, OdUInt32 mask)
OdGiLayerTraitsData & layerTraits(OdUInt32 nVpId)
void reserveLayerTraits(OdUInt32 nVpId)
OdGiLayerTraitsData m_layerTraits
OdGiLayerTraitsDataArray m_vpLayerTraits
virtual void update(OdGsBaseVectorizer &view)
void update(OdGsUpdateContext &ctx, OdGsContainerNode *pParent, OdSiSpatialIndex *pParentIndex)
virtual void display(OdGsDisplayContext &ctx)
bool isInvalidated() const
bool saveNodeState(OdGsFiler *pFiler, OdGsBaseVectorizer *pVectorizer=NULL) const
void setDirty(bool bDirty)
void propagateLayerChanges(OdGsViewImpl &view)
OdGsLayerNode * m_pNextChanged
virtual ENodeType nodeType() const
bool isValidCache(OdUInt32 nVpId) const
bool extents(OdGeExtents3d &) const
void updateVpFrozen(OdGsViewImpl *pView)
bool isTraitsCompatible(OdUInt32 nVpId1, OdUInt32 nVpId2) const
void setCacheUpToDate(OdUInt32 nVpId)
ODRX_DECLARE_MEMBERS(OdGsLayerNode)
bool isUpToDate(OdUInt32 nVpId) const
OdGsLayerNode(OdGsBaseModel *pModel, const OdGiDrawable *pUnderlyingDrawable, bool bSetGsNode=true)
virtual OdGiContext * userGiContext() const =0
OdUInt32 viewportId() const
virtual OdGiRegenType getRegenType() const
const OdGeMatrix3d & eyeToWorldMatrix() const
virtual double getDeviation(const OdGiDeviationType deviationType, const OdGePoint3d &pointOnCurve, bool bRecalculate=false) const
virtual OdGePoint3d position() const
virtual OdGePoint3d target() const
OdDbStub * getViewportObjectId() const
bool isLayerVisible(OdDbStub *layerId) const
virtual void getNumPixelsInUnitSquare(const OdGePoint3d &givenWorldpt, OdGePoint2d &pixelArea, bool includePerspective=true) const
virtual OdGeVector3d upVector() const
double getLinetypeGenerationCriteria() const
virtual bool isPerspective() const
const OdGeMatrix3d & worldToEyeMatrix() const
virtual double frontClip() const
double getLinetypeScaleMultiplier() const
bool doPerspectivePt(OdGePoint3d &point) const
virtual bool isBackClipped() const
virtual bool isFrontClipped() const
bool doInversePerspectivePt(OdGePoint3d &point) const
bool isValidViewportId(const OdUInt32 vpId) const
virtual double backClip() const
void viewportDcCorners(OdGePoint2d &lower_left, OdGePoint2d &upper_right) const
virtual void clientViewInfo(OdGsClientViewInfo &viewInfo) const
const OdGeVector3d & eyeVector() const
GLuint GLsizei GLsizei GLint GLenum * type