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;
OdSmartPtr< OdGiSectionGeometryManager > OdGiSectionGeometryManagerPtr
OdSmartPtr< OdGiDrawable > OdGiDrawablePtr
OdRxObject OdDbBaseDatabase
@ kOdGiHideOrShadeCommand
@ kOdGiSaveWorldDrawForProxy
#define GETBIT(flags, bit)
virtual double deviation(const OdGiDeviationType deviationType, const OdGePoint3d &pointOnCurve) const =0
virtual bool isDragging() const =0
virtual bool regenAbort() const =0
virtual OdGiGeometry & rawGeometry() const =0
virtual const OdGiPathNode * currentGiPath() const
virtual bool displayModelerSilhouettes() const
virtual OdGiSubEntityTraits & subEntityTraits() const =0
virtual OdGiContext * context() const =0
ODRX_DECLARE_MEMBERS(OdGiCommonDraw)
virtual OdUInt32 numberOfIsolines() const =0
virtual OdGiRegenType regenType() const =0
virtual OdUInt32 numberOfIsolines() const
virtual OdDbStub * getStubByID(OdUInt64 persistentId) const
virtual void drawShape(OdGiConveyorGeometry *pDest, const OdGePoint3d &position, const OdGeVector3d &direction, const OdGeVector3d &upVector, int shapeNumber, const OdGiTextStyle *pTextStyle, const OdGeVector3d *pExtrusion)
virtual ODCOLORREF paletteBackground() const
virtual bool ttfPolyDraw() const
virtual bool quickTextMode() const
virtual OdDbStub * getOwnerIDByStub(OdDbStub *objectId) const
ODRX_DECLARE_MEMBERS(OdGiContext)
virtual OdGiDrawablePtr openDrawable(OdDbStub *drawableId)=0
virtual void shapeExtentsBox(const OdGiTextStyle &textStyle, int shapeNumber, OdGePoint3d &min, OdGePoint3d &max)
virtual bool fillTtf() const
virtual OdUInt32 displaySilhouettes() const
virtual OdUInt64 getIDByStub(OdDbStub *objectId) const
virtual OdUInt32 drawableFilterFunction(OdIntPtr functionId, const OdGiDrawable *pDrawable, OdUInt32 nFlags)
bool displayMeshSilhouettes() 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 void drawShape(OdGiCommonDraw *pDraw, OdGePoint3d &position, int shapeNumber, const OdGiTextStyle *pTextStyle)
virtual void plotStyle(OdDbStub *objectId, OdPsPlotStyleData &plotStyleData) const
virtual void plotStyle(int penNumber, OdPsPlotStyleData &plotStyleData) const
virtual bool fillMode() const
virtual OdDbBaseDatabase * database() const =0
bool displayModelerSilhouettes() const
virtual unsigned int circleZoomPercent(OdDbStub *viewportId) const
virtual bool xrefPropertiesOverride() const
virtual void drawText(OdGiCommonDraw *pDraw, OdGePoint3d &position, const OdChar *msg, OdInt32 numBytes, const OdGiTextStyle *pTextStyle, OdUInt32 flags=0)
virtual void getDefaultTextStyle(OdGiTextStyle &textStyle)
virtual void drawText(OdGiCommonDraw *pDraw, OdGePoint3d &position, double height, double width, double oblique, const OdString &msg)
virtual OdDbStub * getStubByMatName(const OdString &strMatName) const
virtual OdGiSectionGeometryManagerPtr getSectionGeometryManager()
virtual OdUInt32 antiAliasingMode() const
virtual OdUInt32 fadingIntensityPercentage(FadingType fadingType) const
virtual OdDb::LineWeight defaultLineWeight() const
virtual ImageQuality imageQuality() const
virtual OdUInt32 glyphSize(GlyphType glyphType) const
virtual OdDbBaseDatabase * getDatabaseByStub(OdDbStub *objectId) const
virtual PStyleType plotStyleType() const
virtual OdUInt32 textQuality() const
virtual double commonLinetypeScale() const
virtual void textExtentsBox(const OdGiTextStyle &textStyle, const OdChar *msg, int nLength, OdUInt32 flags, OdGePoint3d &min, OdGePoint3d &max, OdGePoint3d *pEndPos=0)
virtual bool regenAbort() const
virtual bool isPlotGeneration() const
DrawableFilterOutputFlags
virtual OdUInt32 lineWeightConfiguration(LineWeightStyle styleEntry) const
virtual OdIntPtr drawableFilterFunctionId(OdDbStub *viewportId) const
OdGiDrawFlagsHelper(OdGiSubEntityTraits &pTraits, OdUInt32 addFlags, OdUInt32 delFlags=0)
OdGiSubEntityTraits * m_pTraits
virtual OdUInt32 drawFlags() const
virtual void setDrawFlags(OdUInt32 drawFlags)
GLint GLenum GLsizei width
GLint GLenum GLsizei GLsizei height
const T & min(const T &x, const T &y)
const T & max(const T &x, const T &y)