cEqObsBlockCam * cSetEqFormelles::NewEqBlockCal
(
    cRotationFormelle & aRotRT0,
    cRotationFormelle & aRotLT0,
    cRotationFormelle & aRotRT1,
    cRotationFormelle & aRotLT1,
    bool                doGenerateCode
)
{
    ELISE_ASSERT(aRotRT0.Set() == this,"cSetEqFormelles::NewEqBlockCal");

    cEqObsBlockCam * aRes = new cEqObsBlockCam(aRotRT0,aRotLT0,aRotRT1,aRotLT1,doGenerateCode);

    AddObj2Kill(aRes);
    return aRes;
}
예제 #2
0
cRotationFormelle * cSetEqFormelles::NewRotationGen
                    (
                         eModeContrRot aMode,
                         ElRotation3D aRC2MInit,
                         cRotationFormelle * pRAtt,
			 const std::string & aName,
                         INT aDegre,
                         bool aVraiBaseU
                    )
{
   AssertUnClosed();
   cRotationFormelle * aRes =  new  cRotationFormelle(aMode,aRC2MInit,*this,pRAtt,aName,aDegre,aVraiBaseU);
   AddObj2Kill(aRes);
   if (aName != "")
      mDicRot[aName] = aRes;
   return aRes;
}
예제 #3
0
cEqVueLaserImage * cSetEqFormelles::NewLIEqVueLaserIm
                 (
		     cRotationFormelle * aRotPts,
		     bool                Multi,
		     bool                Normalize,
		     INT              aNbPts,
		     cLIParam_Image & anI1,
		     cLIParam_Image & anI2,
		     bool             GenCode 
		  )
{
    ELISE_ASSERT
    (
        (this == &(anI1.Set())) && (this == &(anI2.Set())),
	"Dif Set in cSetEqFormelles::NewLIEqVueLaserIm"
    );
    cEqVueLaserImage * aRes = new cEqVueLaserImage(aRotPts,Multi,Normalize,aNbPts,anI1,anI2,GenCode);
    AddObj2Kill(aRes);
    if (GenCode) return 0;
    return aRes;
}