|
||||
File indexing completed on 2025-01-18 09:55:19
0001 //========================================================================== 0002 // AIDA Detector description implementation 0003 //-------------------------------------------------------------------------- 0004 // Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN) 0005 // All rights reserved. 0006 // 0007 // For the licensing terms see $DD4hepINSTALL/LICENSE. 0008 // For the list of contributors see $DD4hepINSTALL/doc/CREDITS. 0009 // 0010 // Author : M.Frank 0011 // 0012 //========================================================================== 0013 #ifndef DDCAD_ASSIMPWRITER_H 0014 #define DDCAD_ASSIMPWRITER_H 0015 0016 /// Framework include files 0017 #include <DDCAD/OutputWriter.h> 0018 0019 /// C/C++ include files 0020 0021 /// Namespace for the AIDA detector description toolkit 0022 namespace dd4hep { 0023 0024 /// Namespace for implementation details of the AIDA detector description toolkit 0025 namespace cad { 0026 0027 /// Writer class to output geometry shapes from CAD files 0028 /** 0029 * As a helper the ASSIMP library is used to interprete the 0030 * CAD formats. 0031 * 0032 * \author M.Frank 0033 * \version 1.0 0034 * \ingroup DD4HEP_DDCAD 0035 */ 0036 class ASSIMPWriter : public OutputWriter { 0037 public: 0038 long flags { 1 }; 0039 public: 0040 using OutputWriter::OutputWriter; 0041 /// Default destructor 0042 virtual ~ASSIMPWriter() = default; 0043 /// Write output file 0044 virtual int write(const std::string& output_file, 0045 const std::string& output_type, 0046 const VolumePlacements& places, 0047 bool recursive, 0048 double unit_scale = 1.0) const override; 0049 }; 0050 0051 } /* End namespace cad */ 0052 } /* End namespace dd4hep */ 0053 #endif // DDCAD_ASSIMPWRITER_H
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |