CFx SDK Documentation
2022 SP0
|
#include <HatchPatternManager.h>
Public Member Functions | |
ODRX_DECLARE_MEMBERS (OdHatchPatternManager) | |
virtual void | setApplicationService (OdDbHostAppServices *pServices)=0 |
virtual OdResult | retrievePattern (OdDbHatch::HatchPatternType hatchPatternType, const OdString &hatchPatternName, OdDb::MeasurementValue measurementValue, OdHatchPattern &hatchPattern)=0 |
virtual void | appendPattern (OdDbHatch::HatchPatternType hatchPatternType, const OdString &hatchPatternName, const OdHatchPattern &hatchPattern, OdDb::MeasurementValue measurementValue=OdDb::kEnglish)=0 |
virtual OdResult | retrievePatternList (OdDbHatch::HatchPatternType hatchPatternType, OdDb::MeasurementValue measurementValue, OdStringArray &patternNames)=0 |
virtual void | reset ()=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 |
Protected Member Functions | |
OdHatchPatternManager () | |
Additional Inherited Members | |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
This class manages hatch patterns within a Teigha application. Corresponding C++ library: TD_Db <group Other_Classes>
Definition at line 42 of file HatchPatternManager.h.
|
inlineprotected |
Definition at line 45 of file HatchPatternManager.h.
|
pure virtual |
Appends the specified hatch pattern to this hatchPatternManager object.
hatchPatternName | [in] Hatch pattern name. |
hatchPatternType | [in] Hatch pattern type. |
measurementValue | [in] Measurement value. |
hatchPattern | [in] Hatch pattern. |
Value Description OdDbHatch::kUserDefined 0 User-defined hatch. OdDbHatch::kPreDefined 1 Defined in acad.pat and acadiso.pat. OdDbHatch::kCustomDefined 2 In its own PAT file.
measurementValue must be one of the following:
Value OdDb::kEnglish 0 OdDb::kMetric 1
OdHatchPatternManager::ODRX_DECLARE_MEMBERS | ( | OdHatchPatternManager | ) |
|
pure virtual |
Clears all loaded patterns.
|
pure virtual |
Retrieves the specified hatch pattern from this hatchPatternManager object.
hatchPatternName | [in] Hatch pattern name. |
hatchPatternType | [in] Hatch pattern type. |
measurementValue | [in] Measurement value. |
hatchPattern | [out] Hatch pattern. |
Value Description OdDbHatch::kUserDefined 0 User-defined hatch. OdDbHatch::kPreDefined 1 Defined in acad.pat and acadiso.pat. OdDbHatch::kCustomDefined 2 In its own PAT file.
measurementValue must be one of the following:
Value OdDb::kEnglish 0 OdDb::kMetric 1
|
pure virtual |
Retrieves names of loaded patterns.
hatchPatternType | [in] Hatch pattern type. |
measurementValue | [in] Measurement value. |
patternNames | [out] Receive loaded pattern names. |
Value Description OdDbHatch::kUserDefined 0 User-defined hatch. OdDbHatch::kPreDefined 1 Defined in acad.pat and acadiso.pat. OdDbHatch::kCustomDefined 2 In its own PAT file.
measurementValue must be one of the following:
Value OdDb::kEnglish 0 OdDb::kMetric 1
|
pure virtual |
Sets the Host Application Services object for this hatchPatternManager object.
pServices | [in] Pointer to the HostAppServices object. |