當前位置: 首頁>>代碼示例>>C++>>正文


C++ BaseClone函數代碼示例

本文整理匯總了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;
}
開發者ID:artemeliy,項目名稱:inf4715,代碼行數:7,代碼來源:wind.cpp

示例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;
}
開發者ID:innovatelogic,項目名稱:ilogic-vm,代碼行數:7,代碼來源:surfmod.cpp

示例3: BaseClone

ReferenceTarget *CubeMap::Clone(RemapDir &remap)
{
	CubeMap *pnew = new CubeMap;
	pnew->ReplaceReference(0,pblock->Clone(remap));
	BaseClone(this, pnew, remap);
	return pnew;
}
開發者ID:2asoft,項目名稱:xray,代碼行數:7,代碼來源:CubeMap.cpp

示例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);
	}
開發者ID:DimondTheCat,項目名稱:xray,代碼行數:7,代碼來源:tripatch.cpp

示例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);
        }
開發者ID:2asoft,項目名稱:xray,代碼行數:7,代碼來源:stretch.cpp

示例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;
}
開發者ID:DimondTheCat,項目名稱:xray,代碼行數:10,代碼來源:PFTestSplitBySource.cpp

示例7: PFOperatorSimpleSpeed

RefTargetHandle PFOperatorSimpleSpeed::Clone(RemapDir &remap)
{
	PFOperatorSimpleSpeed* newOp = new PFOperatorSimpleSpeed();
	newOp->ReplaceReference(0, remap.CloneRef(pblock()));
	BaseClone(this, newOp, remap);
	return newOp;
}
開發者ID:DimondTheCat,項目名稱:xray,代碼行數:7,代碼來源:PFOperatorSimpleSpeed.cpp

示例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;
}
開發者ID:innovatelogic,項目名稱:ilogic-vm,代碼行數:7,代碼來源:fextrude.cpp

示例9: PatchDeformPW

RefTargetHandle PatchDeformPW::Clone(RemapDir& remap)
{
	PatchDeformPW* newmod = new PatchDeformPW();	
	newmod->ReplaceReference(PBLOCK_REF,remap.CloneRef(pblock));
	BaseClone(this, newmod, remap);
	return(newmod);
}
開發者ID:innovatelogic,項目名稱:ilogic-vm,代碼行數:7,代碼來源:SkinWrapPatch.cpp

示例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);
}
開發者ID:innovatelogic,項目名稱:ilogic-vm,代碼行數:7,代碼來源:relax.cpp

示例11: PasteSkinWeights

RefTargetHandle PasteSkinWeights::Clone(RemapDir& remap)
{
	PasteSkinWeights* newmod = new PasteSkinWeights();	
	newmod->ReplaceReference(0,remap.CloneRef(pblock));
	BaseClone(this, newmod, remap);
	return(newmod);
}
開發者ID:artemeliy,項目名稱:inf4715,代碼行數:7,代碼來源:PasteSkinWeights.cpp

示例12: PFOperatorComments

RefTargetHandle PFOperatorComments::Clone(RemapDir &remap)
{
	PFOperatorComments* newOp = new PFOperatorComments();
	newOp->ReplaceReference(0, remap.CloneRef(pblock()));
	BaseClone(this, newOp, remap);
	return newOp;
}
開發者ID:whztt07,項目名稱:OgreGameProject,代碼行數:7,代碼來源:PFOperatorComments.cpp

示例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;
}
開發者ID:innovatelogic,項目名稱:ilogic-vm,代碼行數:7,代碼來源:Symmetry.cpp

示例14: SelectByChannel

RefTargetHandle SelectByChannel::Clone(RemapDir& remap)
{
	SelectByChannel* newmod = new SelectByChannel();	
	newmod->ReplaceReference(PBLOCK_REF,remap.CloneRef(pblock));
	BaseClone(this, newmod, remap);
	return(newmod);
}
開發者ID:innovatelogic,項目名稱:ilogic-vm,代碼行數:7,代碼來源:SelectByChannel.cpp

示例15: OptMod

RefTargetHandle OptMod::Clone(RemapDir& remap) 
	{
	OptMod* newmod = new OptMod();	
	newmod->ReplaceReference(0,pblock->Clone(remap));	
	BaseClone(this, newmod, remap);
	return newmod;
	}
開發者ID:2asoft,項目名稱:xray,代碼行數:7,代碼來源:optmod.cpp


注:本文中的BaseClone函數示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。