Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 10:51:50

0001 #ifndef DETECTOR_DESCRIPTION_PARSER_DDL_PGON_GENERATOR_H
0002 #define DETECTOR_DESCRIPTION_PARSER_DDL_PGON_GENERATOR_H
0003 
0004 #include <string>
0005 
0006 #include "DDLSolid.h"
0007 
0008 class DDCompactView;
0009 class DDLElementRegistry;
0010 
0011 /// DDLPgonGenerator processes DDL XML Extruded Polygone elements.
0012 /** 
0013  *  The PgonGenerator element uses XYPoint elements. The DDLXYPoint
0014  *  can return the x and y std::vectors with the points needed to form the
0015  *  extruded polygone.
0016  *
0017  */
0018 
0019 class DDLPgonGenerator final : public DDLSolid {
0020 public:
0021   DDLPgonGenerator(DDLElementRegistry* myreg);
0022 
0023   void processElement(const std::string& name, const std::string& nmspace, DDCompactView& cpv) override;
0024   void preProcessElement(const std::string& name, const std::string& nmspace, DDCompactView& cpv) override;
0025 };
0026 
0027 #endif