|
CFx SDK Documentation
2020SP3
|
#include <DbBaseDatabase.h>
Public Types | |
| enum | HatchStyle { kNormal = 0, kOuter = 1, kIgnore = 2 } |
| enum | HatchLoopType { kDefault = 0, kExternal = 1, kPolyline = 2, kDerived = 4, kTextbox = 8, kOutermost = 0x10, kNotClosed = 0x20, kSelfIntersecting = 0x40, kTextIsland = 0x80, kDuplicate = 0x100, kIsAnnotative = 0x200, kDoesNotSupportScale = 0x400, kForceAnnoAllVisible = 0x800, kOrientToPaper = 0x1000, kIsAnnotativeBlock = 0x2000 } |
Public Member Functions | |
| ODRX_DECLARE_MEMBERS (OdDbBaseHatchPE) | |
| virtual int | numLoops (const OdRxObject *pHatch) const =0 |
| virtual OdInt32 | loopTypeAt (const OdRxObject *pHatch, int loopIndex) const =0 |
| virtual void | getLoopAt (const OdRxObject *pHatch, int loopIndex, OdArray< OdGeCurve2d * > &edgePtrs) const =0 |
| virtual void | getLoopAt (const OdRxObject *pHatch, int loopIndex, OdGePoint2dArray &vertices, OdGeDoubleArray &bulges) const =0 |
| virtual HatchStyle | hatchStyle (const OdRxObject *pHatch) const =0 |
| virtual bool | isGradient (const OdRxObject *pHatch) const =0 |
| virtual bool | isSolidFill (const OdRxObject *pHatch) const =0 |
| virtual bool | isReallyHatch (const OdRxObject *pHatch) const =0 |
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 |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
| static OdRxObjectPtr | cast (const OdRxObject *pointer) |
| static OdRxClass * | desc () |
This class defines the interface for the hatch protocol extension classes. <group OdDbRoot_Classes>
Definition at line 1121 of file DbBaseDatabase.h.
Determines types of hatch loops.
| Enumerator | |
|---|---|
| kDefault | Not yet specified. |
| kExternal | Defined by external entities. |
| kPolyline | Defined by OdGe polyline. |
| kDerived | Derived from a picked point. |
| kTextbox | Defined by text. |
| kOutermost | Outermost loop. |
| kNotClosed | Open loop. |
| kSelfIntersecting | Self-intersecting loop. |
| kTextIsland | Text loop surrounded by an even number of loops. |
| kDuplicate | Duplicate loop. |
| kIsAnnotative | The bounding area is an annotative block. |
| kDoesNotSupportScale | The bounding type does not support scaling. |
| kForceAnnoAllVisible | Forces all annotatives to be visible. |
| kOrientToPaper | Orients hatch loop to paper. |
| kIsAnnotativeBlock | Describes whether the hatch is an annotative block. |
Definition at line 1141 of file DbBaseDatabase.h.
Determines hatch style values.
| Enumerator | |
|---|---|
| kNormal | Hatch toggles on each boundary. |
| kOuter | Hatch turns off after first inner loop. |
| kIgnore | Hatch ignores inner loop. |
Definition at line 1131 of file DbBaseDatabase.h.
|
pure virtual |
Returns curves of a loop, determined by its index, in a specified hatch.
| pHatch | [in] A pointer to a hatch object. |
| loopIndex | [in] An index of a hatch loop. |
| edgePtrs | [out] A reference to an OdGeCurve2d object array to store information about the curves that form the loop. |
|
pure virtual |
Returns curves of a loop, determined by its index, in a specified hatch.
| pHatch | [in] A pointer to a hatch object. |
| loopIndex | [in] An index of a hatch loop. |
| edgePtrs | [out] A reference to an OdGeCurve2d object array to store information about the curves that form the loop. |
|
pure virtual |
Returns the style of a specified hatch.
| pHatch | [in] A pointer to a hatch object. |
|
pure virtual |
Determines whether a specified hatch is a gradient hatch.
| pHatch | [in] A pointer to a hatch object. |
|
pure virtual |
Determines whether a specified hatch is a real hatch.
| pHatch | [in] A pointer to a hatch object. |
|
pure virtual |
Determines whether a specified hatch is a solid hatch.
| pHatch | [in] A pointer to a hatch object. |
|
pure virtual |
Returns the type of loop, determined by its index, in a specified hatch.
| pHatch | [in] A pointer to a hatch object. |
| loopIndex | [in] An index of a hatch loop. |
|
pure virtual |
Returns the quantity of loops in a specified hatch.
| pHatch | [in] A pointer to a hatch object. |
| OdDbBaseHatchPE::ODRX_DECLARE_MEMBERS | ( | OdDbBaseHatchPE | ) |