Commit 7ae6b807 authored by ESTERIE Pierre's avatar ESTERIE Pierre

Adding copy constructor to rotation kernel

parent 2ead912a
......@@ -883,6 +883,20 @@ public:
precomputeRotationVectors();
}
/** Copy Constructor */
FRotationKernel(const FRotationKernel& other) :
boxWidth(other.boxWidth),
treeHeight(other.treeHeight),
widthAtLeafLevel(other.widthAtLeafLevel),
widthAtLeafLevelDiv2(other.widthAtLeafLevelDiv2),
boxCorner(other.boxCorner)
{
// simply does the precomputation
precomputeFactorials();
precomputeTranslationCoef();
precomputeRotationVectors();
}
/** Default destructor */
virtual ~FRotationKernel(){
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment