Skip to content

Commit

Permalink
Fix various typos
Browse files Browse the repository at this point in the history
Found via `codespell -q 3 -S ./src/external,./src/vcglib,./src/plugins_unsupported/external,./unsupported  -L ba,childs,hist,lod,strutture,vertexes`
  • Loading branch information
luzpaz committed Jul 16, 2021
1 parent 6014d0e commit 9f56f78
Show file tree
Hide file tree
Showing 10 changed files with 208 additions and 208 deletions.
396 changes: 198 additions & 198 deletions docs/dox/filter.dox

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ On __osx__ some plugins exploit openmp parallelism (screened poisson, isoparamet

On __Windows__, we suggest to build meshlab using QtCreator. Before trying to build, you should:

* install VisualStudio >= 2017 with the C++ developement package;
* install VisualStudio >= 2017 with the C++ development package;
* install Qt >= 5.12 and QtCreator.

then, open the CMakeLists.txt file and try to build MeshLab.
2 changes: 1 addition & 1 deletion src/external/openkinect/examples/cppview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ void DrawGLScene()

void keyPressed(unsigned char key, int x, int y)
{
/* FreenectDeviceState::getState() doesnt really work as expected */
/* FreenectDeviceState::getState() doesn't really work as expected */
//double freenect_angle = device->getState().getTiltDegs();

if (key == 27) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ void DecorateRasterProjPlugin::updateDepthTexture(QGLContext* glctx, MLSceneGLSh
void DecorateRasterProjPlugin::updateCurrentRaster( MeshDocument &m, QGLContext* glctx, MLSceneGLSharedDataContext* ctx)
{
// Update the stored raster with the one provided by the mesh document.
// If both are identical, the update is simply skiped.
// If both are identical, the update is simply skipped.
if( m.rm() == m_CurrentRaster )
return;

Expand Down
2 changes: 1 addition & 1 deletion src/meshlabplugins/edit_align/align/align_parameter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ void AlignParameter::AlignPairParamToRichParameterSet(const AlignPair::Param &ap
rps.addParam(RichBool("SampleMode",app.SampleMode == AlignPair::Param::SMNormalEqualized,"Normal Equalized Sampling","if true (default) the sample points of icp are chosen with a distribution uniform with respect to the normals of the surface. Otherwise they are distributed in a spatially uniform way."));
rps.addParam(RichFloat("ReduceFactorPerc",app.ReduceFactorPerc,"MSD Reduce Factor","At each ICP iteration the Minimal Starting Distance is reduced to be 5 times the <Reduce Factor> percentile of the sample distances (e.g. if RF is 0.9 the new Minimal Starting Distance is 5 times the value <X> such that 90% of the sample lies at a distance lower than <X>."));
rps.addParam(RichFloat("PassHiFilter",app.PassHiFilter,"Sample Cut High","At each ICP iteration all the sample that are farther than the <cuth high> percentile are discarded ( In practice we use only the <cut high> best results )."));
rps.addParam(RichBool("MatchMode",app.MatchMode == AlignPair::Param::MMRigid,"Rigid matching","If true the ICP is cosntrained to perform matching only through roto-translations (no scaling allowed). If false a more relaxed transformation matrix is allowed (scaling and shearing can appear)."));
rps.addParam(RichBool("MatchMode",app.MatchMode == AlignPair::Param::MMRigid,"Rigid matching","If true the ICP is constrained to perform matching only through roto-translations (no scaling allowed). If false a more relaxed transformation matrix is allowed (scaling and shearing can appear)."));
}

void AlignParameter::RichParameterSetToMeshTreeParam(const RichParameterList &fps , MeshTree::Param &mtp)
Expand Down
4 changes: 2 additions & 2 deletions src/meshlabplugins/edit_pickpoints/editpickpoints.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ void EditPickPointsPlugin::decorate(MeshModel &mm, GLArea *gla, QPainter *painte
currentModel = &mm;
}

//We have to calculate the position here because it doesnt work in the mouseEvent functions for some reason
//We have to calculate the position here because it doesn't work in the mouseEvent functions for some reason
Point3m pickedPoint;

if (moveSelectPoint)
Expand All @@ -99,7 +99,7 @@ void EditPickPointsPlugin::decorate(MeshModel &mm, GLArea *gla, QPainter *painte
currentMousePosition.y(),
pickedPoint[0], pickedPoint[1], pickedPoint[2]); */

//let the dialog know that this was the pointed picked in case it wants the information
//let the dialog know that this was the point picked in case it wants the information
bool picked = Pick<Point3m>(currentMousePosition.x(), currentMousePosition.y(), pickedPoint);
pickPointsDialog->selectOrMoveThisPoint(pickedPoint);

Expand Down
2 changes: 1 addition & 1 deletion src/meshlabplugins/edit_pickpoints/pickpointsDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ PickedPointTreeWidgetItem::PickedPointTreeWidgetItem(
setName(name);

active = _active;
//would set the checkbox but qt doesnt allow a way to do this in the constructor
//would set the checkbox but qt doesn't allow a way to do this in the constructor

//set point and normal
setPointAndNormal(intputPoint, faceNormal);
Expand Down
2 changes: 1 addition & 1 deletion src/meshlabplugins/edit_pickpoints/pickpointsDialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class PickedPointTreeWidgetItem : public QTreeWidgetItem
//get the normal
Point3m getNormal();

//clear the ponint datas
//clear the point data
void clearPoint();

//return if the point is set
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ RichParameterList FilterIsoParametrization::initParameterList(const QAction *a,
"3: Regularity : stop at minimum number of irregular vertices<br>"
"4: L2 : stop at minimum OneWay L2 Stretch Eff")));

par.addParam(RichInt("convergenceSpeed",1, "Convergence Precision", "This parameter controls the convergence speed/precision of the optimization of the texture coordinates. Larger the number slower the processing and ,eventually, slightly better results"));
par.addParam(RichInt("convergenceSpeed",1, "Convergence Precision", "This parameter controls the convergence speed/precision of the optimization of the texture coordinates. Larger the number slower the processing and, eventually, slightly better results"));
par.addParam(RichBool("DoubleStep",true,"Double Step","Use this bool to divide the parameterization in 2 steps. Double step makes the overall process faster and robust."
"<br> Consider to disable this bool in case the object has topologycal noise or small handles."));
// par.addParam(RichOpenFile("AbsLoadName", "", {"*.txt"}, "Load AM", "The filename of the abstract mesh that has to be loaded. If empty, the abstract mesh will be computed according to the above parameters (suggested extension '.abs')."));
Expand Down
2 changes: 1 addition & 1 deletion src/meshlabplugins/filter_sample_dyn/filter_sample_dyn.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ FilterPlugin::FilterClass ExtraSampleDynPlugin::getClass(const QAction *) const
//
// In this sample a couple of parameter are declared as dynamic. That means that the meshlab framework will automatically
// manage the store and restore of the mesh state during the dynamic movement of the filter.
// The pluging writer is no more burdened with the task of saving the state but has only to declare what the filter changes
// The plugin writer is no more burdened with the task of saving the state but has only to declare what the filter changes
// (in this case just the vertex color). When a filter is dynamic (e.g. it has a dynamic float parameter) the meshlab
// framework will automatically store that part of the state at the opening of the dialog. When the user drag the slider,
// the framework will restore the state and then simply call the apply callback of the filter.
Expand Down

0 comments on commit 9f56f78

Please sign in to comment.