/////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2002-2025, Open Design Alliance (the "Alliance"). // All rights reserved. // // This software and its documentation and related materials are owned by // the Alliance. The software may only be incorporated into application // programs owned by members of the Alliance, subject to a signed // Membership Agreement and Supplemental Software License Agreement with the // Alliance. The structure and organization of this software are the valuable // trade secrets of the Alliance and its suppliers. The software is also // protected by copyright law and international treaty provisions. Application // programs incorporating this software must include the following statement // with their copyright notices: // // This application incorporates Open Design Alliance software pursuant to a license // agreement with Open Design Alliance. // Open Design Alliance Copyright (C) 2002-2025 by Open Design Alliance. // All rights reserved. // // By use of this software, its documentation or related materials, you // acknowledge and accept the above terms. /////////////////////////////////////////////////////////////////////////////// /************************************************************************/ /* Main header file for the DLL */ /* */ /* Sample custom implementation of the extra dgn elements. */ /* In the sample implemented basic set of Autoplant entitites. */ /* */ /************************************************************************/ #if !defined(DGAUTOPLANTMODULE__INCLUDED_) #define DGAUTOPLANTMODULE__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 #include "RxModule.h" #include "DgExport.h" #include "StaticRxObject.h" #include "RxSystemServices.h" #include "DgAutoplantCylinder.h" #include "DgAutoplantCone.h" #include "DgAutoplantBox.h" #include "DgAutoplantSphere.h" #include "DgAutoplantTorus.h" #include "DgAutoplantDome.h" #include "DgAutoplantBolt.h" #include "RxMember.h" TG_EXPORT void odrxSetMemberConstructor(OdRxClass* pClass, OdRxMemberCollectionConstructorPtr pc, void* data = 0); /*********************************************************************************/ /* OdDgAutoplantEntitiesModule */ /* See OdDgAutoplantEntitiesModule.cpp for the implementation of this class */ /*********************************************************************************/ class TG_EXPORT OdDgAutoplantEntitiesModule : public OdRxModule { ODRX_DECLARE_MEMBERS(OdDgAutoplantEntitiesModule); static void constructOdDgAutoplantCylinderProperties(OdRxMemberCollectionBuilder& b, void*); static void constructOdDgAutoplantConeProperties(OdRxMemberCollectionBuilder& b, void*); static void constructOdDgAutoplantBoxProperties(OdRxMemberCollectionBuilder& b, void*); static void constructOdDgAutoplantSphereProperties(OdRxMemberCollectionBuilder& b, void*); static void constructOdDgAutoplantTorusProperties(OdRxMemberCollectionBuilder& b, void*); static void constructOdDgAutoplantDomeProperties(OdRxMemberCollectionBuilder& b, void*); static void constructOdDgAutoplantBoltProperties(OdRxMemberCollectionBuilder& b, void*); OdStaticRxObject m_AutoplantCylinderGP; OdStaticRxObject m_AutoplantConeGP; OdStaticRxObject m_AutoplantBoxGP; OdStaticRxObject m_AutoplantSphereGP; OdStaticRxObject m_AutoplantTorusGP; OdStaticRxObject m_AutoplantDomeGP; OdStaticRxObject m_AutoplantBoltGP; protected: OdDgAutoplantEntitiesModule(); void initApp(); void uninitApp(); public: ~OdDgAutoplantEntitiesModule(); }; typedef OdSmartPtr< OdDgAutoplantEntitiesModule > OdDgAutoplantEntitiesModulePtr; #endif // !defined(DGAUTOPLANTMODULE__INCLUDED_)