CFx SDK Documentation 2024 SP0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | Protected Attributes | List of all members
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
 
const OdUInt32Array getLoopsFlags () const
 
const OdUInt32Array getLoopsMarker () const
 
OdGeIslandStyle getStyle () const
 
OdGeExtents3d getExtents () const
 
OdGeTol getTolerance () const
 
void getPoints (OdGePoint2dArray &startPoints, OdGePoint2dArray &endPoints) 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 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)
 
- Public Member Functions inherited from OdGiHatchPattern
 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)
 
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)
 
- 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 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 void copyFrom (const OdRxObject *pSource)
 
virtual OdRx::Ordering comparedTo (const OdRxObject *pOther) const
 
virtual bool isEqualTo (const OdRxObject *pOther) const
 

Public Attributes

enum OdGiFillHatch::EvaluateEnum m_eData
 

Protected Attributes

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
 
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
 
- 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 ()
 
- Protected Types inherited from OdGiHatchPattern
enum  Flags { kDraft = (1 << 0) , kExternal = (1 << 1) , kAlignedToCenter = (1 << 2) , kEmpty = (1 << 3) }
 
- 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 404 of file GiFill.h.

Member Enumeration Documentation

◆ EvaluateEnum

Enumerator
kNotEvaluated 
kEvaluated 
kEvaluatedEmpty 

Definition at line 421 of file GiFill.h.

Constructor & Destructor Documentation

◆ OdGiFillHatch()

OdGiFillHatch::OdGiFillHatch ( )
inline

Definition at line 513 of file GiFill.h.

◆ ~OdGiFillHatch()

OdGiFillHatch::~OdGiFillHatch ( )
inline

Definition at line 532 of file GiFill.h.

Member Function Documentation

◆ 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

◆ 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

◆ 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 
)

◆ setDrawCache()

void OdGiFillHatch::setDrawCache ( const bool  bDrawCache)

◆ 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)

◆ 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 489 of file GiFill.h.

◆ m_bDBRO

bool OdGiFillHatch::m_bDBRO
protected

Definition at line 507 of file GiFill.h.

◆ m_bDrawCache

bool OdGiFillHatch::m_bDrawCache
protected

Definition at line 505 of file GiFill.h.

◆ m_bGradientFill

bool OdGiFillHatch::m_bGradientFill
protected

Definition at line 504 of file GiFill.h.

◆ m_bHatchTooDense

bool OdGiFillHatch::m_bHatchTooDense
protected

Definition at line 502 of file GiFill.h.

◆ m_bMPolygon

bool OdGiFillHatch::m_bMPolygon
protected

Definition at line 506 of file GiFill.h.

◆ m_bSolidFill

bool OdGiFillHatch::m_bSolidFill
protected

Definition at line 503 of file GiFill.h.

◆ m_dDeviation

double OdGiFillHatch::m_dDeviation
protected

Definition at line 495 of file GiFill.h.

◆ m_dElevation

double OdGiFillHatch::m_dElevation
protected

Definition at line 497 of file GiFill.h.

◆ m_dViewRotation

double OdGiFillHatch::m_dViewRotation
protected

Definition at line 496 of file GiFill.h.

◆ m_eData

enum OdGiFillHatch::EvaluateEnum OdGiFillHatch::m_eData

◆ m_endPoints

OdGePoint2dArray OdGiFillHatch::m_endPoints
protected

Definition at line 486 of file GiFill.h.

◆ m_extents3d

OdGeExtents3d OdGiFillHatch::m_extents3d
protected

Definition at line 490 of file GiFill.h.

◆ m_loopArray

OdIntArray OdGiFillHatch::m_loopArray
protected

Definition at line 487 of file GiFill.h.

◆ m_loopsFlags

OdUInt32Array OdGiFillHatch::m_loopsFlags
protected

Definition at line 483 of file GiFill.h.

◆ m_loopsMarker

OdUInt32Array OdGiFillHatch::m_loopsMarker
protected

Definition at line 484 of file GiFill.h.

◆ m_loopTypes

OdIntArray OdGiFillHatch::m_loopTypes
protected

Definition at line 488 of file GiFill.h.

◆ m_maxHatchDensity

OdUInt32 OdGiFillHatch::m_maxHatchDensity
protected

Definition at line 498 of file GiFill.h.

◆ m_maxPointsToDraw

OdUInt32 OdGiFillHatch::m_maxPointsToDraw
protected

Definition at line 500 of file GiFill.h.

◆ m_nSmoothHatch

OdInt16 OdGiFillHatch::m_nSmoothHatch
protected

Definition at line 501 of file GiFill.h.

◆ m_pointLimit

OdUInt32 OdGiFillHatch::m_pointLimit
protected

Definition at line 499 of file GiFill.h.

◆ m_result

OdResult OdGiFillHatch::m_result
protected

Definition at line 493 of file GiFill.h.

◆ m_startPoints

OdGePoint2dArray OdGiFillHatch::m_startPoints
protected

Definition at line 485 of file GiFill.h.

◆ m_style

OdGeIslandStyle OdGiFillHatch::m_style
protected

Definition at line 492 of file GiFill.h.

◆ m_tol

OdGeTol OdGiFillHatch::m_tol
protected

Definition at line 491 of file GiFill.h.


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