CFx SDK Documentation 2026 SP0
Loading...
Searching...
No Matches
OdGiFillHatch Class Reference

#include <GiFill.h>

Inheritance diagram for OdGiFillHatch:
OdGiHatchPattern OdGiFill OdRxObject

Public Types

enum  EvaluateEnum { kNotEvaluated = 0 , kEvaluated = 1 , kEvaluatedEmpty = 2 }
 

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdGiFillHatch)
 
 OdGiFillHatch ()
 
 ~OdGiFillHatch ()
 
virtual void copyFrom (const OdRxObject *pSource) ODRX_OVERRIDE
 
virtual bool operator== (const OdGiFill &fill) const ODRX_OVERRIDE
 
virtual bool operator!= (const OdGiFill &fill) const ODRX_OVERRIDE
 
double deviation () const
 
double viewRotation () const
 
double elevation () const
 
OdUInt32 hatchDensity () const
 
OdUInt32 pointLimit () const
 
OdUInt32 maxDrawPoints () const
 
OdInt16 smoothHatch () const
 
bool isSolidFill () const
 
bool isHatchTooDense () const
 
bool isGradientFill () const
 
bool isDrawCache () const
 
bool isMPolygon () const
 
bool isDBRO () const
 
bool hasCache () const
 
OdResult getResult () const
 
EvaluateEnum getEvaluateData () const
 
const OdUInt32Array getLoopsFlags () const
 
const OdUInt32Array getLoopsMarker () const
 
OdGeIslandStyle getStyle () const
 
OdGeExtents3d getExtents () const
 
OdGeTol getTolerance () const
 
void getPoints (OdGePoint2dArray &startPoints, OdGePoint2dArray &endPoints) const
 
OdSharedPtr< OdGeShellDatagetShellData () const
 
OdHatchPatternpatternLines ()
 
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)
 
void setHatchTooDense (const bool bHatchTooDense)
 
void setResult (const OdResult res)
 
void setEvaluateData (const EvaluateEnum eData)
 
void setLoopsFlags (const OdUInt32Array &loopsFlags)
 
void setLoopsMarker (const OdUInt32Array &loopsMarker)
 
void setExtents (const OdGeExtents3d &ext3d)
 
void setDrawCache (const bool bDrawCache)
 
void setTolerance (const OdGeTol tol)
 
void setPoints (const OdGePoint2dArray &startPoints, const OdGePoint2dArray &endPoints)
 
void setShellData (const OdSharedPtr< OdGeShellData > &)
 
bool CanUseSolidOptimization () const
 
void SetCanUseSolidOptimization (bool bCanUseSolidOptimization)
 
- Public Member Functions inherited from OdGiHatchPattern
 ODRX_DECLARE_MEMBERS (OdGiHatchPattern)
 
 OdGiHatchPattern ()
 
const OdHatchPatternpatternLines () const
 
OdHatchPatternpatternLines ()
 
void setPatternLines (const OdHatchPattern &aHatchPattern)
 
virtual void saveBytes (OdUInt8Array &bytes) const
 
virtual void loadBytes (const OdUInt8 *&pBytes)
 
bool isDraft () const
 
void setDraft (bool draft)
 
double patternScale () const
 
void setPatternScale (double scale)
 
bool isExternal () const
 
void setExternal (bool isExt)
 
OdCmEntityColor getPatternColor () const
 
void setPatternColor (const OdCmEntityColor &color)
 
OdDb::LineWeight getPatternLineWeight () const
 
void setPatternLineWeight (OdDb::LineWeight lineweight)
 
OdCmTransparency getPatternTransparency () const
 
void setPatternTransparency (const OdCmTransparency &transparency)
 
OdSmartPtr< OdGiHatchPatterngetNext () const
 
void setNext (const OdSmartPtr< OdGiHatchPattern > &pNext)
 
bool isAlignedToCenter () const
 
void setAlignedToCenter (bool aligned)
 
bool isEmpty () const
 
void setEmpty (bool empty)
 
bool isSolid () const
 
void setSolid (bool solid)
 
bool isDisabledBackgroundFill () const
 
void setDisabledBackgroundFill (bool disabled)
 
bool isDisabledTransparency () const
 
void setDisabledTransparency (bool disabled)
 
- Public Member Functions inherited from OdGiFill
 ODRX_DECLARE_MEMBERS (OdGiFill)
 
 OdGiFill ()
 
double deviation () const
 
void setDeviation (double dDeviation)
 
- Public Member Functions inherited from OdRxObject
 ODRX_HEAP_OPERATORS ()
 
 OdRxObject ()
 
virtual ~OdRxObject ()
 
virtual OdRxObjectqueryX (const OdRxClass *pClass) const
 
virtual OdRxObjectx (const OdRxClass *pClass) const
 
virtual OdRxClassisA () const
 
virtual void addRef ()=0
 
virtual void release ()=0
 
virtual long numRefs () const
 
bool isKindOf (const OdRxClass *pClass) const
 
virtual OdRxObjectPtr clone () const
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Protected Attributes

OdSharedPtr< OdGeShellDatam_pShellData
 
OdUInt32Array m_loopsFlags
 
OdUInt32Array m_loopsMarker
 
OdGePoint2dArray m_startPoints
 
OdGePoint2dArray m_endPoints
 
OdIntArray m_loopArray
 
OdIntArray m_loopTypes
 
OdHatchPattern m_aHatchPattern
 
OdGeExtents3d m_extents3d
 
OdGeTol m_tol
 
OdGeIslandStyle m_style
 
OdResult m_result
 
EvaluateEnum m_eData
 
double m_dDeviation
 
double m_dViewRotation
 
double m_dElevation
 
OdUInt32 m_maxHatchDensity
 
OdUInt32 m_pointLimit
 
OdUInt32 m_maxPointsToDraw
 
OdInt16 m_nSmoothHatch
 
bool m_bHatchTooDense
 
bool m_bSolidFill
 
bool m_bGradientFill
 
bool m_bDrawCache
 
bool m_bMPolygon
 
bool m_bDBRO
 
bool m_bCanUseSolidOptimization { true }
 
- Protected Attributes inherited from OdGiHatchPattern
OdHatchPattern m_aHatchPattern
 
double m_dPatternScale
 
OdDb::LineWeight m_patternLineWeight
 
OdCmEntityColor m_patternColor
 
OdCmTransparency m_patternTransparency
 
OdSmartPtr< OdGiHatchPatternm_pNext
 
OdUInt32 m_nFlags
 
- Protected Attributes inherited from OdGiFill
double m_dDeviation
 

Additional Inherited Members

- Static Public Member Functions inherited from OdGiFill
static OdSmartPtr< OdGiFillloadFill (const OdUInt8 *pBytes)
 
- Static Public Member Functions inherited from OdRxObject
static OdRxObjectPtr cast (const OdRxObject *pointer)
 
static OdRxClassdesc ()
 
static void rxInit ()
 
static void rxUninit ()
 
- Protected Types inherited from OdGiHatchPattern
enum  Flags {
  kDraft = (1 << 0) , kExternal = (1 << 1) , kAlignedToCenter = (1 << 2) , kEmpty = (1 << 3) ,
  kSolid = (1 << 4) , kDisabledBackgroundFill = (1 << 5) , kDisabledTransparency = (1 << 6)
}
 
- Protected Member Functions inherited from OdGiFill
void pushDbl (OdUInt8Array &bytes, double dDbl) const
 
void pushInt (OdUInt8Array &bytes, OdUInt32 nInt) const
 
void popDbl (const OdUInt8 *&pBytes, double &dDbl) const
 
void popInt (const OdUInt8 *&pBytes, OdUInt32 &nInt) const
 

Detailed Description

This class is a specialization of OdGiHatchPattern for hatch pattern type of filling for internal using.

<group OdGi_Classes>

Definition at line 480 of file GiFill.h.

Member Enumeration Documentation

◆ EvaluateEnum

Enumerator
kNotEvaluated 
kEvaluated 
kEvaluatedEmpty 

Definition at line 504 of file GiFill.h.

Constructor & Destructor Documentation

◆ OdGiFillHatch()

OdGiFillHatch::OdGiFillHatch ( )
inline

Default constructor for the OdGiFillHatch class.

Definition at line 615 of file GiFill.h.

◆ ~OdGiFillHatch()

OdGiFillHatch::~OdGiFillHatch ( )
inline

Destructor for the OdGiFillHatch class.

Definition at line 636 of file GiFill.h.

Member Function Documentation

◆ CanUseSolidOptimization()

bool OdGiFillHatch::CanUseSolidOptimization ( ) const

◆ copyFrom()

virtual void OdGiFillHatch::copyFrom ( const OdRxObject * pSource)
virtual

details Copies the contents of the specified object into this object.

Parameters
pSource[in] Pointer to the source object.
Remarks
The default implementation of this function does nothing but throw an eNotApplicable exception.

Throws: eNotApplicable Exception

Reimplemented from OdGiHatchPattern.

◆ deviation()

double OdGiFillHatch::deviation ( ) const

◆ elevation()

double OdGiFillHatch::elevation ( ) const

◆ getEvaluateData()

EvaluateEnum OdGiFillHatch::getEvaluateData ( ) const

◆ getExtents()

OdGeExtents3d OdGiFillHatch::getExtents ( ) const

◆ getLoopsFlags()

const OdUInt32Array OdGiFillHatch::getLoopsFlags ( ) const

◆ getLoopsMarker()

const OdUInt32Array OdGiFillHatch::getLoopsMarker ( ) const

◆ getPoints()

void OdGiFillHatch::getPoints ( OdGePoint2dArray & startPoints,
OdGePoint2dArray & endPoints ) const

◆ getResult()

OdResult OdGiFillHatch::getResult ( ) const

◆ getShellData()

OdSharedPtr< OdGeShellData > OdGiFillHatch::getShellData ( ) const

◆ getStyle()

OdGeIslandStyle OdGiFillHatch::getStyle ( ) const

◆ getTolerance()

OdGeTol OdGiFillHatch::getTolerance ( ) const

◆ hasCache()

bool OdGiFillHatch::hasCache ( ) const

◆ hatchDensity()

OdUInt32 OdGiFillHatch::hatchDensity ( ) const

◆ isDBRO()

bool OdGiFillHatch::isDBRO ( ) const

◆ isDrawCache()

bool OdGiFillHatch::isDrawCache ( ) const

◆ isGradientFill()

bool OdGiFillHatch::isGradientFill ( ) const

◆ isHatchTooDense()

bool OdGiFillHatch::isHatchTooDense ( ) const

◆ isMPolygon()

bool OdGiFillHatch::isMPolygon ( ) const

◆ isSolidFill()

bool OdGiFillHatch::isSolidFill ( ) const

◆ maxDrawPoints()

OdUInt32 OdGiFillHatch::maxDrawPoints ( ) const

◆ ODRX_DECLARE_MEMBERS()

OdGiFillHatch::ODRX_DECLARE_MEMBERS ( OdGiFillHatch )

◆ operator!=()

virtual bool OdGiFillHatch::operator!= ( const OdGiFill & fill) const
virtual

Reimplemented from OdGiHatchPattern.

◆ operator==()

virtual bool OdGiFillHatch::operator== ( const OdGiFill & fill) const
virtual

Reimplemented from OdGiHatchPattern.

◆ patternLines()

OdHatchPattern & OdGiFillHatch::patternLines ( )

◆ pointLimit()

OdUInt32 OdGiFillHatch::pointLimit ( ) const

◆ set()

void OdGiFillHatch::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 )

◆ SetCanUseSolidOptimization()

void OdGiFillHatch::SetCanUseSolidOptimization ( bool bCanUseSolidOptimization)

◆ setDrawCache()

void OdGiFillHatch::setDrawCache ( const bool bDrawCache)

◆ setEvaluateData()

void OdGiFillHatch::setEvaluateData ( const EvaluateEnum eData)

◆ setExtents()

void OdGiFillHatch::setExtents ( const OdGeExtents3d & ext3d)

◆ setHatchTooDense()

void OdGiFillHatch::setHatchTooDense ( const bool bHatchTooDense)

◆ setLoopsFlags()

void OdGiFillHatch::setLoopsFlags ( const OdUInt32Array & loopsFlags)

◆ setLoopsMarker()

void OdGiFillHatch::setLoopsMarker ( const OdUInt32Array & loopsMarker)

◆ setPoints()

void OdGiFillHatch::setPoints ( const OdGePoint2dArray & startPoints,
const OdGePoint2dArray & endPoints )

◆ setResult()

void OdGiFillHatch::setResult ( const OdResult res)

◆ setShellData()

void OdGiFillHatch::setShellData ( const OdSharedPtr< OdGeShellData > & )

◆ setTolerance()

void OdGiFillHatch::setTolerance ( const OdGeTol tol)

◆ smoothHatch()

OdInt16 OdGiFillHatch::smoothHatch ( ) const

◆ viewRotation()

double OdGiFillHatch::viewRotation ( ) const

Member Data Documentation

◆ m_aHatchPattern

OdHatchPattern OdGiFillHatch::m_aHatchPattern
protected

Definition at line 584 of file GiFill.h.

◆ m_bCanUseSolidOptimization

bool OdGiFillHatch::m_bCanUseSolidOptimization { true }
protected

Definition at line 608 of file GiFill.h.

◆ m_bDBRO

bool OdGiFillHatch::m_bDBRO
protected

Definition at line 603 of file GiFill.h.

◆ m_bDrawCache

bool OdGiFillHatch::m_bDrawCache
protected

Definition at line 601 of file GiFill.h.

◆ m_bGradientFill

bool OdGiFillHatch::m_bGradientFill
protected

Definition at line 600 of file GiFill.h.

◆ m_bHatchTooDense

bool OdGiFillHatch::m_bHatchTooDense
protected

Definition at line 598 of file GiFill.h.

◆ m_bMPolygon

bool OdGiFillHatch::m_bMPolygon
protected

Definition at line 602 of file GiFill.h.

◆ m_bSolidFill

bool OdGiFillHatch::m_bSolidFill
protected

Definition at line 599 of file GiFill.h.

◆ m_dDeviation

double OdGiFillHatch::m_dDeviation
protected

Definition at line 591 of file GiFill.h.

◆ m_dElevation

double OdGiFillHatch::m_dElevation
protected

Definition at line 593 of file GiFill.h.

◆ m_dViewRotation

double OdGiFillHatch::m_dViewRotation
protected

Definition at line 592 of file GiFill.h.

◆ m_eData

EvaluateEnum OdGiFillHatch::m_eData
protected

Definition at line 589 of file GiFill.h.

◆ m_endPoints

OdGePoint2dArray OdGiFillHatch::m_endPoints
protected

Definition at line 581 of file GiFill.h.

◆ m_extents3d

OdGeExtents3d OdGiFillHatch::m_extents3d
protected

Definition at line 585 of file GiFill.h.

◆ m_loopArray

OdIntArray OdGiFillHatch::m_loopArray
protected

Definition at line 582 of file GiFill.h.

◆ m_loopsFlags

OdUInt32Array OdGiFillHatch::m_loopsFlags
protected

Definition at line 578 of file GiFill.h.

◆ m_loopsMarker

OdUInt32Array OdGiFillHatch::m_loopsMarker
protected

Definition at line 579 of file GiFill.h.

◆ m_loopTypes

OdIntArray OdGiFillHatch::m_loopTypes
protected

Definition at line 583 of file GiFill.h.

◆ m_maxHatchDensity

OdUInt32 OdGiFillHatch::m_maxHatchDensity
protected

Definition at line 594 of file GiFill.h.

◆ m_maxPointsToDraw

OdUInt32 OdGiFillHatch::m_maxPointsToDraw
protected

Definition at line 596 of file GiFill.h.

◆ m_nSmoothHatch

OdInt16 OdGiFillHatch::m_nSmoothHatch
protected

Definition at line 597 of file GiFill.h.

◆ m_pointLimit

OdUInt32 OdGiFillHatch::m_pointLimit
protected

Definition at line 595 of file GiFill.h.

◆ m_pShellData

OdSharedPtr<OdGeShellData> OdGiFillHatch::m_pShellData
protected

Definition at line 577 of file GiFill.h.

◆ m_result

OdResult OdGiFillHatch::m_result
protected

Definition at line 588 of file GiFill.h.

◆ m_startPoints

OdGePoint2dArray OdGiFillHatch::m_startPoints
protected

Definition at line 580 of file GiFill.h.

◆ m_style

OdGeIslandStyle OdGiFillHatch::m_style
protected

Definition at line 587 of file GiFill.h.

◆ m_tol

OdGeTol OdGiFillHatch::m_tol
protected

Definition at line 586 of file GiFill.h.


The documentation for this class was generated from the following file: