36 for (
size_t i = 0;
i < myRotations->size(); ++
i)
38 atts = myRotations->getAttributeSet(
i);
39 R = myRotations->processOne(R, atts.find(
"axis")->second, atts.find(
"angle")->second);
DDLElementRegistry * myRegistry_
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
std::map< std::string, std::string > DDXMLAttribute
Represents a uniquely identifyable rotation matrix.
std::shared_ptr< DDXMLElement > getElement(const std::string &name)
THE most important part. Getting the pointer to a given element type.
void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv) override
Processing the element.
DDLRotationSequence(DDLElementRegistry *myreg)
DDLRotationByAxis handles RotationByAxis elements.
The main class for processing parsed elements.
virtual void clear(void)
clear this element's contents.
ROOT::Math::Rotation3D DDRotationMatrix
A DDRotationMatrix is currently implemented with a ROOT Rotation3D.
virtual const DDName getDDName(const std::string &defaultNS, const std::string &attname=std::string("name"), size_t aIndex=0)