本文整理汇总了C++中IParamBlock::Clone方法的典型用法代码示例。如果您正苦于以下问题:C++ IParamBlock::Clone方法的具体用法?C++ IParamBlock::Clone怎么用?C++ IParamBlock::Clone使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类IParamBlock
的用法示例。
在下文中一共展示了IParamBlock::Clone方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: Clone
RefTargetHandle TriPatchObject::Clone(RemapDir& remap) {
TriPatchObject* newob = new TriPatchObject();
newob->ReplaceReference(0,pblock->Clone(remap));
newob->ivalid.SetEmpty();
BaseClone(this, newob, remap);
return(newob);
}
示例2: Clone
RefTargetHandle OptMod::Clone(RemapDir& remap)
{
OptMod* newmod = new OptMod();
newmod->ReplaceReference(0,pblock->Clone(remap));
BaseClone(this, newmod, remap);
return newmod;
}
示例3: Clone
RefTargetHandle MirrorMod::Clone(RemapDir& remap)
{
MirrorMod *mod = new MirrorMod();
mod->ReplaceReference(PBLOCK_REF,pblock->Clone(remap));
mod->ReplaceReference(TM_REF,remap.CloneRef(tmControl));
mod->splineMethod = splineMethod;
BaseClone(this, mod, remap);
return mod;
}
示例4: Clone
RefTargetHandle AFRMod::Clone(RemapDir& remap)
{
AFRMod *mod = new AFRMod();
mod->ReplaceReference(PBLOCK_REF,pblock->Clone(remap));
mod->ReplaceReference(POINT1_REF,p1->Clone(remap));
mod->ReplaceReference(POINT2_REF,p2->Clone(remap));
BaseClone(this, mod, remap);
return mod;
}
示例5: Clone
RefTargetHandle SpherifyMod::Clone(RemapDir& remap) {
SpherifyMod* newmod = new SpherifyMod();
newmod->ReplaceReference(0, pblock->Clone(remap));
BaseClone(this, newmod, remap);
return(newmod);
}