CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
24 #ifndef __OD_DB_UNDERLAY_ITEM__
25 #define __OD_DB_UNDERLAY_ITEM__
68 class OdUnderlayLayerImpl* m_pImpl;
137 #if !defined( SWIG ) //TODO: add managed support
187 typedef bool( *FnAbort )(
void* pData );
199 #endif // __OD_DB_UNDERLAY_ITEM__
virtual OdGiRasterImagePtr getThumbnail(OdDbUnderlayItem *pItem, int width, int height) const =0
virtual OdUInt32 underlayLayerCount() const
virtual OdResult getOsnapPoints(const OdGeMatrix3d &modelToWorld, OdDb::OsnapMode osnapMode, OdGsMarker gsSelectionMark, const OdGePoint3d &pickPoint, const OdGePoint3d &lastPoint, const OdGeMatrix3d &viewXform, const OdGeMatrix3d &ucs, OdGePoint3dArray &snapPoints, OdIntArray &geomIds) const
GLuint const GLchar * name
virtual void getMeasureDictInfo(OdDbUnderlayItemPtr item, double &measure) const =0
virtual OdString getName() const =0
GLsizei GLsizei GLchar * source
OdGePoint2d _pixelDensity
const T & min(const T &x, const T &y)
virtual OdGiRasterImagePtr getThumbnail() const =0
virtual void getParameters(OdDbUnderlayItemPtr item, const DwgParams &dwgParams, std::vector< PdfParams > &pdfParams) const =0
virtual void getImage(OdDbUnderlayItemPtr item, bool isPreview, const OdGePoint2d &pixelDensity, double ds, const OdGeMatrix3d &x, const OdGePoint2d vps[], ODCOLORREF backgroundColor, const OdDbUnderlayDrawContext &context, OdUInt32 viewportId, OdDbUnderlayReference *obj, bool isPlotGeneration, OnImageReady *pCallback) const =0
OdSmartPtr< OdDbUnderlayItemPE2 > OdDbUnderlayItemPE2Ptr
ODRX_DECLARE_MEMBERS(OdDbUnderlayItemPE)
virtual OdDb::UnitsValue getUnits() const =0
virtual OdGiRasterImagePtr getThumbnail(int width, int height) const
virtual void viewportDraw(OdGiViewportDraw *pVd, const OdDbUnderlayDrawContext &context) const =0
const T & max(const T &x, const T &y)
OdSmartPtr< OdDbUnderlayItem > OdDbUnderlayItemPtr
GLint GLenum GLsizei GLsizei height
GLint GLenum GLsizei width
bool adjustColorForBackground
virtual bool usingPartialContent() const
virtual bool viewportDraw(OdDbUnderlayItemPtr item, OdGiViewportDraw *pVd, const OdDbUnderlayDrawContext &context, const OdDbUnderlayReference *obj) const =0
OdSmartPtr< OdDbUnderlayItemPE > OdDbUnderlayItemPEPtr
virtual OdResult getUnderlayLayer(int idx, OdUnderlayLayer &layer) const
ODRX_DECLARE_MEMBERS(OdDbUnderlayItemPE2)
virtual OdGeMatrix3d modelTransform() const
virtual OdRxObjectPtr getSubEntityAtGsMarker(const OdGeMatrix3d &modelToWorld, OdGsMarker gsSelectionMark) const
virtual void getPageSize(OdDbUnderlayItemPtr item, OdGePoint2d &pageSize) const =0
PdfParams(const OdGeExtents2d &clipRect, double measureScale, double dpi_ratio)
OdArray< OdUnderlayLayer > layers
ODRX_DECLARE_MEMBERS(OdDbUnderlayItem)
static void GetUV(const OdGeExtents2d &clipRect, double measureScale, double dpi_ratio, OdGePoint3d &origin, OdGeVector3d &u, OdGeVector3d &v)
OdUnderlayLayer(const OdUnderlayLayer &source)
virtual void getImage(OdDbUnderlayItemPtr item, const PdfParams &pdfParams, Abort abort, ODCOLORREF backgroundColor, const OdDbUnderlayDrawContext &context, OdGiRasterImagePtr &pImage) const =0
typedef void(APIENTRYP PFNGLACTIVETEXTUREPROC)(GLenum texture)
virtual bool worldDraw(OdGiWorldDraw *pWd, const OdDbUnderlayDrawContext &context) const =0
virtual void getExtents(OdGePoint2d &min, OdGePoint2d &max) const =0
void setState(State state)
virtual OdResult getMediaBox(OdGePoint2d &min, OdGePoint2d &max) const
virtual OdResult intersectWith(const OdGeMatrix3d &modelToWorld, const OdRxObject *pEnt, OdDb::Intersect intType, const OdGePlane *projPlane, OdGePoint3dArray &points, OdGsMarker thisGsMarker, OdGsMarker otherGsMarker) const
void setName(const OdString &name)