24#ifndef _ODGI_CONTEXTFORDBDATABASE_INCLUDED_
25#define _ODGI_CONTEXTFORDBDATABASE_INCLUDED_
58 kOdGiZeroTextNormals = 4,
59 kDisableLayoutHelperLinkReactors = 8,
62 kManageContextualColors = 64,
63 kKeepPSLayoutHelperView = 128,
64 kErasePSLayoutHelperView = 256,
65 kConstantModelSpaceLineweights = 512,
66 kForceDisplaySilhouettes = 1024,
67 kUseTtfTriangleCache = 2048,
68 kVpGeomCSCompatibility = 4096,
69 kLastFlag = kVpGeomCSCompatibility
82 void setDatabase(
bool bWasTrackDbDestroy,
OdDbDatabase* pDb,
bool bTrackDbDestroy );
OdSmartPtr< OdGiContextForDbDatabase > OdGiContextForDbDatabasePtr
bool isContextualColorsManagementEnabled() const
virtual OdUInt32 numberOfIsolines() const
OdDbDatabase * getDatabase() const
bool isForceDisplaySilhouettesEnabled() const
ODCOLORREF paletteBackground() const
unsigned int circleZoomPercent(OdDbStub *viewportId) const
void enableConstantModelSpaceLineweights(bool bEnable)
virtual OdGiDrawablePtr openDrawable(OdDbStub *drawableId)
bool isPlotGeneration() const
virtual OdUInt32 fadingIntensityPercentage(FadingType fadingType) const
virtual OdUInt32 displaySilhouettes() const
virtual OdUInt32 textQuality() const
virtual OdDb::LineWeight defaultLineWeight() const
virtual OdDbBaseDatabase * database() const
OdGiContextForDbDatabase()
virtual bool ttfPolyDraw() const
virtual ImageQuality imageQuality() const
void setForceDisplaySilhouettes(bool bOn)
virtual OdUInt32 imageSelectionBehavior() const
virtual bool useTtfTriangleCache() const
virtual void fillGsClientViewInfo(const OdDbObjectId &vpId, OdGsClientViewInfo &viewInfo)
void disableLayoutHelperLinkReactors(bool bDisableLinkReactors)
virtual bool forceSortents() const
void enableContextualColorsManagement(bool bEnable)
virtual bool xrefPropertiesOverride() const
virtual PStyleType plotStyleType() const
virtual CoordinatesSystem customViewportGeometryCS(CoordinatesSystem csType) const
virtual void updateContextualColors(OdGsView *pView)
bool isKeepPSLayoutHelperViewEnabled() const
virtual OdUInt32 antiAliasingMode() const
virtual OdIntPtr drawableFilterFunctionId(OdDbStub *viewportId) const
virtual OdDbStub * getStubByMatName(OdDbBaseDatabase *pDb, const OdString &strMatName) const
OdPsPlotStyleTablePtr m_pPlotStyleTable
virtual void plotStyle(int penNumber, OdPsPlotStyleData &plotStyleData) const
void loadPlotStyleTable(OdStreamBuf *pStreamBuf)
void setHatchAsPolygon(SolidHatchAsPolygonMode mode)
virtual void plotStyle(OdDbStub *psNameId, OdPsPlotStyleData &plotStyleData) const
void setErasePSLayoutHelperView(bool bOn)
ODRX_DECLARE_MEMBERS(OdGiContextForDbDatabase)
void enableKeepPSLayoutHelperView(bool bEnable)
void setZeroTextNormals(bool bZeroTextNormals)
void setViewportGeomCSCompatibility(bool bEnable)
void setPaletteBackground(ODCOLORREF paletteBackground)
void setPlotGeneration(bool plotGeneration)
void enableGsModel(bool enable)
void setDatabase(OdDbDatabase *pDb, bool bTrackDbDestroy=true)
virtual OdGiSectionGeometryManagerPtr getSectionGeometryManager()
virtual OdDbStub * getStubByMaterialId(OdDbBaseDatabase *pDb, const OdUInt64 &materialId) const
virtual bool isZeroTextNormals() const
virtual OdUInt32 drawableFilterFunction(OdIntPtr functionId, const OdGiDrawable *pDrawable, OdUInt32 nFlags)
bool erasePSLayoutHelperView() const
virtual void getDefaultTextStyle(OdGiTextStyle &textStyle)
void setTtfPolyDrawMode(bool bPolyDraw)
SolidHatchAsPolygonMode hatchAsPolygon() const
virtual bool quickTextMode() const
~OdGiContextForDbDatabase()
ODCOLORREF m_paletteBackground
virtual double commonLinetypeScale() const
virtual void fillContextualColors(OdGiContextualColorsImpl *pCtxColors)
virtual OdDbStub * getStubByID(OdUInt64 objectId) const
bool isLayoutHelperLinkReactorsDisabled() const
virtual OdUInt32 selectionStyle(OdUInt32 nStyle, OdGiSelectionStyle &selStyle) const
bool isConstantModelSpaceLineweightsEnabled() const
void setUseTtfTriangleCache(bool bUseCache)