|
CFx SDK Documentation 2026 SP0
|
#include <DbSectionHLRHelper.h>
Public Member Functions | |
| ODRX_DECLARE_MEMBERS (OdDbSectionHLRHelper) | |
| virtual OdDbDatabase * | database () const =0 |
| virtual OdResult | setProjectionPlane (const OdGePoint3d &ptBase, const OdGeVector3d &vrDir, const OdGeVector3d &vrUp)=0 |
| virtual OdGePoint3d | projectionBase () const =0 |
| virtual OdGeVector3d | projectionDirection () const =0 |
| virtual OdGeVector3d | projectionUp () const =0 |
| virtual bool | includeTangentalEdgesFlag () const =0 |
| virtual void | setIncludeTangentalEdgesFlag (bool bSet)=0 |
| virtual void | setTangentalEdgesAngle (double dAngle)=0 |
| virtual OdResult | setEntities (const OdDbObjectIdArray &arr3dObjects)=0 |
| virtual const OdArray< OdDbObjectId > & | getEntities () const =0 |
| virtual OdGeExtents3d | getExtents () const =0 |
| virtual OdResult | createSectionHLR (bool bCreateSection, bool bCreateHiddenLines)=0 |
| virtual bool | getSectionHatches (OdRxObjectPtrArray &arrHatches) const =0 |
| virtual bool | getHiddenLines (OdRxObjectPtrArray &arrHiddenLines) const =0 |
| virtual bool | getVisibleLines (OdRxObjectPtrArray &arrVisibleLines) 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 |
Static Public Member Functions | |
| static bool | isEntitySupported (const OdDbEntity *pEntity) |
| static OdDbSectionHLRHelperPtr | createObject (OdDbDatabase *pDb) |
| static double | getDefaultTangentAngle () |
Static Public Member Functions inherited from OdRxObject | |
| static OdRxObjectPtr | cast (const OdRxObject *pointer) |
| static OdRxClass * | desc () |
| static void | rxInit () |
| static void | rxUninit () |
This class implements kernel of helper to create flatterned and section geometry by hidden line remover and section modeller.
<group OdDb_Classes>
Definition at line 44 of file DbSectionHLRHelper.h.
|
static |
Create instance of section and hidden line remover helper.
| pDb | [in] database to initialize defaults for section and flattened view geometry. |
|
pure virtual |
Calculate flattened views and section geometry.
| bCreateSection | [in] Use section plane to cut 3d objects and create section hatches. |
| bCreateHiddenLines | [in] Create hidden line geometry. |
|
pure virtual |
Returns database to initialize flattened and section geometry after creation.
|
static |
Returns the default tangential angle.
|
pure virtual |
Returns array of entity ids to create flattened views and section geometry.
|
pure virtual |
Returns 3d object extents of supported entity ids.
|
pure virtual |
Returns non-dbro hidden line geometry of created by createSectionHLR method flattened view geometry.
| arrHiddenLines | [out] result entities. |
|
pure virtual |
Returns non-dbro hatches of created by createSectionHLR method section.
| arrHatches | [out] result entities. |
|
pure virtual |
Returns non-dbro visible line geometry of created by createSectionHLR method flattened view geometry.
| arrVisibleLines | [out] result entities. |
|
pure virtual |
Returns include tangental edges flag.
|
static |
Returns is entity class is supported by section modeler and hidden line remover.
| OdDbSectionHLRHelper::ODRX_DECLARE_MEMBERS | ( | OdDbSectionHLRHelper | ) |
|
pure virtual |
Returns base point to define section plane.
|
pure virtual |
Returns normal vector of section plane and direction for flattened view and section creation.
|
pure virtual |
Returns up vector direction for flattened view and section creation.
|
pure virtual |
Set entities to create flattened and section geometry.
| arr3dObjects | [in] Array of object ids to be used in construction flattened view or section geometry. |
|
pure virtual |
Set include tangental edges flag.
|
pure virtual |
Set projection direction and section plane to create flattened and section geometry.
| ptBase | [in] Base point to define section plane. |
| vrDir | [in] Normal vector of section plane and direction for flattened view and section creation. |
| vrUp | [in] Up vector direction for flattened view and section creation. |
|
pure virtual |
Set tangential edges angle.
| dAngle | [in] The specified angle. |