/DetectorDescription/Parser/src/DDLPolyGenerator.h
https://github.com/aivanov-cern/cmssw · C Header · 40 lines · 13 code · 9 blank · 18 comment · 0 complexity · 057423adbfaacbde63b90974e465c9ad MD5 · raw file
- #ifndef DDL_PolyGenerator_H
- #define DDL_PolyGenerator_H
- #include "DDLSolid.h"
- #include <string>
- /// DDLPolyGenerator processes DDL XML Polycone and DDL XML Polyhedra elements.
- /** @class DDLPolyGenerator
- * @author Michael Case
- *
- * DDLPolyGenerator.h - description
- * -------------------
- * begin: Mon Aug 5 2002
- * email: case@ucdhep.ucdavis.edu
- *
- * The PolyGenerator element uses RZPoint elements. The DDLRZPoint
- * can return the r and z std::vectors with the points needed to form the
- * polycone. The RZPoint "accumulator" is also used by the Polyhedra
- * and Polycone elements, and could be used anywhere a pair of std::vectors
- * of r and z values are needed.
- *
- */
- class DDLPolyGenerator : public DDLSolid
- {
- public:
- /// Constructor
- DDLPolyGenerator( DDLElementRegistry* myreg );
- /// Destructor
- ~DDLPolyGenerator( void );
- void processElement( const std::string& name, const std::string& nmspace, DDCompactView& cpv );
- void preProcessElement( const std::string& name, const std::string& nmspace, DDCompactView& cpv );
- };
- #endif