24#ifndef _ODGSPROPERTIES_H_INCLUDED_
25#define _ODGSPROPERTIES_H_INCLUDED_
124 kBackground = (1 << 1),
127 kVisualStyle = (1 << 2),
130 kRenderEnvironment = (1 << 3),
133 kRenderSettings = (1 << 4),
139 kDeviceBackground = 3,
OdSmartPtr< OdGiDrawable > OdGiDrawablePtr
#define GS_TOOLKIT_EXPORT
OdSmartPtr< OdGsProperties > OdGsPropertiesPtr
virtual void directRenderOutputImage(const OdGePoint3d *, const OdGiRasterImage *, const OdGsPropertiesDirectRenderOutput::DirectRenderImageParams &)
virtual void directRenderOutputTriangleFlat(const OdGePoint3d &, const OdGePoint3d &, const OdGePoint3d &, const OdCmEntityColor &)
virtual void directRenderOutputPolygoneFlat(OdUInt32, const OdGePoint3d *, const OdCmEntityColor &)
virtual OdUInt32 directRenderOutputFlags() const =0
virtual void directRenderOutputLineFlat(const OdGePoint3d &, const OdGePoint3d &, const OdCmEntityColor &)
virtual ~OdGsPropertiesDirectRenderOutput()
virtual void directRenderOutputPolygoneGouraud(OdUInt32, const OdGePoint3d *, const OdCmEntityColor *)
virtual void directRenderOutputTriangleGouraud(const OdGePoint3d &, const OdGePoint3d &, const OdGePoint3d &, const OdCmEntityColor &, const OdCmEntityColor &, const OdCmEntityColor &)
virtual void directRenderOutputLineGouraud(const OdGePoint3d &, const OdGePoint3d &, const OdCmEntityColor &, const OdCmEntityColor &)
@ DirectRender_PolygoneGouraud
@ DirectRender_PolygoneFlat
@ DirectRender_TriangleGouraud
@ DirectRender_TriangleFlat
@ DirectRender_LineGouraud
virtual void directRenderOutputPoint(const OdGePoint3d &, const OdCmEntityColor &)
bool hasUnderlyingDrawable() const
void * m_pUnderlyingDrawable
virtual void display(OdGsBaseVectorizer &view, OdGsPropertiesDirectRenderOutput *pdro=NULL, OdUInt32 incFlags=kAll)=0
virtual OdSmartPtr< OdGsProperties > propertiesForType(PropertiesType) const
OdDbStub * underlyingDrawableId() const
OdGiDrawablePtr underlyingDrawable() const
const OdGiDrawable * m_pInconsistentDrawable
virtual PropertiesType propertiesType() const =0
virtual void update(const OdGiDrawable *pUnderlyingDrawable, OdGsViewImpl *view, OdUInt32 incFlags=kAll)=0
bool isUnderlyingDrawableChanged(const OdGiDrawable *pUnderlyingDrawable) const
ODRX_DECLARE_MEMBERS(OdGsProperties)
void setOpenDrawableFn(OdGiDrawablePtr(*fn)(OdDbStub *))
void setUnderlyingDrawable(const OdGiDrawable *pUnderlyingDrawable, OdGiContext *ctx)
bool m_bDrawablePersistent
OdGiDrawable::DrawableType m_dType
OdGiDrawable::DrawableType underlyingDrawableType() const
bool isUnderlyingDrawablePersistent() const
DirectRenderImageUV * uvCoords
const OdGiDrawable * pDrawable