本文整理汇总了C++中BaseClone函数的典型用法代码示例。如果您正苦于以下问题:C++ BaseClone函数的具体用法?C++ BaseClone怎么用?C++ BaseClone使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了BaseClone函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: WindMod
RefTargetHandle WindMod::Clone(RemapDir& remap)
{
WindMod *newob = new WindMod(nodeRef,(WindObject*)obRef);
newob->SimpleWSMModClone(this, remap);
BaseClone(this, newob, remap);
return newob;
}
示例2: SmoothMod
RefTargetHandle SmoothMod::Clone(RemapDir& remap) {
SmoothMod* newmod = new SmoothMod();
newmod->ReplaceReference (REF_SMOOTH_PBLOCK, remap.CloneRef(pblock));
newmod->version = version;
BaseClone(this, newmod, remap);
return newmod;
}
示例3: BaseClone
ReferenceTarget *CubeMap::Clone(RemapDir &remap)
{
CubeMap *pnew = new CubeMap;
pnew->ReplaceReference(0,pblock->Clone(remap));
BaseClone(this, pnew, remap);
return pnew;
}
示例4: TriPatchObject
RefTargetHandle TriPatchObject::Clone(RemapDir& remap) {
TriPatchObject* newob = new TriPatchObject();
newob->ReplaceReference(0,pblock->Clone(remap));
newob->ivalid.SetEmpty();
BaseClone(this, newob, remap);
return(newob);
}
示例5: StretchMod
RefTargetHandle StretchMod::Clone(RemapDir& remap) {
StretchMod* newmod = new StretchMod();
newmod->ReplaceReference(SIMPMOD_PBLOCKREF, pblock->Clone(remap));
newmod->SimpleModClone(this);
BaseClone(this, newmod, remap);
return(newmod);
}
示例6: PFTestSplitBySource
//+--------------------------------------------------------------------------+
//| From ReferenceMaker |
//+--------------------------------------------------------------------------+
RefTargetHandle PFTestSplitBySource::Clone(RemapDir &remap)
{
PFTestSplitBySource* newTest = new PFTestSplitBySource();
newTest->ReplaceReference(0, remap.CloneRef(pblock()));
BaseClone(this, newTest, remap);
return newTest;
}
示例7: PFOperatorSimpleSpeed
RefTargetHandle PFOperatorSimpleSpeed::Clone(RemapDir &remap)
{
PFOperatorSimpleSpeed* newOp = new PFOperatorSimpleSpeed();
newOp->ReplaceReference(0, remap.CloneRef(pblock()));
BaseClone(this, newOp, remap);
return newOp;
}
示例8: FExtrudeMod
RefTargetHandle FExtrudeMod::Clone(RemapDir& remap) {
FExtrudeMod *mod = new FExtrudeMod();
mod->ReplaceReference(kFEX_PBLOCK_REF,remap.CloneRef(mp_pblock));
mod->ReplaceReference(kFEX_POINT_REF,remap.CloneRef(mp_base));
BaseClone(this, mod, remap);
return mod;
}
示例9: PatchDeformPW
RefTargetHandle PatchDeformPW::Clone(RemapDir& remap)
{
PatchDeformPW* newmod = new PatchDeformPW();
newmod->ReplaceReference(PBLOCK_REF,remap.CloneRef(pblock));
BaseClone(this, newmod, remap);
return(newmod);
}
示例10: RelaxMod
RefTargetHandle RelaxMod::Clone(RemapDir& remap) {
RelaxMod* newmod = new RelaxMod();
newmod->ReplaceReference(0,remap.CloneRef(pblock));
newmod->version = version;
BaseClone(this, newmod, remap);
return(newmod);
}
示例11: PasteSkinWeights
RefTargetHandle PasteSkinWeights::Clone(RemapDir& remap)
{
PasteSkinWeights* newmod = new PasteSkinWeights();
newmod->ReplaceReference(0,remap.CloneRef(pblock));
BaseClone(this, newmod, remap);
return(newmod);
}
示例12: PFOperatorComments
RefTargetHandle PFOperatorComments::Clone(RemapDir &remap)
{
PFOperatorComments* newOp = new PFOperatorComments();
newOp->ReplaceReference(0, remap.CloneRef(pblock()));
BaseClone(this, newOp, remap);
return newOp;
}
示例13: SymmetryMod
RefTargetHandle SymmetryMod::Clone(RemapDir& remap) {
SymmetryMod *mod = new SymmetryMod();
mod->ReplaceReference(kSYM_PBLOCK_REF,remap.CloneRef(mp_pblock));
mod->ReplaceReference(kSYM_MIRROR_REF,remap.CloneRef(mp_mirror));
BaseClone(this, mod, remap);
return mod;
}
示例14: SelectByChannel
RefTargetHandle SelectByChannel::Clone(RemapDir& remap)
{
SelectByChannel* newmod = new SelectByChannel();
newmod->ReplaceReference(PBLOCK_REF,remap.CloneRef(pblock));
BaseClone(this, newmod, remap);
return(newmod);
}
示例15: OptMod
RefTargetHandle OptMod::Clone(RemapDir& remap)
{
OptMod* newmod = new OptMod();
newmod->ReplaceReference(0,pblock->Clone(remap));
BaseClone(this, newmod, remap);
return newmod;
}