rename python filters, hide select visible faces filter

This commit is contained in:
alemuntoni 2023-10-16 16:11:03 +02:00
parent 7b1f86881d
commit 666198d5be
3 changed files with 9 additions and 9 deletions

View File

@ -83,7 +83,7 @@ QString AmbientOcclusionPlugin::filterName(ActionIDType filterId) const
QString AmbientOcclusionPlugin::pythonFilterName(ActionIDType f) const
{
switch (f) {
case FP_AMBIENT_OCCLUSION: return QString("compute_scalar_ambient_occlusion");
case FP_AMBIENT_OCCLUSION: return QString("compute_scalar_ambient_occlusion_gpu");
default: assert(0); return QString();
}
}

View File

@ -36,7 +36,7 @@ FilterEmbreePlugin::FilterEmbreePlugin()
FP_OBSCURANCE,
FP_AMBIENT_OCCLUSION,
FP_SDF,
FP_SELECT_VISIBLE_FACES,
//FP_SELECT_VISIBLE_FACES,
FP_ANALYZE_NORMALS
};
@ -89,15 +89,15 @@ QString FilterEmbreePlugin::pythonFilterName(ActionIDType f) const
{
switch(f) {
case FP_OBSCURANCE :
return QString("Compute Obscurance with Embree");
return QString("compute_scalar_by_volumetric_obscurance");
case FP_AMBIENT_OCCLUSION:
return QString("Compute Ambient occlusion with Embree");
return QString("compute_scalar_ambient_occlusion");
case FP_SDF:
return QString("Compute Shape-Diameter Function with Embree");
return QString("compute_scalar_by_shape_diameter_function_per_vertex");
case FP_SELECT_VISIBLE_FACES:
return QString("Compute Visible Faces Select with Embree");
return QString("compute_selection_by_visibility_per_face");
case FP_ANALYZE_NORMALS:
return QString("Reorient face normals by geometry");
return QString("meshing_re_orient_faces_by_geometry");
default :
assert(0);
return QString();

View File

@ -110,9 +110,9 @@ QString SdfGpuPlugin::filterName(ActionIDType filterId) const
QString SdfGpuPlugin::pythonFilterName(ActionIDType f) const
{
switch (f) {
case SDF_SDF: return QString("compute_scalar_by_shape_diameter_function_per_vertex");
case SDF_SDF: return QString("compute_scalar_by_shape_diameter_function_per_vertex_gpu");
case SDF_DEPTH_COMPLEXITY: return QString("get_depth_complexity");
case SDF_OBSCURANCE: return QString("compute_scalar_by_volumetric_obscurance");
case SDF_OBSCURANCE: return QString("compute_scalar_by_volumetric_obscurance_gpu");
default: assert(0); return QString();
}