Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Binary Components and Naming Conventions

Binary Components

Core Teigha Components

Teigha includes the following binary components:

  • TD_Root - Core Teigha functionality.

  • TD_Ge - Geometry classes (OdGe*).

  • TD_Gi - Entity vectorization classes (TD_Gi*).

  • TD_Db - Database classes (OdDb*).

Clients must link to each of these libraries when building all but the most trivial Teigha applications.

Memory Allocation

The TD_Alloc module contains default implementations of the odrxAlloc, odrxRealloc, and odrxFree functions, as well as operator new and operator delete.

ACIS Vectorization and Conversion Support

The following modules provide support for ACIS vectorization and conversion between various versions of ACIS data. For example, when saving a 2004 DWG file as 2000 DXF, the SAB data from the 2004 drawing must be converted to a previous version of SAT.

  • TD_Br - B-Rep traversal support.

  • TD_AcisBuilder - Conversion of SAT/SAB data (SAT <-> SAB, version changes, etc.).

  • TD_BrepRenderer - Vectorization support for ACIS data.

  • TD_ModelerGeometry - Registers TD_AcisBuilder and TD_BrepRenderer modules.

Library Naming Conventions

Static libraries for each platform use the following naming rule:

 TD_<platform/settings>_<module>.<lib extension> 

Examples:

  • Name of the Ge library for MS VC6 using the MD runtime library: TD_VC6MD_Ge.lib.

  • Name of th SGI Db library for the n32 compiler setting: TD_sgiN32_Db.a.

For a complete list of library names for each platform and compiler, see Supported Platforms.

Determining the Library Version

The \Include\DDVersion.h file contains the version number for each release. You can get the version at run time by calling OdDbHostAppServices::releaseMajorMinorString() or related functions in the OdDbHostAppServices class.

  • No labels