CMS 3D CMS Logo

DDLShapelessSolid.cc
Go to the documentation of this file.
6 
7 class DDCompactView;
8 
10  : DDLSolid( myreg )
11 {}
12 
13 void
15 {
16  myRegistry_->getElement("rSolid")->clear();
17 }
18 
19 // Upon ending a ShapelessSolid element, call DDCore giving the box name, and dimensions.
20 void
22 {
24 
25  DDLSolid::setReference(nmspace, cpv);
26 }
DDLElementRegistry * myRegistry_
Definition: DDXMLElement.h:172
void preProcessElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Called by loadAttributes AFTER attributes are loaded.
type of data representation of DDCompactView
Definition: DDCompactView.h:90
A DDSolid represents the shape of a part.
Definition: DDSolid.h:38
std::shared_ptr< DDXMLElement > getElement(const std::string &name)
THE most important part. Getting the pointer to a given element type.
DDLSolid processes Box elements.
Definition: DDLSolid.h:30
DDLShapelessSolid(DDLElementRegistry *myreg)
static DDSolid shapeless(const DDName &name)
Definition: DDSolid.cc:1056
void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Processing the element.
The main class for processing parsed elements.
virtual const DDName getDDName(const std::string &defaultNS, const std::string &attname=std::string("name"), size_t aIndex=0)
Definition: DDXMLElement.cc:80
void setReference(const std::string &nmspace, DDCompactView &cpv)
Definition: DDLSolid.cc:17