37 DCOUT_V(
'P',
"DDLRotationSequence::processElement started " << name);
47 for (
size_t i = 0;
i < myRotations->
size(); ++
i)
50 R = myRotations->
processOne(R, atts.find(
"axis")->second, atts.find(
"angle")->second);
59 DCOUT_V(
'P',
"DDLRotationSequence::processElement completed");
void preProcessElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv)
Called by loadAttributes AFTER attributes are loaded.
DDLElementRegistry * myRegistry_
~DDLRotationSequence(void)
Destructor.
virtual const DDXMLAttribute & getAttributeSet(size_t aIndex=0) const
Get a "row" of attributes, i.e. one attribute set.
type of data representation of DDCompactView
std::map< std::string, std::string > DDXMLAttribute
Represents a uniquely identifyable rotation matrix.
DDXMLElement * getElement(const std::string &name)
THE most important part. Getting the pointer to a given element type.
virtual DDRotationMatrix processOne(DDRotationMatrix R, std::string &axis, std::string &angle)
virtual size_t size(void) const
Number of elements accumulated.
DDLRotationSequence(DDLElementRegistry *myreg)
Constructor.
#define DCOUT_V(M_v_Y, M_v_S)
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)
void processElement(const std::string &name, const std::string &nmspace, DDCompactView &cpv)
Processing the element.