Skip to content

Commit d8d964b

Browse files
committed
typos: fix typos in comments
1 parent 55ab890 commit d8d964b

File tree

324 files changed

+446
-446
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

324 files changed

+446
-446
lines changed

Accelerators/Vtkm/Filters/Testing/Cxx/TestVTKMExtractVOI.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ int TestVTKMExtractVOI(int argc, char* argv[])
3636
voi->SetVOI(-11, 39, 5, 45, 0, 0);
3737
voi->SetSampleRate(5, 5, 1);
3838

39-
// Get rid of ambiguous triagulation issues.
39+
// Get rid of ambiguous triangulation issues.
4040
vtkNew<vtkDataSetSurfaceFilter> surf;
4141
surf->SetInputConnection(voi->GetOutputPort());
4242

Accelerators/Vtkm/Filters/Testing/Cxx/TestVTKMHistogram.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ void testHistogramWithPointData(vtkmHistogram* filter, bool isPointType)
315315
VerifyHistogram(filter, isPointType);
316316
}
317317

318-
} // anomynous namespace
318+
} // anonymous namespace
319319

320320
int TestVTKMHistogram(int, char*[])
321321
{

CMake/patches/3.22/FindMPI.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ function (_MPI_interrogate_compiler LANG)
432432
# a particular MPICH derivate might check compiler interoperability.
433433
# Intel MPI in particular does this with I_MPI_CHECK_COMPILER.
434434
file(TO_NATIVE_PATH "${CMAKE_${LANG}_COMPILER}" _MPI_UNDERLAYING_COMPILER)
435-
# On Windows, the Intel MPI batch scripts can only work with filnames - Full paths will break them.
435+
# On Windows, the Intel MPI batch scripts can only work with filenames - Full paths will break them.
436436
# Due to the lack of other MPICH-based wrappers for Visual C++, we may treat this as default.
437437
if(MSVC)
438438
get_filename_component(_MPI_UNDERLAYING_COMPILER "${_MPI_UNDERLAYING_COMPILER}" NAME)

CMake/vtkModule.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ function (vtk_module_scan)
749749
endif ()
750750

751751
# Throw error when mutually exclusive options are present.
752-
# When a module opts into marshalling, it requries the hierarchy
752+
# When a module opts into marshalling, it requires the hierarchy
753753
if (${_vtk_scan_module_name}_EXCLUDE_WRAP AND ${_vtk_scan_module_name}_INCLUDE_MARSHAL)
754754
message(FATAL_ERROR
755755
"The ${_vtk_scan_module_name} module can not declare `EXCLUDE_WRAP` and `INCLUDE_MARSHAL` at the same time.")
@@ -4204,7 +4204,7 @@ function (vtk_module_add_module name)
42044204
# XXX(cmake-3.23): file sets
42054205
if (NOT _vtk_build_USE_FILE_SETS OR
42064206
CMAKE_VERSION VERSION_LESS "3.23" OR
4207-
# XXX(cmake-3.19): Using a non-`INTERACE` `FILE_SET`s with `INTERFACE`
4207+
# XXX(cmake-3.19): Using a non-`INTERFACE` `FILE_SET`s with `INTERFACE`
42084208
# targets is not yet supported.
42094209
(CMAKE_VERSION VERSION_LESS "3.19" AND
42104210
_vtk_add_module_HEADER_ONLY))

CMake/vtkModuleTesting.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ endfunction ()
5757
# Opt-in option from projects using VTK to activate SSIM baseline comparison
5858
if (DEFINED DEFAULT_USE_SSIM_IMAGE_COMP AND DEFAULT_USE_SSIM_IMAGE_COMP)
5959
set(default_image_compare "VTK_TESTING_IMAGE_COMPARE_METHOD=TIGHT_VALID")
60-
# We are compiling VTK standalone if we succed the following condition
60+
# We are compiling VTK standalone if we succeed the following condition
6161
elseif (DEFINED VTK_VERSION)
6262
set(default_image_compare "VTK_TESTING_IMAGE_COMPARE_METHOD=TIGHT_VALID")
6363
else()
@@ -321,7 +321,7 @@ C++ tests
321321
current source directory. If alternate baseline images are required,
322322
``<NAME>`` may be suffixed by ``_1``, ``_2``, etc. The valid image is passed via
323323
the ``-V`` flag.
324-
- ``TIGHT_VALID``: Uses euclidian type metrics to compare baselines. Baseline
324+
- ``TIGHT_VALID``: Uses euclidean type metrics to compare baselines. Baseline
325325
comparison is sensitive to outliers in this setting.
326326
- ``LOOSE_VALID``: Uses L1 type metrics to compare baselines. Baseline comparison
327327
is somewhat more forgiving. Typical use cases involve rendering that is highly GPU
@@ -710,7 +710,7 @@ Options:
710710
- ``JUST_VALID``: Only applies when neither ``NO_VALID`` or ``NO_RT`` are present.
711711
If it is not specified, the test is run via ``vtkmodules.test.rtImageTest``.
712712
- ``TIGHT_VALID``: Default behavior if legacy image comparison method is turned off by default.
713-
The baseline is tested using an euclidian metric, which is sensitive to outliers.
713+
The baseline is tested using an euclidean metric, which is sensitive to outliers.
714714
- ``LOOSE_VALID``: The baseline is tested using an norm-1 metric, which is less sensitive to
715715
outliers. It should typically be used when comparing text or when testing rendering that
716716
varies a lot depending on the GPU drivers.

CMake/vtkTypeLists.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# vtkTypeLists
33
44
This module provides lists of (c++) data type supported by VTK.
5-
A CamelCase formated list is also provided to easily construct
5+
A CamelCase formatted list is also provided to easily construct
66
class names.
77
88
This is useful to generate template instantiation at configure time.

Charts/Core/vtkScatterPlotMatrix.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ void vtkScatterPlotMatrix::AdvanceAnimation()
757757
// add 3d renderer to render window.
758758
renWin->AddRenderer(this->Private->BigChart3DRenderer);
759759
// DO NOT ERASE main scene renderer. Allow the 2D scatter plots to remain on the color
760-
// attachment. we don't want to draw those unncessarily during animation because it tanks
760+
// attachment. we don't want to draw those unnecessarily during animation because it tanks
761761
// framerate.
762762
this->Scene->GetRenderer()->EraseOff();
763763
this->Private->CurrentAngle = 0.0;

Common/ComputationalGeometry/Testing/Cxx/UnitTestParametricSpline.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ int TestSetGet()
269269
++status;
270270
}
271271

272-
// Now change the spline tyeps
272+
// Now change the spline types
273273
vtkSmartPointer<vtkKochanekSpline> xSpline = vtkSmartPointer<vtkKochanekSpline>::New();
274274
pspline->SetXSpline(xSpline);
275275
className = pspline->GetXSpline()->GetClassName();

Common/ComputationalGeometry/vtkBilinearQuadIntersection.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class VTKCOMMONCOMPUTATIONALGEOMETRY_EXPORT vtkBilinearQuadIntersection
3535

3636
/**
3737
* Compute cartesian coordinates of point in the quad
38-
* using parameteric coordinates
38+
* using parametric coordinates
3939
*/
4040
vtkVector3d ComputeCartesianCoordinates(double u, double v);
4141

Common/Core/vtkDeserializer.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class VTKCOMMONCORE_EXPORT vtkDeserializer : public vtkObject
3838
* Constructs an object of type `className`.
3939
*
4040
* If a constructor is not found for `className`, the `GetConstructor` walks through each item
41-
* in `superClassNames` and attempts to contruct an instance of that type.
41+
* in `superClassNames` and attempts to construct an instance of that type.
4242
* This is useful when the VTK build of the serializer side and the deserializer side
4343
* are on entirely different platforms by taking advantage of the object factory mechanism.
4444
*
@@ -48,7 +48,7 @@ class VTKCOMMONCORE_EXPORT vtkDeserializer : public vtkObject
4848
* Let's suppose in a Windows VTK application, the `vtkSerializer` serialized an instance of
4949
* `vtkWin32RenderWindowInteractor` into json which was then transferred over the network
5050
* to a macOS machine. Over there, seeing that the state refers to the
51-
* `vtkWin32RenderWindowInteractor` calss the `vtkDeserializer` will attempt to find a constructor
51+
* `vtkWin32RenderWindowInteractor` class the `vtkDeserializer` will attempt to find a constructor
5252
* for win32 class and fail. It then checks if the super class (here `vtkRenderWindowInteractor`)
5353
* has a constructor and constructs a new instance of that type. Due to the object factory
5454
* mechanism, the macOS build of VTK constructs a `vtkCocoaRenderWindowInteractor` and it all

0 commit comments

Comments
 (0)