mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-17 10:04:38 +00:00
corrected comments and descriptions
This commit is contained in:
parent
92ee44b26c
commit
e99d744dac
@ -249,11 +249,20 @@ public:
|
||||
MeshFilterInterface() : MeshLabInterface() {}
|
||||
virtual ~MeshFilterInterface() {}
|
||||
|
||||
// The longer string describing each filtering action.
|
||||
/** The long, formatted string describing each filtering action.
|
||||
// This string is printed in the top of the parameter window
|
||||
// so it should be at least one or two paragraphs long.
|
||||
// you can use simple html formatting tags (like <br> <b> and <i>) to improve readability.
|
||||
// This string is used in the 'About plugin' dialog and by meshlabserver to create the filter list page.
|
||||
// so it should be at least one or two paragraphs long. The more the better.
|
||||
// you can use simple html formatting tags (like "<br>" "<b>" and "<i>") to improve readability.
|
||||
// This string is used in the 'About plugin' dialog and by meshlabserver to create the filter list wiki page and the doxygen documentation of the filters.
|
||||
// Here is the place where you should put you bibliographic references in a form like this:
|
||||
<br>
|
||||
See: <br />
|
||||
<i>Luiz Velho, Denis Zorin </i><br/>
|
||||
<b>"4-8 Subdivision"</b><br/>
|
||||
CAGD, volume 18, Issue 5, Pages 397-427.<br/>
|
||||
<br>
|
||||
e.g. italic for authors, bold for title (quoted) and plain for bib ref.
|
||||
*/
|
||||
virtual QString filterInfo(FilterIDType filter) const =0;
|
||||
|
||||
/** The FilterClass describes in which generic class of filters it fits.
|
||||
|
||||
@ -483,7 +483,7 @@ void FilterDocSampling::initParameterSet(QAction *action, MeshDocument & md, Ric
|
||||
"<b>Dual Similar Triangle</b>: each triangle is subdivided into similar triangles and the internal vertices of these triangles are considered. <br>"
|
||||
"<b>Long Edge Subdiv</b> each triangle is recursively subdivided along the longest edge. <br>"
|
||||
"<b>Sample Edges</b> Only the edges of the mesh are uniformly sampled. <br>"
|
||||
"<b>Sample NonFaux Edges</b> Only the non-faux edges of the mesh are uniformly sampled. <br>"
|
||||
"<b>Sample NonFaux Edges</b> Only the non-faux edges of the mesh are uniformly sampled."
|
||||
)));
|
||||
|
||||
parlst.addParam(new RichBool("Random", false,
|
||||
@ -498,7 +498,7 @@ void FilterDocSampling::initParameterSet(QAction *action, MeshDocument & md, Ric
|
||||
QStringList() << "Average" << "Closest to center",
|
||||
tr("Representative Strataegy:"),
|
||||
tr( "<b>Average</b>: for each cell we take the average of the sample falling into. The resulting point is a new point.<br>"
|
||||
"<b>Closes to center</b>: for each cell we take the sample that is closest to the center of the cell. Choosen vertices are a subset of the original ones. <br>"
|
||||
"<b>Closes to center</b>: for each cell we take the sample that is closest to the center of the cell. Choosen vertices are a subset of the original ones."
|
||||
)));
|
||||
parlst.addParam(new RichBool ("Selected", false, "Selected",
|
||||
"If true only for the filter is applied only on the selected subset of the mesh."));
|
||||
@ -515,7 +515,7 @@ void FilterDocSampling::initParameterSet(QAction *action, MeshDocument & md, Ric
|
||||
case FP_POISSONDISK_SAMPLING :
|
||||
parlst.addParam(new RichInt("SampleNum", 1000, "Number of samples", "The desired number of samples. The ray of the disk is calculated according to the sampling density."));
|
||||
parlst.addParam(new RichAbsPerc("Radius", 0, 0, md.mm()->cm.bbox.Diag(), "Explicit Radius", "If not zero this parameter override the previous parameter to allow exact radius specification"));
|
||||
parlst.addParam(new RichInt("MontecarloRate", 20, "MonterCarlo OverSampling", "The over-sampling rate that is used to generate the intial Montecarlo samples (e.g. if this parameter is <i>K</i> means that<i>K</i> x <poisson sample> points will be used). The generated Poisson-disk samples are a subset of these initial Montecarlo samples. Larger this number slows the process but make it a bit more accurate."));
|
||||
parlst.addParam(new RichInt("MontecarloRate", 20, "MonterCarlo OverSampling", "The over-sampling rate that is used to generate the intial Montecarlo samples (e.g. if this parameter is <i>K</i> means that<i>K</i> x <i>poisson sample</i> points will be used). The generated Poisson-disk samples are a subset of these initial Montecarlo samples. Larger this number slows the process but make it a bit more accurate."));
|
||||
parlst.addParam(new RichBool("Subsample", false, "Base Mesh Subsampling", "If true the original vertices of the base mesh are used as base set of points. In this case the SampleNum should be obviously much smaller than the original vertex number.<br>Note that this option is very useful in the case you want to subsample a dense point cloud."));
|
||||
parlst.addParam(new RichBool("RefineFlag", false, "Refine Existing Samples", "If true the vertices of the below mesh are used as starting vertices, and they will utterly refined by adding more and more points until possible. "));
|
||||
parlst.addParam(new RichMesh("RefineMesh", md.mm(),&md, "Samples to be refined", "Used only if the above option is checked. "));
|
||||
@ -524,7 +524,7 @@ void FilterDocSampling::initParameterSet(QAction *action, MeshDocument & md, Ric
|
||||
parlst.addParam(new RichInt("SampleNum", 1000, "Number of samples", "The desired number of samples. The ray of the disk is calculated according to the sampling density."));
|
||||
parlst.addParam(new RichAbsPerc("Radius", 0, 0, md.mm()->cm.bbox.Diag(), "Explicit Radius", "If not zero this parameter override the previous parameter to allow exact radius specification"));
|
||||
parlst.addParam(new RichFloat("RadiusVariance", 2, "Radius Variance", "The radius of the disk is allowed to vary between r/var and r*var. If this parameter is 1 the sampling is the same of the Poisson Disk Sampling"));
|
||||
parlst.addParam(new RichInt("MontecarloRate", 20, "MonterCarlo OverSampling", "The over-sampling rate that is used to generate the intial Montecarlo samples (e.g. if this parameter is x means that x * <poisson sample> points will be used). The generated Poisson-disk samples are a subset of these initial Montecarlo samples. Larger this number slows the process but make it a bit more accurate."));
|
||||
parlst.addParam(new RichInt("MontecarloRate", 20, "MonterCarlo OverSampling", "The over-sampling rate that is used to generate the intial Montecarlo samples (e.g. if this parameter is x means that x * <i>poisson sample</i> points will be used). The generated Poisson-disk samples are a subset of these initial Montecarlo samples. Larger this number slows the process but make it a bit more accurate."));
|
||||
parlst.addParam(new RichBool("Subsample", false, "Base Mesh Subsampling", "If true the original vertices of the base mesh are used as base set of points. In this case the SampleNum should be obviously much smaller than the original vertex number."));
|
||||
break;
|
||||
case FP_TEXEL_SAMPLING :
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user