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__
#define GS_TOOLKIT_EXPORT
OdVector< OdGiLayerTraitsData, OdMemoryAllocator< OdGiLayerTraitsData > > OdGiLayerTraitsDataArray
#define SETBIT(flags, bit, value)
#define GETBIT(flags, bit)
virtual OdUInt32 numberOfIsolines() const
virtual bool regenAbort() const
virtual void getNumPixelsInUnitSquare(const OdGePoint3d &pt, OdGePoint2d &pixelDensity, bool bUsePerspective=true) const
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 OdGiContext * context() const
virtual bool doInversePerspective(OdGePoint3d &pt) const
bool isValidId(const OdUInt32 acgiId) const
virtual double deviation(const OdGiDeviationType type, const OdGePoint3d &pt) const
OdDbStub * viewportObjectId() const
OdUInt32 sequenceNumber() const
virtual OdGeVector3d getCameraUpVector() const
virtual double linetypeGenerationCriteria() const
virtual OdUInt32 viewportId() const
virtual bool getFrontAndBackClipValues(bool &clipFront, bool &clipBack, double &front, double &back) const
virtual double linetypeScaleMultiplier() const
virtual OdGeMatrix3d getWorldToEyeTransform() const
OdGiViewport & viewport() const
virtual bool doPerspective(OdGePoint3d &pt) const
virtual OdGeMatrix3d getModelToEyeTransform() const
OdGiLayerTraitsTakerView(OdGsViewImpl &view)
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
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
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
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
OdDbStub * getViewportObjectId() const
const OdGeVector3d & eyeVector() 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
OdGiRegenType getRegenType() const
virtual double backClip() const
void viewportDcCorners(OdGePoint2d &lower_left, OdGePoint2d &upper_right) const
virtual void clientViewInfo(OdGsClientViewInfo &viewInfo) const
GLuint GLsizei GLsizei GLint GLenum * type