31 if (myrSolid->size() != 1)
33 std::cout <<
"WARNING: A ReflectionSolid had more than one rSolid. " 34 <<
"The first one was used." << std::endl;
DDLElementRegistry * myRegistry_
type of data representation of DDCompactView
DDLReflectionSolid(DDLElementRegistry *myreg)
A DDSolid represents the shape of a part.
std::shared_ptr< DDXMLElement > getElement(const std::string &name)
THE most important part. Getting the pointer to a given element type.
void preProcessElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Called by loadAttributes AFTER attributes are loaded.
DDLSolid processes Box elements.
void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Processing the element.
static DDSolid reflection(const DDName &name, const DDSolid &s)
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)
void setReference(const std::string &nmspace, DDCompactView &cpv)