24 #ifndef _ODGSPROPERTIES_H_INCLUDED_
25 #define _ODGSPROPERTIES_H_INCLUDED_
116 kBackground = (1 << 1),
117 kVisualStyle = (1 << 2),
118 kRenderEnvironment = (1 << 3),
119 kRenderSettings = (1 << 4),
123 kDeviceBackground = 3,
127 kDeviceRender = 0xFF,
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 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
OdGiDrawablePtr underlyingDrawable() const
const OdGiDrawable * m_pInconsistentDrawable
virtual PropertiesType propertiesType() const =0
virtual void update(const OdGiDrawable *pUnderlyingDrawable, OdGsViewImpl *view, OdUInt32 incFlags=kAll)=0
virtual OdSmartPtr< OdGsProperties > propertiesForType(PropertiesType) const
bool isUnderlyingDrawableChanged(const OdGiDrawable *pUnderlyingDrawable) const
ODRX_DECLARE_MEMBERS(OdGsProperties)
void setOpenDrawableFn(OdGiDrawablePtr(*fn)(OdDbStub *))
OdDbStub * underlyingDrawableId() const
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