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 kLastFlag = kForceDisplaySilhouettes
80 void setDatabase(
bool bWasTrackDbDestroy,
OdDbDatabase* pDb,
bool bTrackDbDestroy );
OdSmartPtr< OdGiContextForDbDatabase > OdGiContextForDbDatabasePtr
bool isContextualColorsManagementEnabled() const
virtual OdUInt32 numberOfIsolines() 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
OdGiContextForDbDatabase()
virtual bool ttfPolyDraw() const
virtual ImageQuality imageQuality() const
void setForceDisplaySilhouettes(bool bOn)
virtual void fillGsClientViewInfo(const OdDbObjectId &vpId, OdGsClientViewInfo &viewInfo)
void disableLayoutHelperLinkReactors(bool bDisableLinkReactors)
void enableContextualColorsManagement(bool bEnable)
virtual bool xrefPropertiesOverride() const
virtual PStyleType plotStyleType() const
virtual void updateContextualColors(OdGsView *pView)
bool isKeepPSLayoutHelperViewEnabled() const
virtual OdUInt32 antiAliasingMode() const
virtual OdIntPtr drawableFilterFunctionId(OdDbStub *viewportId) 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 setPaletteBackground(ODCOLORREF paletteBackground)
void setPlotGeneration(bool plotGeneration)
void enableGsModel(bool enable)
void setDatabase(OdDbDatabase *pDb, bool bTrackDbDestroy=true)
virtual OdGiSectionGeometryManagerPtr getSectionGeometryManager()
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 OdDbBaseDatabase * database() const
virtual bool quickTextMode() const
~OdGiContextForDbDatabase()
ODCOLORREF m_paletteBackground
virtual OdDbStub * getStubByID(OdUInt64 objectId) const
virtual OdDbStub * getStubByMatName(const OdString &strMatName) const
virtual double commonLinetypeScale() const
virtual void fillContextualColors(OdGiContextualColorsImpl *pCtxColors)
OdDbDatabase * getDatabase() const
bool isLayoutHelperLinkReactorsDisabled() const
bool isConstantModelSpaceLineweightsEnabled() const