CFx SDK Documentation
2020SP3
|
Go to the documentation of this file.
24 #ifndef __ODGICOMMONDRAW_H__
25 #define __ODGICOMMONDRAW_H__
126 OdDbStub* drawableId) = 0;
274 OdDbStub* viewportId)
const;
319 kImageQualityDraft = 0,
320 kImageQualityHigh = 1
333 kLockedLayerFade = 0,
374 kPointLineWeight = 0,
396 kNestedDrawable = 0x1000000
404 kSkipVectorization = 1
412 kDrawableFilterAppRangeStart = 0x1000000
413 #if defined(OD_SWIGCSHARP)
414 , kDrawableFilterAppRangeMask = (
uint)0xFF000000
415 #elif defined(OD_SWIGJAVA)
416 , kDrawableFilterAppRangeMask = (long)0xFF000000
418 , kDrawableFilterAppRangeMask = (
OdInt32)0xFF000000
530 kModelerSilhouettes = (1 << 1),
693 if (addFlags || delFlags)
696 OdUInt32 newFlags = (m_prevFlags & ~delFlags) | addFlags;
697 if (m_prevFlags != newFlags)
700 m_pTraits = &pTraits;
#define GETBIT(flags, bit)
virtual void plotStyle(OdDbStub *objectId, OdPsPlotStyleData &plotStyleData) const
virtual OdDbBaseDatabase * getDatabaseByStub(OdDbStub *objectId) const
OdRxObject OdDbBaseDatabase
virtual double commonLinetypeScale() const
virtual OdDb::LineWeight defaultLineWeight() const
virtual unsigned int circleZoomPercent(OdDbStub *viewportId) const
virtual double deviation(const OdGiDeviationType deviationType, const OdGePoint3d &pointOnCurve) const =0
virtual OdUInt32 lineWeightConfiguration(LineWeightStyle styleEntry) const
virtual bool xrefPropertiesOverride() const
virtual OdDbStub * getStubByID(OdUInt64 persistentId) const
const T & min(const T &x, const T &y)
virtual bool regenAbort() const
virtual bool fillMode() const
DrawableFilterOutputFlags
virtual void drawShape(OdGiConveyorGeometry *pDest, const OdGePoint3d &position, const OdGeVector3d &direction, const OdGeVector3d &upVector, int shapeNumber, const OdGiTextStyle *pTextStyle, const OdGeVector3d *pExtrusion)
virtual OdUInt32 fadingIntensityPercentage(FadingType fadingType) const
virtual void drawText(OdGiCommonDraw *pDraw, OdGePoint3d &position, const OdChar *msg, OdInt32 numBytes, const OdGiTextStyle *pTextStyle, OdUInt32 flags=0)
virtual OdGiSectionGeometryManagerPtr getSectionGeometryManager()
virtual void shapeExtentsBox(const OdGiTextStyle &textStyle, int shapeNumber, OdGePoint3d &min, OdGePoint3d &max)
virtual OdGiDrawablePtr openDrawable(OdDbStub *drawableId)=0
virtual OdDbStub * getOwnerIDByStub(OdDbStub *objectId) const
virtual void drawText(OdGiConveyorGeometry *pDest, const OdGePoint3d &position, const OdGeVector3d &direction, const OdGeVector3d &upVector, const OdChar *msg, OdInt32 numBytes, bool raw, const OdGiTextStyle *pTextStyle, const OdGeVector3d *pExtrusion)
virtual OdIntPtr drawableFilterFunctionId(OdDbStub *viewportId) const
virtual ImageQuality imageQuality() const
virtual OdGiSubEntityTraits & subEntityTraits() const =0
virtual OdUInt32 glyphSize(GlyphType glyphType) const
virtual OdUInt32 numberOfIsolines() const =0
virtual void drawText(OdGiCommonDraw *pDraw, OdGePoint3d &position, double height, double width, double oblique, const OdString &msg)
virtual void textExtentsBox(const OdGiTextStyle &textStyle, const OdChar *msg, int nLength, OdUInt32 flags, OdGePoint3d &min, OdGePoint3d &max, OdGePoint3d *pEndPos=0)
virtual OdUInt32 textQuality() const
virtual bool displayModelerSilhouettes() const
OdGiSubEntityTraits * m_pTraits
const T & max(const T &x, const T &y)
virtual void getDefaultTextStyle(OdGiTextStyle &textStyle)
bool displayMeshSilhouettes() const
GLint GLenum GLsizei GLsizei height
GLint GLenum GLsizei width
virtual OdUInt32 numberOfIsolines() const
virtual const OdGiPathNode * currentGiPath() const
OdSmartPtr< OdGiDrawable > OdGiDrawablePtr
virtual void drawShape(OdGiCommonDraw *pDraw, OdGePoint3d &position, int shapeNumber, const OdGiTextStyle *pTextStyle)
virtual OdUInt32 drawFlags() const
@ kOdGiSaveWorldDrawForProxy
virtual OdDbBaseDatabase * database() const =0
virtual bool fillTtf() const
ODRX_DECLARE_MEMBERS(OdGiCommonDraw)
ODRX_DECLARE_MEMBERS(OdGiContext)
virtual OdGiGeometry & rawGeometry() const =0
virtual OdGiRegenType regenType() const =0
virtual OdGiContext * context() const =0
@ kOdGiHideOrShadeCommand
virtual bool quickTextMode() const
virtual bool isDragging() const =0
virtual OdUInt32 displaySilhouettes() const
virtual bool ttfPolyDraw() const
virtual PStyleType plotStyleType() const
virtual void setDrawFlags(OdUInt32 drawFlags)
virtual OdUInt64 getIDByStub(OdDbStub *objectId) const
virtual bool isPlotGeneration() const
bool displayModelerSilhouettes() const
virtual OdUInt32 antiAliasingMode() const
OdGiDrawFlagsHelper(OdGiSubEntityTraits &pTraits, OdUInt32 addFlags, OdUInt32 delFlags=0)
virtual OdDbStub * getStubByMatName(const OdString &strMatName) const
virtual OdUInt32 drawableFilterFunction(OdIntPtr functionId, const OdGiDrawable *pDrawable, OdUInt32 nFlags)
virtual bool regenAbort() const =0
OdSmartPtr< OdGiSectionGeometryManager > OdGiSectionGeometryManagerPtr
virtual void plotStyle(int penNumber, OdPsPlotStyleData &plotStyleData) const
virtual ODCOLORREF paletteBackground() const