24#ifndef __ODGICOMMONDRAW_H__
25#define __ODGICOMMONDRAW_H__
134 OdDbStub* drawableId) = 0;
306 OdDbStub* viewportId)
const;
379 kImageQualityDraft = 0,
380 kImageQualityHigh = 1
396 kImageHighlight = (1 << 0),
397 kImageSelect = (1 << 1)
413 kLockedLayerFade = 0,
459 kPointLineWeight = 0,
526 kNestedDrawable = 0x1000000
534 kSkipVectorization = 1
542 kDrawableFilterAppRangeStart = 0x1000000
543#if defined(OD_SWIGCSHARP)
544 , kDrawableFilterAppRangeMask = (
uint)0xFF000000
545#elif defined(OD_SWIGJAVA)
546 , kDrawableFilterAppRangeMask = (long)0xFF000000
548 , kDrawableFilterAppRangeMask = (
OdInt32)0xFF000000
703 kMeshSilhouettes = (1 << 0),
704 kModelerSilhouettes = (1 << 1),
705 kAllSilhouettes = kMeshSilhouettes | kModelerSilhouettes
920 if (addFlags || delFlags)
923 OdUInt32 newFlags = (m_prevFlags & ~delFlags) | addFlags;
924 if (m_prevFlags != newFlags)
927 m_pTraits = &pTraits;
OdSmartPtr< OdGiSectionGeometryManager > OdGiSectionGeometryManagerPtr
OdSmartPtr< OdGiDrawable > OdGiDrawablePtr
OdRxObject OdDbBaseDatabase
@ kOdGiHideOrShadeCommand
@ kOdGiSaveWorldDrawForProxy
#define GETBIT(flags, bit)
virtual OdGiGeometry & rawGeometry() const =0
virtual double deviation(const OdGiDeviationType deviationType, const OdGePoint3d &pointOnCurve) const =0
virtual bool isDragging() const =0
virtual bool regenAbort() const =0
virtual const OdGiPathNode * currentGiPath() const
virtual bool displayModelerSilhouettes() const
ODRX_DECLARE_MEMBERS(OdGiCommonDraw)
virtual OdGiSubEntityTraits & subEntityTraits() const =0
virtual OdUInt32 numberOfIsolines() const =0
virtual OdGiRegenType regenType() const =0
virtual OdGiContext * context() const =0
virtual OdDbBaseDatabase * database() const =0
virtual OdUInt32 numberOfIsolines() const
virtual bool useTtfTriangleCache() 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 OdDbBaseDatabase * getDatabaseByStub(OdDbStub *objectId) const
virtual bool quickTextMode() const
ODRX_DECLARE_MEMBERS(OdGiContext)
virtual OdUInt32 selectionStyle(OdUInt32 nStyle, OdGiSelectionStyle &selStyle) const
virtual OdDbStub * getStubByMaterialId(OdDbBaseDatabase *pBaseDb, const OdUInt64 &materialId) const
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 bool multiplyByBlockLinetypeScales() const
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 OdGiSectionGeometryManagerPtr getSectionGeometryManager()
virtual OdUInt32 antiAliasingMode() const
virtual OdDbStub * getStubByMatName(OdDbBaseDatabase *pBaseDb, const OdString &strMatName) const
virtual OdUInt32 fadingIntensityPercentage(FadingType fadingType) const
virtual OdDb::LineWeight defaultLineWeight() const
virtual OdDbStub * getOwnerIDByStub(OdDbStub *objectId) const
virtual CoordinatesSystem customViewportGeometryCS(CoordinatesSystem csType) const
virtual ImageQuality imageQuality() const
virtual OdUInt32 glyphSize(GlyphType glyphType) const
virtual OdDbStub * getStubByID(OdUInt64 persistentId) const
virtual PStyleType plotStyleType() const
virtual OdUInt32 textQuality() const
virtual double commonLinetypeScale() const
virtual OdUInt32 imageSelectionBehavior() 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
OdGiSubEntityTraits * m_pTraits
~OdGiSelectionGeomState()
OdGiSelectionGeomState(OdGiSubEntityTraits *pTraits, bool bOn)
virtual OdUInt32 drawFlags() const
virtual void setDrawFlags(OdUInt32 drawFlags)
virtual void setSelectionGeom(bool bSelectionFlag)
virtual bool selectionGeom() const
GLint GLenum GLsizei width
GLint GLenum GLsizei GLsizei height