CFx SDK Documentation 2024 SP0
|
#include <GiFill.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdGiHatchPattern) | |
OdGiHatchPattern () | |
const OdHatchPattern & | patternLines () const |
OdHatchPattern & | patternLines () |
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) |
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< OdGiHatchPattern > | getNext () const |
void | setNext (const OdSmartPtr< OdGiHatchPattern > &pNext) |
bool | isAlignedToCenter () const |
void | setAlignedToCenter (bool aligned) |
bool | isEmpty () const |
void | setEmpty (bool empty) |
Public Member Functions inherited from OdGiFill | |
ODRX_DECLARE_MEMBERS (OdGiFill) | |
OdGiFill () | |
double | deviation () const |
void | setDeviation (double dDeviation) |
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) |
Public Member Functions inherited from OdRxObject | |
ODRX_HEAP_OPERATORS () | |
OdRxObject () | |
virtual | ~OdRxObject () |
virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
virtual OdRxObject * | x (const OdRxClass *pClass) const |
virtual OdRxClass * | isA () const |
virtual void | addRef ()=0 |
virtual void | release ()=0 |
virtual long | numRefs () const |
bool | isKindOf (const OdRxClass *pClass) const |
virtual OdRxObjectPtr | clone () const |
virtual void | copyFrom (const OdRxObject *pSource) |
virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
virtual bool | isEqualTo (const OdRxObject *pOther) const |
Protected Types | |
enum | Flags { kDraft = (1 << 0) , kExternal = (1 << 1) , kAlignedToCenter = (1 << 2) , kEmpty = (1 << 3) } |
Protected Attributes | |
OdHatchPattern | m_aHatchPattern |
double | m_dPatternScale |
OdDb::LineWeight | m_patternLineWeight |
OdCmEntityColor | m_patternColor |
OdCmTransparency | m_patternTransparency |
OdSmartPtr< OdGiHatchPattern > | m_pNext |
OdUInt32 | m_nFlags |
Protected Attributes inherited from OdGiFill | |
double | m_dDeviation |
Additional Inherited Members | |
Static Public Member Functions inherited from OdGiFill | |
static OdSmartPtr< OdGiFill > | loadFill (const OdUInt8 *pBytes) |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
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 |
This class is a specialization of OdGiFill for hatch pattern type of filling.
<group OdGi_Classes>
|
protected |
|
inline |
Default constructor for the OdGiHatchPattern class. Sets the pattern scale to 1.0, pattern flags to 0 and initializes the underlaying fill object.
|
virtual |
details Copies the contents of the specified object into this object.
pSource | [in] Pointer to the source object. |
Throws: eNotApplicable Exception
Reimplemented from OdGiFill.
Reimplemented in OdGiFillHatch.
|
inline |
Is used to obtain next pattern in the pattern chain
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Reimplemented from OdGiFill.
OdGiHatchPattern::ODRX_DECLARE_MEMBERS | ( | OdGiHatchPattern | ) |
|
virtual |
Reimplemented from OdGiFill.
Reimplemented in OdGiFillHatch.
|
virtual |
Reimplemented from OdGiFill.
Reimplemented in OdGiFillHatch.
|
inline |
|
inline |
|
inline |
|
virtual |
Reimplemented from OdGiFill.
|
inline |
|
inline |
|
inline |
Is used to set next pattern in the pattern chain
pNext | [in] Pointer to OdGiHatchPattern |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |