当前位置: 首页>>代码示例>>C++>>正文


C++ ParamBlockDesc2::SetUserDlgProc方法代码示例

本文整理汇总了C++中ParamBlockDesc2::SetUserDlgProc方法的典型用法代码示例。如果您正苦于以下问题:C++ ParamBlockDesc2::SetUserDlgProc方法的具体用法?C++ ParamBlockDesc2::SetUserDlgProc怎么用?C++ ParamBlockDesc2::SetUserDlgProc使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在ParamBlockDesc2的用法示例。


在下文中一共展示了ParamBlockDesc2::SetUserDlgProc方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: BeginEditParams

void MorphByBone::BeginEditParams( IObjParam *ip, ULONG flags,Animatable *prev )
{
	this->ip = ip;
	TimeValue t = ip->GetTime();
	NotifyDependents(Interval(t,t), PART_ALL, REFMSG_BEGIN_EDIT);
	NotifyDependents(Interval(t,t), PART_ALL, REFMSG_MOD_DISPLAY_ON);
	SetAFlag(A_MOD_BEING_EDITED);	


	moveMode    = new MoveModBoxCMode(this,ip);

	rotMode = new RotateModBoxCMode(this,ip);
	uscaleMode     = new UScaleModBoxCMode(this,ip);
	nuscaleMode    = new NUScaleModBoxCMode(this,ip);
	squashMode     = new SquashModBoxCMode(this,ip);
	selectMode     = new SelectModBoxCMode(this,ip);



	MorphByBoneDesc.BeginEditParams(ip, this, flags, prev);
	morphbybone_param_blk.SetUserDlgProc(morphbybone_mapparams, new MorphByBoneParamsMapDlgProc(this));
	morphbybone_param_blk.SetUserDlgProc(morphbybone_mapparamsprop, new MorphByBoneParamsMapDlgProcProp(this));
	morphbybone_param_blk.SetUserDlgProc(morphbybone_mapparamscopy, new MorphByBoneParamsMapDlgProcCopy(this));

	morphbybone_param_blk.SetUserDlgProc(morphbybone_mapparamsselection, new MorphByBoneParamsMapDlgProcSoftSelection(this));


}
开发者ID:innovatelogic,项目名称:ilogic-vm,代码行数:28,代码来源:MorphByBonePublishedFunctions.cpp

示例2: BeginEditParams

void EllipseObject::BeginEditParams( IObjParam *ip, ULONG flags,Animatable *prev)
{
	SimpleSpline::BeginEditParams(ip, flags, prev);
	this->ip = ip;
	
	ellipseObjDesc.BeginEditParams(ip, this, flags, prev);
	theEllipseParamBlock.SetUserDlgProc( new EllipseParamDlgProc(this) );
	theEllispeTypeInBlock.SetUserDlgProc( new EllipseTypeInDlgProc(this) );
}
开发者ID:artemeliy,项目名称:inf4715,代码行数:9,代码来源:ellipse.cpp

示例3: CreateParamDlg

ParamDlg* BerconNoise::CreateParamDlg(HWND hwMtlEdit, IMtlParams *imp) {	
	IAutoMParamDlg* masterDlg = BerconNoiseDesc.CreateParamDlgs(hwMtlEdit, imp, this);
	texoutDlg = texout->CreateParamDlg(hwMtlEdit, imp);
	masterDlg->AddDlg(texoutDlg);
	berconnoise_param_blk.SetUserDlgProc(new BerconNoiseDlgProc(this));
	BerconCurve_param_blk.SetUserDlgProc(new BerconCurveDlgProcNOISE(this));
	xyz_blk.SetUserDlgProc(new BerconXYZDlgProc(this));	
	EnableStuff();
	return masterDlg;	
}
开发者ID:GeorgeR,项目名称:BerconMaps,代码行数:10,代码来源:BerconNoise.cpp

示例4: CreateParamDlg

ParamDlg* BerconGradient::CreateParamDlg(HWND hwMtlEdit, IMtlParams *imp) {
	//xyzGenDlg = xyzGen->CreateParamDlg(hwMtlEdit, imp);
	IAutoMParamDlg* masterDlg = BerconGradientDesc.CreateParamDlgs(hwMtlEdit, imp, this);
	texoutDlg = texout->CreateParamDlg(hwMtlEdit, imp);
	//masterDlg->AddDlg(xyzGenDlg);	
	masterDlg->AddDlg(texoutDlg);
	gradientmap_param_blk.SetUserDlgProc(new BerconGradientDlgProc(this));
	BerconCurve_param_blk.SetUserDlgProc(new BerconCurveDlgProcGRADIENT(this));
	xyz_blk.SetUserDlgProc(new BerconXYZDlgProc(this));
	EnableStuff();
	return masterDlg;
}						
开发者ID:GeorgeR,项目名称:BerconMaps,代码行数:12,代码来源:BerconGradient.cpp

示例5: BeginEditParams

void bhkProxyObject::BeginEditParams(IObjParam *ip,ULONG flags,Animatable *prev)
{
   BaseClass::BeginEditParams(ip,flags,prev);
   mIP = ip;

   listDesc.BeginEditParams(ip,this,flags,prev);
   param_blk.SetUserDlgProc(new ProxyParamDlgProc(this));
   param_blk.SetUserDlgProc(clone_params, new CloneMeshDlgProc(this));
   param_blk.SetUserDlgProc(subshape_params, new SubShapeDlgProc(this));
   pmapParam = pblock2->GetMap(list_params);

   this->ip = ip;
}
开发者ID:Doommarine23,项目名称:max_nif_plugin,代码行数:13,代码来源:bhkProxyObj.cpp

示例6: BeginEditParams

void BlobMesh::BeginEditParams(IObjParam *ip,ULONG flags,Animatable *prev)
{
	this->ip = ip;

	SimpleObject2::BeginEditParams(ip,flags,prev);
	BlobMeshDesc.BeginEditParams(ip, this, flags, prev);

	blobmesh_param_blk.SetUserDlgProc(blobmesh_pfparams,new BlobMeshDlgProc(this));
	blobmesh_param_blk.ParamOption(pb_nodelist,p_validator,&validator);

	blobmesh_param_blk.SetUserDlgProc(blobmesh_params,new BlobMeshParamsDlgProc(this));

}
开发者ID:artemeliy,项目名称:inf4715,代码行数:13,代码来源:BlobMesh.cpp

示例7: CreateParamDlg

ParamDlg* CompositeMat::CreateParamDlg(HWND hwMtlEdit, IMtlParams *imp)
	{
	masterDlg = compositematCD.CreateParamDlgs(hwMtlEdit, imp, this);
	compmat_param_blk.SetUserDlgProc(new CompMatDlgProc(this));
//	dlg = new CompositeMatDlg(hwMtlEdit, imp, this);
	return masterDlg;
	}
开发者ID:artemeliy,项目名称:inf4715,代码行数:7,代码来源:composite_material.cpp

示例8: CreateParamDlg

ParamDlg* StressTexmap::CreateParamDlg(HWND hwMtlEdit, IMtlParams *imp) 
{
	IAutoMParamDlg* masterDlg = SkelTexmapCD.CreateParamDlgs(hwMtlEdit, imp, this);
	stex_param_blk.SetUserDlgProc(new SkelTexDlgProc(this));

	return masterDlg;
}
开发者ID:Mankua,项目名称:stress,代码行数:7,代码来源:Texmap.cpp

示例9: BeginEditParams

void bhkSphereObject::BeginEditParams(IObjParam *ip,ULONG flags,Animatable *prev)
{
   SimpleObject::BeginEditParams(ip,flags,prev);

   // Gotta make a new one.
   //if (NULL == pmapParam) 
   //{
   //   pmapParam = CreateCPParamMap2(
   //      0,
   //      pblock2,
   //      GetCOREInterface(),
   //      hInstance,
   //      MAKEINTRESOURCE(IDD_SPHEREPARAM2),
   //      GetString(IDS_RB_PARAMETERS),
   //      0);
   //}
   this->ip = ip;
   sphereDesc.BeginEditParams(ip,this,flags,prev);
   param_blk.SetUserDlgProc(new SphereParamDlgProc(this));
   pmapParam = pblock2->GetMap(sphere_params);
   //if(pmapParam) {
   //   // A callback for the type in.
   //   pmapParam->SetUserDlgProc(new SphereParamDlgProc(this));
   //}
}
开发者ID:blabbatheorange,项目名称:Nif-Plugin,代码行数:25,代码来源:bhkSphereObj.cpp

示例10:

bhkSphereObject::~bhkSphereObject() {
   param_blk.SetUserDlgProc();
   sphereCreateCB.SetObj(NULL);
   if (pmapParam) {
      pmapParam  = NULL;
   }
}
开发者ID:blabbatheorange,项目名称:Nif-Plugin,代码行数:7,代码来源:bhkSphereObj.cpp

示例11: BeginEditParams

void PaintDeformTest::BeginEditParams( IObjParam *ip, ULONG flags,Animatable *prev )
{
	this->ip = ip;
	PaintDeformTestDesc.BeginEditParams(ip, this, flags, prev);
	paintdeformtest_param_blk.SetUserDlgProc(new PaintDeformTestDlgProc(this));

	pPainter = NULL;

	ReferenceTarget *painterRef = (ReferenceTarget *) GetCOREInterface()->CreateInstance(REF_TARGET_CLASS_ID,PAINTERINTERFACE_CLASS_ID);
	
//set it to the correct verion
	if (painterRef)
		{
		pPainter = (IPainterInterface_V7 *) painterRef->GetInterface(PAINTERINTERFACE_V7);
		}

	TimeValue t = ip->GetTime();

	NotifyDependents(Interval(t,t), PART_ALL, REFMSG_BEGIN_EDIT);
	NotifyDependents(Interval(t,t), PART_ALL, REFMSG_MOD_DISPLAY_ON);
	SetAFlag(A_MOD_BEING_EDITED);

	

}
开发者ID:innovatelogic,项目名称:ilogic-vm,代码行数:25,代码来源:PaintDeformTest.cpp

示例12:

bhkListObject::~bhkListObject() 
{
   param_blk.SetUserDlgProc();
   if (pmapParam) {
      pmapParam  = NULL;
   }
}
开发者ID:Doommarine23,项目名称:max_nif_plugin,代码行数:7,代码来源:bhkListObj.cpp

示例13: BeginEditParams

void bhkListObject::BeginEditParams(IObjParam *ip,ULONG flags,Animatable *prev)
{
   SimpleObject::BeginEditParams(ip,flags,prev);
   mIP = ip;

   //if (pmapParam == NULL) {
   //   pmapParam = CreateCPParamMap2(
   //      0,
   //      pblock2,
   //      GetCOREInterface(),
   //      hInstance,
   //      MAKEINTRESOURCE(IDD_LISTPARAM),
   //      GetString(IDS_PARAMS),
   //      0);
   //}
   listDesc.BeginEditParams(ip,this,flags,prev);
   param_blk.SetUserDlgProc(new ListParamDlgProc(this));
   pmapParam = pblock2->GetMap(list_params);

   BeginEditRBParams(ip, flags, prev);

	//pmapParam->GetIRollup()->Hide(1);


   this->ip = ip;

   //if(pmapParam) {
   //   // A callback for the type in.
   //   pmapParam->SetUserDlgProc(new ListParamDlgProc(this));
   //}

}
开发者ID:Doommarine23,项目名称:max_nif_plugin,代码行数:32,代码来源:bhkListObj.cpp

示例14:

bhkCapsuleObject::~bhkCapsuleObject() 
{
   param_blk.SetUserDlgProc();
   CapsuleCreateCB.SetObj(NULL);
   if (pmapParam) {
      pmapParam  = NULL;
   }
}
开发者ID:Anchoys1,项目名称:max_nif_plugin,代码行数:8,代码来源:bhkCapsuleObj.cpp

示例15: EndEditParams

void HoudiniEngineMesh::EndEditParams( IObjParam *ip, ULONG flags,Animatable *next )
{
	SimpleObject2::EndEditParams(ip,flags,next);
	
	GetHoudiniEngineMeshDesc()->EndEditParams(ip, this, flags, next);
	houdiniengine_param_blk.SetUserDlgProc(ui_asset, nullptr);
	this->ip = NULL;
}
开发者ID:K240,项目名称:HoudiniEngineFor3dsMax,代码行数:8,代码来源:HoudiniEngine_mesh.cpp


注:本文中的ParamBlockDesc2::SetUserDlgProc方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。