24#ifndef __ODGISELECTIONSTYLE_H__
25#define __ODGISELECTIONSTYLE_H__
291 {
switch (edgeMode) {
511 else { m_flags[0] = m_flags[1] = 0; }
516 int makeEntryId(
bool bDrawOnTop,
bool bDrawIn3d)
const {
return ((bDrawOnTop) ? 1 : 0) | ((bDrawIn3d) ? 2 : 0); }
bool operator!=(T left, const OdGiVariant::EnumType right)
bool operator==(T left, const OdGiVariant::EnumType right)
#define SETBIT(flags, bit, value)
#define SETBIT_0(flags, bit)
#define GETBIT(flags, bit)
#define SETBIT_1(flags, bit)
const OdCmEntityColor & color() const
OdUInt8 transparency() const
void setTransparency(OdUInt8 transparency)
void setColor(const OdCmEntityColor &color)
void setColor(const OdCmEntityColor &color, OdUInt8 transparency)
void setMode(Mode edgeMode)
void setLineWeightExtension(OdInt32 nLwdExtension)
bool hasLineWeightExtension() const
void setForColorMasking()
OdInt32 m_lineWeightExtension
OdInt32 lineWeightExtension() const
const ColorMask & colorMask() const
void setVisible(bool bVisible)
void setForColorMasking()
void enablePattern(bool bEnable)
bool isColorMaskingEnabled() const
void enableColorMasking(bool bEnable)
bool isOnTopOfDepth() const
bool isPatternEnabled() const
const FaceStyle & faceStyle() const
bool isOnTopOfDepth() const
const EdgeStyle & edgeStyle() const
void setForColorMasking()
void setForColorMasking(const OdCmEntityColor &color, OdUInt8 transparency)
WrapGIntFlags(StyleEntry &style, bool bWrap=true)
void setForColorMasking()
void setOnTopOfDepth(bool bSet)
StyleEntry m_styleEntry[4]
bool isOnTopOfDepth() const
int makeEntryId(bool bDrawOnTop, bool bDrawIn3d) const
void exchangeTopBottom(bool bFor2d=true, bool bFor3d=true)
const StyleEntry & styleFor(bool bDrawOnTop=false, bool bDrawIn3d=false) const
StyleEntry & styleFor(bool bDrawOnTop=false, bool bDrawIn3d=false)
static void installIntFlags(ElementStyle &elemStyle, OdUInt32 flags)
static void setOnTopOfDepth(OdUInt32 &flags, bool bSet)
static OdUInt32 getIntFlags(const ElementStyle &elemStyle)
static OdUInt32 extractIntFlags(ElementStyle &elemStyle)
static bool isOnTopOfDepth(OdUInt32 flags)