CFx SDK Documentation  2023 SP0
Public Member Functions | Protected Attributes | List of all members
OdGiHatchPattern Class Reference

#include <GiFill.h>

Inheritance diagram for OdGiHatchPattern:
OdGiFill OdRxObject

Public Member Functions

 ODRX_DECLARE_MEMBERS (OdGiHatchPattern)
 
 OdGiHatchPattern ()
 
const OdHatchPatternpatternLines () const
 
OdHatchPatternpatternLines ()
 
void setPatternLines (const OdHatchPattern &aHatchPattern)
 
virtual void copyFrom (const OdRxObject *pSource)
 
virtual bool operator== (const OdGiFill &fill) const
 
virtual bool operator!= (const OdGiFill &fill) const
 
virtual void saveBytes (OdUInt8Array &bytes) const
 
virtual void loadBytes (const OdUInt8 *pBytes)
 
bool isDraft () const
 
void setDraft (bool draft)
 
- 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

OdHatchPattern m_aHatchPattern
 
bool m_isDraft
 
- 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 ()
 
- 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 specialtion of OdGiFill for hatch pattern type of filling.

<group OdGi_Classes>

Definition at line 159 of file GiFill.h.

Constructor & Destructor Documentation

◆ OdGiHatchPattern()

OdGiHatchPattern::OdGiHatchPattern ( )
inline

Definition at line 191 of file GiFill.h.

Member Function Documentation

◆ copyFrom()

void OdGiHatchPattern::copyFrom ( const OdRxObject pSource)
inlinevirtual

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 OdGiFill.

Definition at line 215 of file GiFill.h.

◆ isDraft()

bool OdGiHatchPattern::isDraft ( ) const
inline

Definition at line 323 of file GiFill.h.

◆ loadBytes()

void OdGiHatchPattern::loadBytes ( const OdUInt8 pBytes)
inlinevirtual

Reimplemented from OdGiFill.

Definition at line 287 of file GiFill.h.

◆ ODRX_DECLARE_MEMBERS()

OdGiHatchPattern::ODRX_DECLARE_MEMBERS ( OdGiHatchPattern  )

◆ operator!=()

bool OdGiHatchPattern::operator!= ( const OdGiFill fill) const
inlinevirtual

Reimplemented from OdGiFill.

Definition at line 262 of file GiFill.h.

◆ operator==()

bool OdGiHatchPattern::operator== ( const OdGiFill fill) const
inlinevirtual

Reimplemented from OdGiFill.

Definition at line 229 of file GiFill.h.

◆ patternLines() [1/2]

OdHatchPattern & OdGiHatchPattern::patternLines ( )
inline

Definition at line 203 of file GiFill.h.

◆ patternLines() [2/2]

const OdHatchPattern & OdGiHatchPattern::patternLines ( ) const
inline

Definition at line 197 of file GiFill.h.

◆ saveBytes()

void OdGiHatchPattern::saveBytes ( OdUInt8Array bytes) const
inlinevirtual

Reimplemented from OdGiFill.

Definition at line 268 of file GiFill.h.

◆ setDraft()

void OdGiHatchPattern::setDraft ( bool  draft)
inline

Definition at line 329 of file GiFill.h.

◆ setPatternLines()

void OdGiHatchPattern::setPatternLines ( const OdHatchPattern aHatchPattern)
inline

Definition at line 209 of file GiFill.h.

Member Data Documentation

◆ m_aHatchPattern

OdHatchPattern OdGiHatchPattern::m_aHatchPattern
protected

Definition at line 162 of file GiFill.h.

◆ m_isDraft

bool OdGiHatchPattern::m_isDraft
protected

Definition at line 163 of file GiFill.h.


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