本文整理汇总了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));
}
示例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) );
}
示例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;
}
示例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;
}
示例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;
}
示例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));
}
示例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;
}
示例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;
}
示例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));
//}
}
示例10:
bhkSphereObject::~bhkSphereObject() {
param_blk.SetUserDlgProc();
sphereCreateCB.SetObj(NULL);
if (pmapParam) {
pmapParam = NULL;
}
}
示例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);
}
示例12:
bhkListObject::~bhkListObject()
{
param_blk.SetUserDlgProc();
if (pmapParam) {
pmapParam = NULL;
}
}
示例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));
//}
}
示例14:
bhkCapsuleObject::~bhkCapsuleObject()
{
param_blk.SetUserDlgProc();
CapsuleCreateCB.SetObj(NULL);
if (pmapParam) {
pmapParam = NULL;
}
}
示例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;
}