57 double deviation()
const;
64 void setDeviation(
double dDeviation);
119 enum Flags { kDraft = (1 << 0), kExternal = (1 << 1), kAlignedToCenter = (1 << 2), kEmpty = (1 << 3) };
160 bool isDraft()
const;
161 void setDraft(
bool draft);
169 double patternScale()
const;
176 void setPatternScale(
double scale );
178 bool isExternal()
const;
179 void setExternal(
bool isExt);
215 bool isAlignedToCenter()
const;
222 void setAlignedToCenter(
bool aligned);
228 bool isEmpty()
const;
235 void setEmpty(
bool empty);
247 m_dPatternScale(1.0),
248 m_patternLineWeight(
OdDb::LineWeight(-1)),
250 m_patternTransparency((
OdUInt8)255)
386 case 0: pObj = OdGiFill::createObject();
break;
390 case 4: pObj = OdGiHatchPattern::createObject();
break;
455 void set(
const double dDeviation,
456 const double dViewRotation,
457 const double dElevation,
462 const bool bHatchTooDense,
463 const bool bSolidFill,
464 const bool bGradientFill,
465 const bool bMPolygon,
519m_bHatchTooDense(
false),
521m_bGradientFill(
false),
526m_result(eInvalidInput),
527m_eData(kNotEvaluated)
OdSmartPtr< OdGiFill > OdGiFillPtr
OdSmartPtr< OdGiFillHatch > OdGiFillHatchPtr
OdSmartPtr< OdGiHatchPattern > OdGiHatchPatternPtr
bool operator!=(T left, const OdGiVariant::EnumType right)
bool operator==(T left, const OdGiVariant::EnumType right)
#define SETBIT(flags, bit, value)
#define GETBIT(flags, bit)
void setLoopsFlags(const OdUInt32Array &loopsFlags)
void set(const double dDeviation, const double dViewRotation, const double dElevation, const OdUInt32 maxHatchDensity, const OdUInt32 pointLimit, const OdUInt32 maxPointsToDraw, const OdInt16 nSmoothHatch, const bool bHatchTooDense, const bool bSolidFill, const bool bGradientFill, const bool bMPolygon, const bool bDBRO, const OdUInt32Array &loopsFlags, const OdUInt32Array &loopsMarker, const OdGeIslandStyle style, const OdHatchPattern &pattern)
const OdUInt32Array getLoopsFlags() const
OdUInt32 hatchDensity() const
OdGePoint2dArray m_endPoints
OdHatchPattern m_aHatchPattern
OdUInt32 pointLimit() const
OdUInt32Array m_loopsFlags
void setTolerance(const OdGeTol tol)
bool isHatchTooDense() const
bool isGradientFill() const
void setPoints(const OdGePoint2dArray &startPoints, const OdGePoint2dArray &endPoints)
OdUInt32 m_maxPointsToDraw
const OdUInt32Array getLoopsMarker() const
double viewRotation() const
OdGeTol getTolerance() const
virtual void copyFrom(const OdRxObject *pSource) ODRX_OVERRIDE
void setDrawCache(const bool bDrawCache)
OdUInt32Array m_loopsMarker
OdGeExtents3d getExtents() const
void setHatchTooDense(const bool bHatchTooDense)
OdResult getResult() const
ODRX_DECLARE_MEMBERS(OdGiFillHatch)
OdGeExtents3d m_extents3d
OdUInt32 m_maxHatchDensity
OdGeIslandStyle getStyle() const
OdHatchPattern & patternLines()
void setResult(const OdResult res)
OdInt16 smoothHatch() const
void setLoopsMarker(const OdUInt32Array &loopsMarker)
OdUInt32 maxDrawPoints() const
void setExtents(const OdGeExtents3d &ext3d)
OdGePoint2dArray m_startPoints
void getPoints(OdGePoint2dArray &startPoints, OdGePoint2dArray &endPoints) const
void pushDbl(OdUInt8Array &bytes, double dDbl) const
void popInt(const OdUInt8 *&pBytes, OdUInt32 &nInt) const
static OdSmartPtr< OdGiFill > loadFill(const OdUInt8 *pBytes)
ODRX_DECLARE_MEMBERS(OdGiFill)
virtual void copyFrom(const OdRxObject *pSource)
void pushInt(OdUInt8Array &bytes, OdUInt32 nInt) const
virtual void saveBytes(OdUInt8Array &bytes) const
void setDeviation(double dDeviation)
void popDbl(const OdUInt8 *&pBytes, double &dDbl) const
virtual void loadBytes(const OdUInt8 *pBytes)
virtual void copyFrom(const OdRxObject *pSource)
OdCmEntityColor getPatternColor() const
OdCmEntityColor m_patternColor
OdCmTransparency getPatternTransparency() const
OdHatchPattern m_aHatchPattern
OdCmTransparency m_patternTransparency
OdDb::LineWeight getPatternLineWeight() const
double patternScale() const
void setAlignedToCenter(bool aligned)
OdSmartPtr< OdGiHatchPattern > m_pNext
ODRX_DECLARE_MEMBERS(OdGiHatchPattern)
OdDb::LineWeight m_patternLineWeight
void setDraft(bool draft)
virtual void loadBytes(const OdUInt8 *pBytes)
void setExternal(bool isExt)
virtual void saveBytes(OdUInt8Array &bytes) const
void setPatternTransparency(const OdCmTransparency &transparency)
void setPatternLines(const OdHatchPattern &aHatchPattern)
void setEmpty(bool empty)
void setPatternScale(double scale)
const OdHatchPattern & patternLines() const
OdSmartPtr< OdGiHatchPattern > getNext() const
void setPatternLineWeight(OdDb::LineWeight lineweight)
bool isAlignedToCenter() const
void setPatternColor(const OdCmEntityColor &color)
void setNext(const OdSmartPtr< OdGiHatchPattern > &pNext)
GLsizei const GLfloat * value