diff --git a/CMake/vtkiOS.cmake b/CMake/vtkiOS.cmake index adf16ea5a20..98dff1006e1 100644 --- a/CMake/vtkiOS.cmake +++ b/CMake/vtkiOS.cmake @@ -167,7 +167,7 @@ macro(crosscompile target toolchain_file archs) ${ios_cmake_flags} ) # - # add an INSTALL_ALLWAYS since we want it and cmake lacks it + # add an INSTALL_ALWAYS since we want it and cmake lacks it # ExternalProject_Get_Property(${target} binary_dir) _ep_get_build_command(${target} INSTALL cmd) diff --git a/Common/DataModel/Testing/Cxx/TestQuadraticPolygonFilters.cxx b/Common/DataModel/Testing/Cxx/TestQuadraticPolygonFilters.cxx index cd4f5e77d22..33b431ee854 100644 --- a/Common/DataModel/Testing/Cxx/TestQuadraticPolygonFilters.cxx +++ b/Common/DataModel/Testing/Cxx/TestQuadraticPolygonFilters.cxx @@ -98,7 +98,7 @@ int TestQuadraticPolygonFilters(int argc, char* argv[]) delete[] connectivityQuadPoly2; delete[] connectivityQuads; - // to get the cell id whith the picker + // to get the cell id with the picker vtkNew id; id->SetName("CellID"); id->SetNumberOfComponents(1); diff --git a/Common/DataModel/vtkDataSet.h b/Common/DataModel/vtkDataSet.h index 50a077f6677..5c0af13835a 100644 --- a/Common/DataModel/vtkDataSet.h +++ b/Common/DataModel/vtkDataSet.h @@ -379,7 +379,7 @@ class VTKCOMMONDATAMODEL_EXPORT vtkDataSet : public vtkDataObject //@{ /** - * Normally called by pipeline executives or algoritms only. This method + * Normally called by pipeline executives or algorithms only. This method * computes the ghost arrays for a given dataset. The zeroExt argument * specifies the extent of the region which ghost type = 0. */ diff --git a/Common/DataModel/vtkHyperOctree.cxx b/Common/DataModel/vtkHyperOctree.cxx index 53310b0559a..ba110ea34a7 100644 --- a/Common/DataModel/vtkHyperOctree.cxx +++ b/Common/DataModel/vtkHyperOctree.cxx @@ -3620,7 +3620,7 @@ void vtkHyperOctree::TraverseDualRecursively( } //---------------------------------------------------------------------------- -// Contour the cell assocaited with the center point. +// Contour the cell associated with the center point. // if it has not already been contoured. void vtkHyperOctree::EvaluateDualCorner( vtkHyperOctreeLightWeightCursor* neighborhood) diff --git a/Common/DataModel/vtkOverlappingAMR.h b/Common/DataModel/vtkOverlappingAMR.h index 4a1d04e2679..583691109db 100644 --- a/Common/DataModel/vtkOverlappingAMR.h +++ b/Common/DataModel/vtkOverlappingAMR.h @@ -178,7 +178,7 @@ class VTKCOMMONDATAMODEL_EXPORT vtkOverlappingAMR: public vtkUniformGridAMR //@{ /** * Check whether the data set is internally consistent, e.g. - * whether the meta data and acutal data blocks match. + * whether the meta data and actual data blocks match. * Incorrectness will be reported as error messages */ void Audit(); diff --git a/Common/DataModel/vtkPolyLine.cxx b/Common/DataModel/vtkPolyLine.cxx index 6c17962e472..a17b8f5ae7a 100644 --- a/Common/DataModel/vtkPolyLine.cxx +++ b/Common/DataModel/vtkPolyLine.cxx @@ -76,7 +76,7 @@ inline vtkIdType FindNextValidSegment(vtkPoints *points, vtkIdList *pointIds, // normals, they are "orientation" normals used by classes like vtkTubeFilter // that control the rotation around the line. The normals try to stay pointing // in the same direction as much as possible (i.e., minimal rotation) w.r.t the -// firstNormal (computed if NULL). Allways returns 1 (success). +// firstNormal (computed if NULL). Always returns 1 (success). int vtkPolyLine::GenerateSlidingNormals(vtkPoints *pts, vtkCellArray *lines, vtkDataArray *normals, double* firstNormal) diff --git a/Common/DataModel/vtkPolyLine.h b/Common/DataModel/vtkPolyLine.h index 3e97ad985c3..2a0cdcb2b9d 100644 --- a/Common/DataModel/vtkPolyLine.h +++ b/Common/DataModel/vtkPolyLine.h @@ -46,7 +46,7 @@ class VTKCOMMONDATAMODEL_EXPORT vtkPolyLine : public vtkCell * normals, they are "orientation" normals used by classes like vtkTubeFilter * that control the rotation around the line. The normals try to stay pointing * in the same direction as much as possible (i.e., minimal rotation) w.r.t the - * firstNormal (computed if NULL). Allways returns 1 (success). + * firstNormal (computed if NULL). Always returns 1 (success). */ static int GenerateSlidingNormals(vtkPoints *, vtkCellArray *, vtkDataArray *); static int GenerateSlidingNormals(vtkPoints *, vtkCellArray *, vtkDataArray *, diff --git a/Common/DataModel/vtkSortFieldData.h b/Common/DataModel/vtkSortFieldData.h index f7ae39ee274..eea10de08b8 100644 --- a/Common/DataModel/vtkSortFieldData.h +++ b/Common/DataModel/vtkSortFieldData.h @@ -74,7 +74,7 @@ class VTKCOMMONDATAMODEL_EXPORT vtkSortFieldData : public vtkSortDataArray * it. Note that the indices are in sorted (ascending) order, and indicate * the final sorted position of the sort. So for example indices[0]=10 * indicates that the original data in position 10 in the field, was moved - * to postion 0 after the sort. By default, returnIndices=0. (Other notes: + * to position 0 after the sort. By default, returnIndices=0. (Other notes: * if any array is not the same length as the sorting array, then it will * be skipped and not sorted.) */ @@ -94,7 +94,7 @@ class VTKCOMMONDATAMODEL_EXPORT vtkSortFieldData : public vtkSortDataArray * the user takes ownership of the data and must delete it. Note that the * indices are always in sorted (ascending) order, and indicate the final * sorted position of the sort. So for example indices[0]=10 indicates that - * the original data in position 10 in the field, was moved to postion 0 + * the original data in position 10 in the field, was moved to position 0 * after the sort (i.e., position 0 is the smallest value). However, if * sort direction dir=1, the indices do not change but the final shuffle of * the data is in reverse order (note idx[n-1] for n keys is the largest diff --git a/Common/DataModel/vtkStaticPointLocator.cxx b/Common/DataModel/vtkStaticPointLocator.cxx index 4512d72e2b0..c7d9a7698f9 100644 --- a/Common/DataModel/vtkStaticPointLocator.cxx +++ b/Common/DataModel/vtkStaticPointLocator.cxx @@ -1449,7 +1449,7 @@ void vtkStaticPointLocator::BuildLocator() } } - // Clamp the i-j-k coords withing allowable range. We clamp the upper range + // Clamp the i-j-k coords within allowable range. We clamp the upper range // because we want the total number of buckets to lie within an "int" value. for (i=0; i<3; i++) { diff --git a/Common/Math/vtkQuaternion.h b/Common/Math/vtkQuaternion.h index 9bf6899ead7..7bc1e1733a5 100644 --- a/Common/Math/vtkQuaternion.h +++ b/Common/Math/vtkQuaternion.h @@ -404,7 +404,7 @@ vtkQuaternionOperatorDivideScalar(quaternionType, type) // // .SECTION Description // This class is uses vtkQuaternion with float type data. -// For futher description, see the templated class vtkQuaternion. +// For further description, see the templated class vtkQuaternion. // @sa vtkQuaterniond vtkQuaternion class vtkQuaternionf : public vtkQuaternion { @@ -421,7 +421,7 @@ class vtkQuaternionf : public vtkQuaternion // // .SECTION Description // This class is uses vtkQuaternion with double type data. -// For futher description, seethe templated class vtkQuaternion. +// For further description, seethe templated class vtkQuaternion. // @sa vtkQuaternionf vtkQuaternion class vtkQuaterniond : public vtkQuaternion { diff --git a/Examples/Annotation/Python/DispAllFonts.py b/Examples/Annotation/Python/DispAllFonts.py index 23ee42c9b38..73bfc7d927f 100755 --- a/Examples/Annotation/Python/DispAllFonts.py +++ b/Examples/Annotation/Python/DispAllFonts.py @@ -129,7 +129,7 @@ def set_font_size(sz): def quit(obj=root): obj.quit() -# We handle the WM_DELETE_WINDOW protocal request. This request is +# We handle the WM_DELETE_WINDOW protocol request. This request is # triggered when the widget is closed using the standard window # manager icons or buttons. In this case the quit function will be # called and it will free up any objects we created then exit the diff --git a/Examples/Annotation/Tcl/DispAllFonts.tcl b/Examples/Annotation/Tcl/DispAllFonts.tcl index 17aa059b615..7739c3f5c51 100644 --- a/Examples/Annotation/Tcl/DispAllFonts.tcl +++ b/Examples/Annotation/Tcl/DispAllFonts.tcl @@ -148,7 +148,7 @@ pack $vtkw -side top -fill both -expand yes # # We set the window manager (wm command) so that it registers a -# command to handle the WM_DELETE_WINDOW protocal request. This +# command to handle the WM_DELETE_WINDOW protocol request. This # request is triggered when the widget is closed using the standard # window manager icons or buttons. In this case the exit callback # will be called and it will free up any objects we created then exit diff --git a/Examples/GUI/Python/ImageTracerWidget.py b/Examples/GUI/Python/ImageTracerWidget.py index fc4e3aeb25d..9c8a0926ce8 100755 --- a/Examples/GUI/Python/ImageTracerWidget.py +++ b/Examples/GUI/Python/ImageTracerWidget.py @@ -24,7 +24,7 @@ # accordingly. # 6) ctrl key + right button down on any handle will erase it. Any existing # snap line segments are updated accordingly. If the line was formed by -# continous tracing, the line is deleted leaving one handle. +# continuous tracing, the line is deleted leaving one handle. # 7) shift key + right button down on any snap line segment will insert a # handle at the cursor position. The snap line segment is split accordingly. # diff --git a/Examples/GUI/Tcl/ImageTracerWidget.tcl b/Examples/GUI/Tcl/ImageTracerWidget.tcl index 43be1916d4a..408218b0afa 100644 --- a/Examples/GUI/Tcl/ImageTracerWidget.tcl +++ b/Examples/GUI/Tcl/ImageTracerWidget.tcl @@ -18,7 +18,7 @@ package require vtkinteraction # accordingly. # 6) ctrl key + right button down on any handle will erase it. Any existing # snap line segments are updated accordingly. If the line was formed by -# continous tracing, the line is deleted leaving one handle. +# continuous tracing, the line is deleted leaving one handle. # 7) shift key + right button down on any snap line segment will insert a # handle at the cursor position. The snap line segment is split accordingly. # diff --git a/Examples/GUI/Tcl/MaceTk.tcl b/Examples/GUI/Tcl/MaceTk.tcl index 03867074529..717596d47c8 100644 --- a/Examples/GUI/Tcl/MaceTk.tcl +++ b/Examples/GUI/Tcl/MaceTk.tcl @@ -236,7 +236,7 @@ pack $vtkw .params -side top -fill both -expand yes # # We set the window manager (wm command) so that it registers a -# command to handle the WM_DELETE_WINDOW protocal request. This +# command to handle the WM_DELETE_WINDOW protocol request. This # request is triggered when the widget is closed using the standard # window manager icons or buttons. In this case the exit callback # will be called and it will free up any objects we created then exit diff --git a/Examples/ImageProcessing/Tcl/Histogram.tcl b/Examples/ImageProcessing/Tcl/Histogram.tcl index 59ae37e89ae..f03786cdc37 100644 --- a/Examples/ImageProcessing/Tcl/Histogram.tcl +++ b/Examples/ImageProcessing/Tcl/Histogram.tcl @@ -38,7 +38,7 @@ wm withdraw . toplevel .top # Set the window manager (wm command) so that it registers a -# command to handle the WM_DELETE_WINDOW protocal request. This +# command to handle the WM_DELETE_WINDOW protocol request. This # request is triggered when the widget is closed using the standard # window manager icons or buttons. In this case the exit callback # will be called and it will free up any objects we created then exit diff --git a/Examples/Medical/Python/Medical3.py b/Examples/Medical/Python/Medical3.py index d2bd6626e7f..ea037820a6f 100755 --- a/Examples/Medical/Python/Medical3.py +++ b/Examples/Medical/Python/Medical3.py @@ -83,7 +83,7 @@ # Now we are creating three orthogonal planes passing through the # volume. Each plane uses a different texture map and therefore has -# diferent coloration. +# different coloration. # Start by creatin a black/white lookup table. bwLut = vtk.vtkLookupTable() diff --git a/Examples/Medical/Tcl/Medical3.tcl b/Examples/Medical/Tcl/Medical3.tcl index f8882f9dcbc..6b8e47aab4a 100644 --- a/Examples/Medical/Tcl/Medical3.tcl +++ b/Examples/Medical/Tcl/Medical3.tcl @@ -84,7 +84,7 @@ vtkActor outline # Now we are creating three orthogonal planes passing through the # volume. Each plane uses a different texture map and therefore has -# diferent coloration. +# different coloration. # Start by creatin a black/white lookup table. vtkLookupTable bwLut diff --git a/Examples/Rendering/Python/rainbow.py b/Examples/Rendering/Python/rainbow.py index 9e7ec0ddede..82926c29d22 100755 --- a/Examples/Rendering/Python/rainbow.py +++ b/Examples/Rendering/Python/rainbow.py @@ -55,7 +55,7 @@ # This creates a blue to red lut. ##lut.SetHueRange(0.667, 0.0) -# This creates a wierd effect. The Build() method causes the lookup +# This creates a weird effect. The Build() method causes the lookup # table to allocate memory and create a table based on the currect # hue, saturation, value, and alpha (transparency) range. Here we then # manually overwrite the values generated by the Build() method. diff --git a/Examples/Rendering/Tcl/rainbow.tcl b/Examples/Rendering/Tcl/rainbow.tcl index f64b585972c..c24f7d42f9f 100644 --- a/Examples/Rendering/Tcl/rainbow.tcl +++ b/Examples/Rendering/Tcl/rainbow.tcl @@ -60,7 +60,7 @@ vtkActor outlineActor # This creates a blue to red lut. # lut SetHueRange 0.667 0.0 -# This creates a wierd effect. The Build() method causes the lookup table +# This creates a weird effect. The Build() method causes the lookup table # to allocate memory and create a table based on the currect hue, saturation, # value, and alpha (transparency) range. Here we then manually overwrite the # values generated by the Build() method. diff --git a/Examples/VisualizationAlgorithms/Tcl/TransformTextureCoords.tcl b/Examples/VisualizationAlgorithms/Tcl/TransformTextureCoords.tcl index 12e1ee0e286..0813a4c27fd 100644 --- a/Examples/VisualizationAlgorithms/Tcl/TransformTextureCoords.tcl +++ b/Examples/VisualizationAlgorithms/Tcl/TransformTextureCoords.tcl @@ -440,7 +440,7 @@ pack $gui -side top -anchor s -fill x -expand yes # # We set the window manager (wm command) so that it registers a -# command to handle the WM_DELETE_WINDOW protocal request.. +# command to handle the WM_DELETE_WINDOW protocol request.. # wm title . "Texture mapper/transform demo" wm protocol . WM_DELETE_WINDOW ::vtk::cb_exit diff --git a/Filters/Core/vtkContourGrid.h b/Filters/Core/vtkContourGrid.h index c2152c78fc6..c2ed7c5d398 100644 --- a/Filters/Core/vtkContourGrid.h +++ b/Filters/Core/vtkContourGrid.h @@ -175,7 +175,7 @@ class VTKFILTERSCORE_EXPORT vtkContourGrid : public vtkPolyDataAlgorithm //@{ /** * Set/get the desired precision for the output types. See the documentation - * for the vtkAlgorithm::DesiredOutputPrecision enum for an explaination of + * for the vtkAlgorithm::DesiredOutputPrecision enum for an explanation of * the available precision settings. */ void SetOutputPointsPrecision(int precision); diff --git a/Filters/FlowPaths/vtkInterpolatedVelocityField.h b/Filters/FlowPaths/vtkInterpolatedVelocityField.h index f99075b5a5b..49d0931ad61 100644 --- a/Filters/FlowPaths/vtkInterpolatedVelocityField.h +++ b/Filters/FlowPaths/vtkInterpolatedVelocityField.h @@ -38,7 +38,7 @@ * * Regardless of inter-cell or global search, vtkPointLocator is employed * as a crucial tool underlying the cell locator. The use of vtkPointLocator - * casues vtkInterpolatedVelocityField to return false target cells for + * causes vtkInterpolatedVelocityField to return false target cells for * datasets defined on complex grids. * * @warning diff --git a/Filters/FlowPaths/vtkLagrangianBasicIntegrationModel.h b/Filters/FlowPaths/vtkLagrangianBasicIntegrationModel.h index 0355b209d59..6a9b2279ca5 100644 --- a/Filters/FlowPaths/vtkLagrangianBasicIntegrationModel.h +++ b/Filters/FlowPaths/vtkLagrangianBasicIntegrationModel.h @@ -318,7 +318,7 @@ class VTKFILTERSFLOWPATHS_EXPORT vtkLagrangianBasicIntegrationModel : * xcur is the current particle variables * xnext is the next particle variable * t is the current integration time - * delT is the timeStep, wich is also an output for adaptative algorithm + * delT is the timeStep, which is also an output for adaptative algorithm * delTActual is the time step output corresponding to the actual movement of the particle * minStep is the minimum step time for adaptative algorithm * maxStep is the maximum step time for adaptative algorithm diff --git a/Filters/FlowPaths/vtkLagrangianParticleTracker.h b/Filters/FlowPaths/vtkLagrangianParticleTracker.h index 562413a8c03..7285f13f6e8 100644 --- a/Filters/FlowPaths/vtkLagrangianParticleTracker.h +++ b/Filters/FlowPaths/vtkLagrangianParticleTracker.h @@ -38,7 +38,7 @@ * with the same composite layout of surface input if any, showing all * interactions between particles and the surface input * - * It has a parallel implementation wich streams particle between domains. + * It has a parallel implementation which streams particle between domains. * * The most important parameters of this filter is it's integrationModel. * Only one integration model implementation exist currently in ParaView diff --git a/Filters/FlowPaths/vtkParticleTracerBase.cxx b/Filters/FlowPaths/vtkParticleTracerBase.cxx index 995f7700479..863815813c4 100644 --- a/Filters/FlowPaths/vtkParticleTracerBase.cxx +++ b/Filters/FlowPaths/vtkParticleTracerBase.cxx @@ -857,7 +857,7 @@ vtkPolyData* vtkParticleTracerBase::Execute(vtkInformationVector** inputVector) ParticleListIterator it_next; // - // Perform mulitple passes. The number of passes is equal to one more than + // Perform multiple passes. The number of passes is equal to one more than // the maximum times a particle gets migrated between processes. bool continueExecuting = true; int pass = 0; // really just for debugging diff --git a/Filters/General/Testing/Python/GreenLagrangeStrain.py b/Filters/General/Testing/Python/GreenLagrangeStrain.py index 7f7f1666a0f..886668d4ce2 100755 --- a/Filters/General/Testing/Python/GreenLagrangeStrain.py +++ b/Filters/General/Testing/Python/GreenLagrangeStrain.py @@ -47,7 +47,7 @@ # Test a few deformation gradients F_lst = [] -# Simple extentions +# Simple extensions F_lst += [numpy.array([[2,0,0], [0,1,0], [0,0,1]])] diff --git a/Filters/Geometry/vtkImageDataToUniformGrid.cxx b/Filters/Geometry/vtkImageDataToUniformGrid.cxx index c307a770ca2..f0a638bf44c 100644 --- a/Filters/Geometry/vtkImageDataToUniformGrid.cxx +++ b/Filters/Geometry/vtkImageDataToUniformGrid.cxx @@ -201,7 +201,7 @@ int vtkImageDataToUniformGrid::Process( } else { - vtkErrorMacro("Wrong assocation type: " << association); + vtkErrorMacro("Wrong association type: " << association); return VTK_ERROR; } diff --git a/Filters/Hybrid/vtkImplicitModeller.cxx b/Filters/Hybrid/vtkImplicitModeller.cxx index 618b5942a88..b537f16cda7 100644 --- a/Filters/Hybrid/vtkImplicitModeller.cxx +++ b/Filters/Hybrid/vtkImplicitModeller.cxx @@ -356,7 +356,7 @@ void vtkImplicitModellerAppendExecute(vtkImplicitModeller *self, //---------------------------------------------------------------------------- // This is the multithreaded piece of the append when doing per voxel // processing - it is called once for each thread, with each thread -// taking a different slab of the output to work on. The acutal work is done +// taking a different slab of the output to work on. The actual work is done // in vtkImplicitModellerAppendExecute; here we just setup for the per voxel // processing. static VTK_THREAD_RETURN_TYPE vtkImplicitModeller_ThreadedAppend( void *arg ) diff --git a/Filters/HyperTree/vtkHyperOctreeDualGridContourFilter.cxx b/Filters/HyperTree/vtkHyperOctreeDualGridContourFilter.cxx index 3536d2c3e57..a270d55647b 100644 --- a/Filters/HyperTree/vtkHyperOctreeDualGridContourFilter.cxx +++ b/Filters/HyperTree/vtkHyperOctreeDualGridContourFilter.cxx @@ -313,7 +313,7 @@ void vtkHyperOctreeDualGridContourFilter::TraverseNeighborhoodRecursively( } //---------------------------------------------------------------------------- -// Contour the cell assocaited with the center point. +// Contour the cell associated with the center point. // if it has not already been contoured. void vtkHyperOctreeDualGridContourFilter::EvaluatePoint( vtkHyperOctreeLightWeightCursor* neighborhood, diff --git a/Filters/Parallel/vtkAngularPeriodicFilter.h b/Filters/Parallel/vtkAngularPeriodicFilter.h index 50a5b450f64..9ab8f50409d 100644 --- a/Filters/Parallel/vtkAngularPeriodicFilter.h +++ b/Filters/Parallel/vtkAngularPeriodicFilter.h @@ -23,8 +23,8 @@ * data arrays from an original data array. * The generated dataset is of the same type than the input (float or double). * To compute the rotation this filter needs - * i) a number of periods, wich can be the maximum, i.e. a full period, - * ii) an angle, wich can be fetched from a field data array in radian or directly + * i) a number of periods, which can be the maximum, i.e. a full period, + * ii) an angle, which can be fetched from a field data array in radian or directly * in degrees; iii) the axis (X, Y or Z) and the center of rotation. * Point coordinates are transformed, as well as all vectors (3-components) and * tensors (9 components) in points and cell data arrays. diff --git a/Filters/Parallel/vtkDuplicatePolyData.h b/Filters/Parallel/vtkDuplicatePolyData.h index 25aeb43723b..c00459f9a7f 100644 --- a/Filters/Parallel/vtkDuplicatePolyData.h +++ b/Filters/Parallel/vtkDuplicatePolyData.h @@ -63,7 +63,7 @@ class VTKFILTERSPARALLEL_EXPORT vtkDuplicatePolyData : public vtkPolyDataAlgorit //@{ /** * This duplicate filter works in client server mode when this - * controller is set. We have a client flag to diferentiate the + * controller is set. We have a client flag to differentiate the * client and server because the socket controller is odd: * Proth processes think their id is 0. */ diff --git a/Filters/Parallel/vtkPeriodicFilter.h b/Filters/Parallel/vtkPeriodicFilter.h index 0acb29a78bf..da929382dd0 100644 --- a/Filters/Parallel/vtkPeriodicFilter.h +++ b/Filters/Parallel/vtkPeriodicFilter.h @@ -22,7 +22,7 @@ * Generate periodic dataset by transforming points, vectors, tensors * data arrays from an original data array. * The generated dataset is of the same type than the input (float or double). - * This is an abstract class wich do not implement the actual transformation. + * This is an abstract class which do not implement the actual transformation. * Point coordinates are transformed, as well as all vectors (3-components) and * tensors (9 components) in points and cell data arrays. * The generated multiblock will have the same tree architecture than the input, diff --git a/Filters/SMP/vtkSMPMergePoints.h b/Filters/SMP/vtkSMPMergePoints.h index 5481e5caa4d..07c645e8e07 100644 --- a/Filters/SMP/vtkSMPMergePoints.h +++ b/Filters/SMP/vtkSMPMergePoints.h @@ -85,7 +85,7 @@ class VTKFILTERSSMP_EXPORT vtkSMPMergePoints : public vtkMergePoints //@{ /** - * Retuns the number of points in a bin. + * Returns the number of points in a bin. */ vtkIdType GetNumberOfIdsInBucket(vtkIdType idx) { @@ -99,7 +99,7 @@ class VTKFILTERSSMP_EXPORT vtkSMPMergePoints : public vtkMergePoints //@} /** - * Retuns the number of bins. + * Returns the number of bins. */ vtkIdType GetNumberOfBuckets() VTK_OVERRIDE { diff --git a/Filters/StatisticsGnuR/vtkRInterface.h b/Filters/StatisticsGnuR/vtkRInterface.h index be04b3c4ba0..e0bbd225304 100644 --- a/Filters/StatisticsGnuR/vtkRInterface.h +++ b/Filters/StatisticsGnuR/vtkRInterface.h @@ -24,7 +24,7 @@ * * * - * This class defines a VTK interface to an embedded GNU R intepreter instance. An + * This class defines a VTK interface to an embedded GNU R interpreter instance. An * instance of the R interpreter is created when this class is instantiated. Additional * instances of this class will share access the same R interpreter. The R interpreter will * be shutdown when the application using this class exits. diff --git a/Filters/Topology/vtkFiberSurface.cxx b/Filters/Topology/vtkFiberSurface.cxx index 2265e1e6679..73c330b834f 100644 --- a/Filters/Topology/vtkFiberSurface.cxx +++ b/Filters/Topology/vtkFiberSurface.cxx @@ -900,7 +900,7 @@ int vtkFiberSurface::RequestData(vtkInformation* vtkNotUsed(request), pointField2 = fieldScalars[1]->GetTuple1(dataIndex); // compute parameter on the parametric line for each triangle point. - // Assume edgeRange is a vector to represent the vector beteen interpolated + // Assume edgeRange is a vector to represent the vector between interpolated // range values and origin of polygon line edge. // Assume direction is the direction vector of the current polygon edge. // The projection of the range values onto the polygon edge @@ -968,7 +968,7 @@ int vtkFiberSurface::RequestData(vtkInformation* vtkNotUsed(request), alpha * fieldScalars[1]->GetTuple1(pointIds[1]) }; // compute parameter on the parametric line for each triangle point. - // Assume edgeRange is a vector to represent the vector beteen interpolated + // Assume edgeRange is a vector to represent the vector between interpolated // range values and origin of polygon line edge. // Assume direction is the direction vector of the current polygon edge. // The projection of the range values onto the polygon edge diff --git a/IO/ADIOS/ADIOSReader.h b/IO/ADIOS/ADIOSReader.h index 545451ce382..4438f92c6a1 100644 --- a/IO/ADIOS/ADIOSReader.h +++ b/IO/ADIOS/ADIOSReader.h @@ -57,11 +57,11 @@ class Reader const std::vector& GetAttributes() const; // Description: - // Retrieve a list of scalars and thier associated metadata + // Retrieve a list of scalars and their associated metadata const std::vector& GetScalars() const; // Description: - // Retrieve a list of arrays and thier associated metadata + // Retrieve a list of arrays and their associated metadata const std::vector& GetArrays() const; // Description: diff --git a/IO/ADIOS/vtkADIOSDirTree.cxx b/IO/ADIOS/vtkADIOSDirTree.cxx index d690ca7fdde..3f1965d1d1c 100644 --- a/IO/ADIOS/vtkADIOSDirTree.cxx +++ b/IO/ADIOS/vtkADIOSDirTree.cxx @@ -40,7 +40,7 @@ void Tokenize(const std::string& str, std::vector &tok, posPrev = posCur; } - if(posPrev != str.size()-1) // Only add teh last component if it's non-empty + if(posPrev != str.size()-1) // Only add the last component if it's non-empty { tok.push_back(str.substr(posPrev+1, str.size()-posPrev-1)); } diff --git a/IO/ADIOS/vtkADIOSReader.h b/IO/ADIOS/vtkADIOSReader.h index fe2c460371a..6a4824d6208 100644 --- a/IO/ADIOS/vtkADIOSReader.h +++ b/IO/ADIOS/vtkADIOSReader.h @@ -161,7 +161,7 @@ class VTKIOADIOS_EXPORT vtkADIOSReader : public vtkDataObjectAlgorithm // Index information for independently stepped variables - // Map variable names to thier position in the block step index + // Map variable names to their position in the block step index // [BlockId][VarName] = IndexId std::vector > BlockStepIndexIdMap; @@ -193,7 +193,7 @@ class VTKIOADIOS_EXPORT vtkADIOSReader : public vtkDataObjectAlgorithm * junk data and scheduled to be filled, but they cannot be safely assigned * to a VTK object until the data contained in them is valid, e.g. through * a call to vtkUnstructuredGrid::SetPoints or similar. Similary, - * they cannot have thier reference cound safely decremented until after + * they cannot have their reference cound safely decremented until after * they have been assigned to a vtk object. To work around this, a generic * action queue is created to hold a list of arbitrary functions that need * to be called in a particular order after the reads have been diff --git a/IO/ADIOS/vtkADIOSWriter.cxx b/IO/ADIOS/vtkADIOSWriter.cxx index cbecd9350b2..3e1a9f1b38c 100644 --- a/IO/ADIOS/vtkADIOSWriter.cxx +++ b/IO/ADIOS/vtkADIOSWriter.cxx @@ -147,7 +147,7 @@ bool vtkADIOSWriter::DefineAndWrite(vtkDataObject *input) // Things to do on the first step, before writing any data if(this->CurrentStep == 0) { - // Before any data can be writen, it's structure must be declared + // Before any data can be written, it's structure must be declared this->Define("", data); if(localProc == 0) diff --git a/IO/GDAL/vtkGDALRasterReader.cxx b/IO/GDAL/vtkGDALRasterReader.cxx index 79ab40627ef..8e68a3f9a4e 100644 --- a/IO/GDAL/vtkGDALRasterReader.cxx +++ b/IO/GDAL/vtkGDALRasterReader.cxx @@ -600,7 +600,7 @@ bool vtkGDALRasterReader::vtkGDALRasterReaderInternal::GetGeoCornerPoint( } else { - // 1st pass: we should realy have a call to the reader that returns + // 1st pass: we should really have a call to the reader that returns // the homography, but for now, look for mathcing corner and pass back // the matching corner point ("0" pixel on input means "0.5" as far as // GDAL goes diff --git a/IO/Geometry/vtkPTSReader.cxx b/IO/Geometry/vtkPTSReader.cxx index f3c8aaa9c7e..7a39805a9c4 100644 --- a/IO/Geometry/vtkPTSReader.cxx +++ b/IO/Geometry/vtkPTSReader.cxx @@ -177,7 +177,7 @@ RequestData(vtkInformation *vtkNotUsed(request), for (numPts = -1; !file.eof();) { getline(file, buffer); - // Scanf should match the interger part but not the string + // Scanf should match the integer part but not the string int numArgs = sscanf(buffer.c_str(), "%d%s", &tempNumPts, junk); if (numArgs == 1) { diff --git a/IO/Image/vtkNrrdReader.cxx b/IO/Image/vtkNrrdReader.cxx index cd95eedc36e..846f2e4f5b5 100644 --- a/IO/Image/vtkNrrdReader.cxx +++ b/IO/Image/vtkNrrdReader.cxx @@ -816,7 +816,7 @@ int vtkNrrdReader::ReadDataAscii(vtkImageData *output) output, (VTK_TT *)(outBuffer))); default: - vtkErrorMacro("Unkown data type"); + vtkErrorMacro("Unknown data type"); return 0; } diff --git a/IO/LSDyna/private/LSDynaFamily.h b/IO/LSDyna/private/LSDynaFamily.h index 1474fdfcbfb..4286050fffb 100644 --- a/IO/LSDyna/private/LSDynaFamily.h +++ b/IO/LSDyna/private/LSDynaFamily.h @@ -153,7 +153,7 @@ class LSDynaFamily //Description: //Setup reading of a number of words to be split across multiple //bufferChunk. This is used to read really large buffer sections - //in more reasonable sizes. The paramters are used to specify the total buffer + //in more reasonable sizes. The parameters are used to specify the total buffer //size. The buffer size will always be evenly divisable by numComps and total //word size of all buffers will be numTuples*numComps vtkIdType InitPartialChunkBuffering(const vtkIdType& numTuples, const vtkIdType& numComps ); diff --git a/IO/MINC/vtkMINCImageAttributes.h b/IO/MINC/vtkMINCImageAttributes.h index c4f2257bf0f..8984e481754 100644 --- a/IO/MINC/vtkMINCImageAttributes.h +++ b/IO/MINC/vtkMINCImageAttributes.h @@ -54,7 +54,7 @@ POSSIBILITY OF SUCH DAMAGES. * VTK and then write it out again, you can use * writer->SetImageAttributes(reader->GetImageAttributes) to * ensure that all of the medical information contained in the - * file is tranferred from the reader to the writer. If you + * file is transferred from the reader to the writer. If you * want to change any of the header information, you must * use ShallowCopy to make a copy of the reader's attributes * and then modify only the copy. diff --git a/IO/XML/vtkXMLUnstructuredDataReader.cxx b/IO/XML/vtkXMLUnstructuredDataReader.cxx index 594d2192b87..ee7540ac26f 100644 --- a/IO/XML/vtkXMLUnstructuredDataReader.cxx +++ b/IO/XML/vtkXMLUnstructuredDataReader.cxx @@ -672,7 +672,7 @@ int vtkXMLUnstructuredDataReader::ReadCellArray(vtkIdType numberOfCells, if (this->Piece > this->StartPiece && outCells->GetData()) { // Refer to BUG #12202 and BUG #12690. The (this->Piece > this->StartPiece) - // check ensures that when we are reading mulitple timesteps, we don't end + // check ensures that when we are reading multiple timesteps, we don't end // up appending to existing cell arrays infinitely. An earlier version of // the fix assumed that vtkXMLUnstructuredDataReader read only 1 piece at a // time, which was incorrect (and hence BUG #12690). diff --git a/IO/Xdmf3/vtkXdmf3DataSet.cxx b/IO/Xdmf3/vtkXdmf3DataSet.cxx index f3fa660f57b..1b099dfc2d2 100644 --- a/IO/Xdmf3/vtkXdmf3DataSet.cxx +++ b/IO/Xdmf3/vtkXdmf3DataSet.cxx @@ -1486,7 +1486,7 @@ void vtkXdmf3DataSet::CopyShape( if (unknownCell) { // encountered an unknown cell. - cerr << "Unkown cell type." << endl; + cerr << "Unknown cell type." << endl; vCells->Delete(); delete [] cell_types; vtkXdmf3DataSet_ReleaseIfNeeded(xTopology.get(), freeMe); diff --git a/Imaging/Core/Testing/Tcl/TestInPlaceFilter.tcl b/Imaging/Core/Testing/Tcl/TestInPlaceFilter.tcl index 0a915ab47b1..08d84cebf1c 100644 --- a/Imaging/Core/Testing/Tcl/TestInPlaceFilter.tcl +++ b/Imaging/Core/Testing/Tcl/TestInPlaceFilter.tcl @@ -40,7 +40,7 @@ cursor SetCursorValue 255 cursor SetCursorRadius [expr 50 * $IMAGE_MAG_X] # stream to increase coverage of in place filter. -# put thge two together in one image +# put the two together in one image vtkImageAppend imageAppend imageAppend SetAppendAxis 0 imageAppend AddInputConnection [magnify2 GetOutputPort] diff --git a/Imaging/Core/vtkImagePointDataIterator.cxx b/Imaging/Core/vtkImagePointDataIterator.cxx index 72a9ae4d462..2274ae8eabd 100644 --- a/Imaging/Core/vtkImagePointDataIterator.cxx +++ b/Imaging/Core/vtkImagePointDataIterator.cxx @@ -117,7 +117,7 @@ void vtkImagePointDataIterator::Initialize( (this->Extent[2] - dataExtent[2])*this->RowIncrement + (this->Extent[4] - dataExtent[4])*this->SliceIncrement; - // Compute the end increments (continous increments). + // Compute the end increments (continuous increments). this->RowEndIncrement = this->RowIncrement - rowSpan; this->SliceEndIncrement = this->RowEndIncrement + this->SliceIncrement - this->RowIncrement*sliceSpan; diff --git a/Imaging/OpenGL2/vtkOpenGLImageGradient.cxx b/Imaging/OpenGL2/vtkOpenGLImageGradient.cxx index 20da39781b5..91781dd4cff 100644 --- a/Imaging/OpenGL2/vtkOpenGLImageGradient.cxx +++ b/Imaging/OpenGL2/vtkOpenGLImageGradient.cxx @@ -133,7 +133,7 @@ void vtkOpenGLImageGradient::ThreadedRequestData( vtkOpenGLGradientCB cb; cb.Spacing = inData[0][0]->GetSpacing(); - // build the fragement shader for 2D or 3D gradient + // build the fragment shader for 2D or 3D gradient std::string fragShader = "//VTK::System::Dec\n" "varying vec2 tcoordVSOutput;\n" diff --git a/Interaction/Widgets/Testing/Cxx/ImagePlaneWidget.cxx b/Interaction/Widgets/Testing/Cxx/ImagePlaneWidget.cxx index 3b6e19156aa..4b70de082b0 100644 --- a/Interaction/Widgets/Testing/Cxx/ImagePlaneWidget.cxx +++ b/Interaction/Widgets/Testing/Cxx/ImagePlaneWidget.cxx @@ -512,7 +512,7 @@ int ImagePlaneWidget( int argc, char *argv[] ) ren1->SetViewport(0,0,0.58333,1); ren2->SetViewport(0.58333,0,1,1); - // Set the actors' postions + // Set the actors' positions // renWin->Render(); iren->SetEventPosition( 175,175); diff --git a/Interaction/Widgets/Testing/Cxx/TestOrthoPlanes.cxx b/Interaction/Widgets/Testing/Cxx/TestOrthoPlanes.cxx index c30f19312d0..82b463975f8 100644 --- a/Interaction/Widgets/Testing/Cxx/TestOrthoPlanes.cxx +++ b/Interaction/Widgets/Testing/Cxx/TestOrthoPlanes.cxx @@ -520,7 +520,7 @@ int TestOrthoPlanes( int argc, char *argv[] ) ren1->SetViewport(0,0,0.58333,1); ren2->SetViewport(0.58333,0,1,1); - // Set the actors' postions + // Set the actors' positions // renWin->Render(); iren->SetEventPosition( 175,175); diff --git a/Interaction/Widgets/Testing/Cxx/TestResliceCursorWidget2.cxx b/Interaction/Widgets/Testing/Cxx/TestResliceCursorWidget2.cxx index 518d4922709..ed82038c128 100644 --- a/Interaction/Widgets/Testing/Cxx/TestResliceCursorWidget2.cxx +++ b/Interaction/Widgets/Testing/Cxx/TestResliceCursorWidget2.cxx @@ -288,7 +288,7 @@ int TestResliceCursorWidget2( int argc, char *argv[] ) ren[2]->SetViewport(0,0.5,0.5,1); ren[3]->SetViewport(0.5,0.5,1,1); - // Set the actors' postions + // Set the actors' positions // renWin->Render(); diff --git a/Interaction/Widgets/Testing/Cxx/TestResliceCursorWidget3.cxx b/Interaction/Widgets/Testing/Cxx/TestResliceCursorWidget3.cxx index dcfc7d64f85..44c9693c86a 100644 --- a/Interaction/Widgets/Testing/Cxx/TestResliceCursorWidget3.cxx +++ b/Interaction/Widgets/Testing/Cxx/TestResliceCursorWidget3.cxx @@ -287,7 +287,7 @@ int TestResliceCursorWidget3( int argc, char *argv[] ) ren[2]->SetViewport(0,0.5,0.5,1); ren[3]->SetViewport(0.5,0.5,1,1); - // Set the actors' postions + // Set the actors' positions // renWin->Render(); diff --git a/Interaction/Widgets/Testing/Python/TestImagePlaneWidget.py b/Interaction/Widgets/Testing/Python/TestImagePlaneWidget.py index 13596a9a914..ddbb0762068 100755 --- a/Interaction/Widgets/Testing/Python/TestImagePlaneWidget.py +++ b/Interaction/Widgets/Testing/Python/TestImagePlaneWidget.py @@ -31,7 +31,7 @@ def testBug(self): img_data = v16.GetOutput() # ************************************************** - # Look here for wierdness. + # Look here for weirdness. # Lets create this data using the data from the reader. my_img_data = vtk.vtkImageData() diff --git a/Rendering/Annotation/vtkAxisFollower.h b/Rendering/Annotation/vtkAxisFollower.h index 9076c1baf34..a937d1c40bd 100644 --- a/Rendering/Annotation/vtkAxisFollower.h +++ b/Rendering/Annotation/vtkAxisFollower.h @@ -101,7 +101,7 @@ class VTKRENDERINGANNOTATION_EXPORT vtkAxisFollower : public vtkFollower //@{ /** * Set view angle LOD threshold (0.0 - 1.0).This determines at what view - * angle to geometry will make the geometry not visibile. + * angle to geometry will make the geometry not visible. * Default is 0.34. */ vtkSetClampMacro(ViewAngleLODThreshold, double, 0.0, 1.0); diff --git a/Rendering/Annotation/vtkCubeAxesActor.h b/Rendering/Annotation/vtkCubeAxesActor.h index 4a0423eec96..1c6f1a7e58e 100644 --- a/Rendering/Annotation/vtkCubeAxesActor.h +++ b/Rendering/Annotation/vtkCubeAxesActor.h @@ -703,7 +703,7 @@ class VTKRENDERINGANNOTATION_EXPORT vtkCubeAxesActor : public vtkActor int EnableViewAngleLOD; /** - * This determines at what view angle to geometry will make the geometry not visibile. + * This determines at what view angle to geometry will make the geometry not visible. * Default is 0.3. */ double ViewAngleLODThreshold; diff --git a/Rendering/Annotation/vtkPolarAxesActor.h b/Rendering/Annotation/vtkPolarAxesActor.h index 2f292c28a5b..1efbcbd1ce5 100644 --- a/Rendering/Annotation/vtkPolarAxesActor.h +++ b/Rendering/Annotation/vtkPolarAxesActor.h @@ -780,7 +780,7 @@ class VTKRENDERINGANNOTATION_EXPORT vtkPolarAxesActor : public vtkActor std::string FindExponentAndAdjustValues(std::list& valuesList); /** - * Yield a string array whith the float part of each values. 0.01e-2 -> 0.0001 + * Yield a string array with the float part of each values. 0.01e-2 -> 0.0001 */ void GetSignificantPartFromValues(vtkStringArray* valuesStr, std::list& valuesList); @@ -978,7 +978,7 @@ class VTKRENDERINGANNOTATION_EXPORT vtkPolarAxesActor : public vtkActor int EnableViewAngleLOD; /** - * This determines at what view angle to geometry will make the geometry not visibile. + * This determines at what view angle to geometry will make the geometry not visible. * Default is 0.3. */ double ViewAngleLODThreshold; diff --git a/Rendering/Annotation/vtkProp3DAxisFollower.h b/Rendering/Annotation/vtkProp3DAxisFollower.h index 0e34f7ccad6..a1926501589 100644 --- a/Rendering/Annotation/vtkProp3DAxisFollower.h +++ b/Rendering/Annotation/vtkProp3DAxisFollower.h @@ -105,7 +105,7 @@ class VTKRENDERINGANNOTATION_EXPORT vtkProp3DAxisFollower //@{ /** * Set view angle LOD threshold (0.0 - 1.0).This determines at what view - * angle to geometry will make the geometry not visibile. + * angle to geometry will make the geometry not visible. * Default is 0.34. */ vtkSetClampMacro(ViewAngleLODThreshold, double, 0.0, 1.0); diff --git a/Rendering/Core/Testing/Cxx/TestGlyph3DMapper.cxx b/Rendering/Core/Testing/Cxx/TestGlyph3DMapper.cxx index a73f8109d4d..de99eb807c6 100644 --- a/Rendering/Core/Testing/Cxx/TestGlyph3DMapper.cxx +++ b/Rendering/Core/Testing/Cxx/TestGlyph3DMapper.cxx @@ -70,7 +70,7 @@ int TestGlyph3DMapper(int argc, char *argv[]) squad->Delete(); // Useful code should you want to test clipping planes - // with a glyph mapper, might shoudl just uncomment + // with a glyph mapper, might should just uncomment // this and add a new valid image // vtkPlane *cplane = vtkPlane::New(); // cplane->SetNormal(-0.5,0.5,0); diff --git a/Rendering/Core/vtkCellPicker.cxx b/Rendering/Core/vtkCellPicker.cxx index 01ca807ce79..873c4e89f58 100644 --- a/Rendering/Core/vtkCellPicker.cxx +++ b/Rendering/Core/vtkCellPicker.cxx @@ -783,7 +783,7 @@ double vtkCellPicker::IntersectVolumeWithLine(const double p1[3], lodVolume->GetLODProperty(lodId, &property); } - // Get the theshold for the opacity + // Get the threshold for the opacity double opacityThreshold = this->VolumeOpacityIsovalue; // Compute the length of the line intersecting the volume diff --git a/Rendering/Core/vtkMapper.h b/Rendering/Core/vtkMapper.h index aef519ccdef..6899f1aec39 100644 --- a/Rendering/Core/vtkMapper.h +++ b/Rendering/Core/vtkMapper.h @@ -436,7 +436,7 @@ class VTKRENDERINGCORE_EXPORT vtkMapper : public vtkAbstractMapper3D //@{ /** - * Get the net paramters for handlig coincident topology + * Get the net parameters for handlig coincident topology * obtained by summing the global values with the relative values. */ void GetCoincidentTopologyPolygonOffsetParameters( diff --git a/Rendering/Core/vtkPickingManager.cxx b/Rendering/Core/vtkPickingManager.cxx index 75eae74d1a4..ee923d8d57a 100644 --- a/Rendering/Core/vtkPickingManager.cxx +++ b/Rendering/Core/vtkPickingManager.cxx @@ -73,7 +73,7 @@ class vtkPickingManager::vtkInternal void *clientData, void *callData); - // Select the best picker based on various criterias such as z-depth, + // Select the best picker based on various criteria such as z-depth, // 2D overlay and/or distance to picked point. vtkAbstractPicker* SelectPicker(); @@ -124,7 +124,7 @@ class vtkPickingManager::vtkInternal // Predicate comparing a vtkAbstractPicker* // and a vtkSmartPointer using the PickerObjectsType. // As we use a vtkSmartPointer, this predicate allows to compare the equality - // of a pointer on a vtkAbstractPicker with the adress contained in + // of a pointer on a vtkAbstractPicker with the address contained in // a corresponding vtkSmartPointer. struct equal_smartPtrPicker { @@ -245,7 +245,7 @@ vtkAbstractPicker* vtkPickingManager::vtkInternal::SelectPicker() vtkAbstractPicker* selectedPicker = this->ComputePickerSelection(X, Y, 0., renderer); - // Keep track of the lastet picker choosen & last picking time. + // Keep track of the lastet picker chosen & last picking time. this->LastSelectedPicker = selectedPicker; this->LastPickingTime = this->CurrentInteractionTime; diff --git a/Rendering/Core/vtkTextProperty.h b/Rendering/Core/vtkTextProperty.h index bebc9902277..c5b9dbe02a6 100644 --- a/Rendering/Core/vtkTextProperty.h +++ b/Rendering/Core/vtkTextProperty.h @@ -214,7 +214,7 @@ class VTKRENDERINGCORE_EXPORT vtkTextProperty : public vtkObject //@{ /** - * If this property is on, text is alligned to drawn pixels not to font metrix. + * If this property is on, text is aligned to drawn pixels not to font metrix. * If the text does not include descents, the bounding box will not extend below * the baseline. This option can be used to get centered labels. It does not * work well if the string changes as the string position will move around. diff --git a/Rendering/LIC/vtkLineIntegralConvolution2D.h b/Rendering/LIC/vtkLineIntegralConvolution2D.h index 4de253bc938..fad602a6d90 100644 --- a/Rendering/LIC/vtkLineIntegralConvolution2D.h +++ b/Rendering/LIC/vtkLineIntegralConvolution2D.h @@ -119,7 +119,7 @@ class VTKRENDERINGLIC_EXPORT vtkLineIntegralConvolution2D : public vtkObject //@{ /** * Set/Get the rendering context. A reference is not explicity held, - * thus refernce to the context must be held externally. + * thus reference to the context must be held externally. */ void SetContext(vtkRenderWindow *context); vtkRenderWindow *GetContext(); diff --git a/Rendering/LIC/vtkSurfaceLICComposite.cxx b/Rendering/LIC/vtkSurfaceLICComposite.cxx index a08846cc14e..65e564ad39a 100644 --- a/Rendering/LIC/vtkSurfaceLICComposite.cxx +++ b/Rendering/LIC/vtkSurfaceLICComposite.cxx @@ -76,7 +76,7 @@ void vtkSurfaceLICComposite::Initialize( // TODO -- FIXME // type of NumberOfGuardLevels should be float. The change is // fairly involved and needs to be thoroughly tested. Note too - // few gaurd pixels and you get an incorrect result, too many + // few guard pixels and you get an incorrect result, too many // and you destroy performance and scaling. while getting this // right the following will quiets dashboard warnings and keeps // the existing well tested behavior. @@ -278,7 +278,7 @@ int vtkSurfaceLICComposite::AddGuardPixels( if (this->NormalizeVectors) { // when normalizing velocity is always 1, all extents have the - // same number of gaurd cells. + // same number of guard cells. int ng = static_cast(arc) + this->NumberOfEEGuardPixels @@ -302,7 +302,7 @@ int vtkSurfaceLICComposite::AddGuardPixels( { // when not normailzing during integration we need max(V) on the LIC // decomp. Each domain has the potential to require a unique number - // of gaurd cells. + // of guard cells. vector vectorMax; this->VectorMax( exts, @@ -370,7 +370,7 @@ int vtkSurfaceLICComposite::InitializeCompositeExtents(float *vectors) // LIC is computed once per pixel. this->MakeDecompDisjoint(this->BlockExts, this->CompositeExt, vectors); - // add gaurd cells to the new decomp that prevent artifacts + // add guard cells to the new decomp that prevent artifacts this->AddGuardPixels( this->CompositeExt, this->GuardExt, diff --git a/Rendering/LIC/vtkSurfaceLICComposite.h b/Rendering/LIC/vtkSurfaceLICComposite.h index 4d808ae6e14..68a75a473df 100644 --- a/Rendering/LIC/vtkSurfaceLICComposite.h +++ b/Rendering/LIC/vtkSurfaceLICComposite.h @@ -155,7 +155,7 @@ class VTKRENDERINGLIC_EXPORT vtkSurfaceLICComposite : public vtkObject /** * Set the rendering context. Must set prior to use. Reference is not - * held, so caller must ensure the renderer is not destroyed durring + * held, so caller must ensure the renderer is not destroyed during * use. */ virtual void SetContext(vtkOpenGLRenderWindow *){} diff --git a/Rendering/LIC/vtkSurfaceLICPainter.cxx b/Rendering/LIC/vtkSurfaceLICPainter.cxx index f624f62face..cc61bbf6cd6 100644 --- a/Rendering/LIC/vtkSurfaceLICPainter.cxx +++ b/Rendering/LIC/vtkSurfaceLICPainter.cxx @@ -2369,7 +2369,7 @@ bool vtkSurfaceLICPainter::NeedToRenderGeometry( //---------------------------------------------------------------------------- bool vtkSurfaceLICPainter::NeedToUpdateCommunicator() { - // no comm or externally modfied paramters + // no comm or externally modfied parameters if ( this->Internals->CommunicatorNeedsUpdate || this->Internals->ContextNeedsUpdate || this->Internals->OutputDataNeedsUpdate @@ -2576,7 +2576,7 @@ void vtkSurfaceLICPainter::RenderInternal( #endif // create a communicator that contains only ranks // that have visible data. In parallel this is a - // collective operation accross all ranks. In + // collective operation across all ranks. In // serial this is a no-op. this->CreateCommunicator(); #ifdef vtkSurfaceLICPainterTIME diff --git a/Rendering/LIC/vtkSurfaceLICPainter.h b/Rendering/LIC/vtkSurfaceLICPainter.h index a53a78a7a68..971eca534b8 100644 --- a/Rendering/LIC/vtkSurfaceLICPainter.h +++ b/Rendering/LIC/vtkSurfaceLICPainter.h @@ -42,7 +42,7 @@ * DEP - depth test and copy to back buffer * * The result of each stage is cached in a texture so that during interaction - * a stage may be skipped if the user has not modified its paramters or input + * a stage may be skipped if the user has not modified its parameters or input * data. * * The parallel parts of algorithm are implemented in vtkPSurfaceLICPainter. diff --git a/Rendering/LICOpenGL2/vtkLineIntegralConvolution2D.h b/Rendering/LICOpenGL2/vtkLineIntegralConvolution2D.h index 158c064ce18..9d21b78f5f5 100644 --- a/Rendering/LICOpenGL2/vtkLineIntegralConvolution2D.h +++ b/Rendering/LICOpenGL2/vtkLineIntegralConvolution2D.h @@ -121,7 +121,7 @@ class VTKRENDERINGLICOPENGL2_EXPORT vtkLineIntegralConvolution2D : public vtkObj //@{ /** * Set/Get the rendering context. A reference is not explicity held, - * thus refernce to the context must be held externally. + * thus reference to the context must be held externally. */ void SetContext(vtkOpenGLRenderWindow *context); vtkOpenGLRenderWindow *GetContext(); diff --git a/Rendering/LICOpenGL2/vtkSurfaceLICComposite.cxx b/Rendering/LICOpenGL2/vtkSurfaceLICComposite.cxx index a08846cc14e..65e564ad39a 100644 --- a/Rendering/LICOpenGL2/vtkSurfaceLICComposite.cxx +++ b/Rendering/LICOpenGL2/vtkSurfaceLICComposite.cxx @@ -76,7 +76,7 @@ void vtkSurfaceLICComposite::Initialize( // TODO -- FIXME // type of NumberOfGuardLevels should be float. The change is // fairly involved and needs to be thoroughly tested. Note too - // few gaurd pixels and you get an incorrect result, too many + // few guard pixels and you get an incorrect result, too many // and you destroy performance and scaling. while getting this // right the following will quiets dashboard warnings and keeps // the existing well tested behavior. @@ -278,7 +278,7 @@ int vtkSurfaceLICComposite::AddGuardPixels( if (this->NormalizeVectors) { // when normalizing velocity is always 1, all extents have the - // same number of gaurd cells. + // same number of guard cells. int ng = static_cast(arc) + this->NumberOfEEGuardPixels @@ -302,7 +302,7 @@ int vtkSurfaceLICComposite::AddGuardPixels( { // when not normailzing during integration we need max(V) on the LIC // decomp. Each domain has the potential to require a unique number - // of gaurd cells. + // of guard cells. vector vectorMax; this->VectorMax( exts, @@ -370,7 +370,7 @@ int vtkSurfaceLICComposite::InitializeCompositeExtents(float *vectors) // LIC is computed once per pixel. this->MakeDecompDisjoint(this->BlockExts, this->CompositeExt, vectors); - // add gaurd cells to the new decomp that prevent artifacts + // add guard cells to the new decomp that prevent artifacts this->AddGuardPixels( this->CompositeExt, this->GuardExt, diff --git a/Rendering/LICOpenGL2/vtkSurfaceLICComposite.h b/Rendering/LICOpenGL2/vtkSurfaceLICComposite.h index 30d663ae603..732eded4539 100644 --- a/Rendering/LICOpenGL2/vtkSurfaceLICComposite.h +++ b/Rendering/LICOpenGL2/vtkSurfaceLICComposite.h @@ -155,7 +155,7 @@ class VTKRENDERINGLICOPENGL2_EXPORT vtkSurfaceLICComposite : public vtkObject /** * Set the rendering context. Must set prior to use. Reference is not - * held, so caller must ensure the renderer is not destroyed durring + * held, so caller must ensure the renderer is not destroyed during * use. */ virtual void SetContext(vtkOpenGLRenderWindow *){} diff --git a/Rendering/LICOpenGL2/vtkSurfaceLICInterface.cxx b/Rendering/LICOpenGL2/vtkSurfaceLICInterface.cxx index bef779445ed..9eb366a7cae 100644 --- a/Rendering/LICOpenGL2/vtkSurfaceLICInterface.cxx +++ b/Rendering/LICOpenGL2/vtkSurfaceLICInterface.cxx @@ -172,7 +172,7 @@ void vtkSurfaceLICInterface::UpdateCommunicator( { // create a communicator that contains only ranks // that have visible data. In parallel this is a - // collective operation accross all ranks. In + // collective operation across all ranks. In // serial this is a no-op. this->CreateCommunicator(renderer,actor, input); } @@ -1193,7 +1193,7 @@ void vtkSurfaceLICInterface::InitializeResources() //---------------------------------------------------------------------------- bool vtkSurfaceLICInterface::NeedToUpdateCommunicator() { - // no comm or externally modfied paramters + // no comm or externally modfied parameters if ( this->Internals->CommunicatorNeedsUpdate || this->Internals->ContextNeedsUpdate || !this->Internals->Communicator diff --git a/Rendering/LICOpenGL2/vtkSurfaceLICInterface.h b/Rendering/LICOpenGL2/vtkSurfaceLICInterface.h index 9aa4d90a578..fe2396e3d76 100644 --- a/Rendering/LICOpenGL2/vtkSurfaceLICInterface.h +++ b/Rendering/LICOpenGL2/vtkSurfaceLICInterface.h @@ -42,7 +42,7 @@ * DEP - depth test and copy to back buffer * * The result of each stage is cached in a texture so that during interaction - * a stage may be skipped if the user has not modified its paramters or input + * a stage may be skipped if the user has not modified its parameters or input * data. * * The parallel parts of algorithm are implemented in vtkPSurfaceLICInterface. diff --git a/Rendering/LICOpenGL2/vtkSurfaceLICMapper.h b/Rendering/LICOpenGL2/vtkSurfaceLICMapper.h index e057a65653d..73491605e5f 100644 --- a/Rendering/LICOpenGL2/vtkSurfaceLICMapper.h +++ b/Rendering/LICOpenGL2/vtkSurfaceLICMapper.h @@ -42,7 +42,7 @@ * DEP - depth test and copy to back buffer * * The result of each stage is cached in a texture so that during interaction - * a stage may be skipped if the user has not modified its paramters or input + * a stage may be skipped if the user has not modified its parameters or input * data. * * The parallel parts of algorithm are implemented in vtkPSurfaceLICMapper. diff --git a/Rendering/Oculus/vtkOculusRenderWindow.h b/Rendering/Oculus/vtkOculusRenderWindow.h index 0a1a7783f1d..21e9fa69d99 100644 --- a/Rendering/Oculus/vtkOculusRenderWindow.h +++ b/Rendering/Oculus/vtkOculusRenderWindow.h @@ -125,7 +125,7 @@ class VTKRENDERINGOCULUS_EXPORT vtkOculusRenderWindow : public vtkOpenGLRenderWi /** * Check to see if a mouse button has been pressed or mouse wheel activated. * All other events are ignored by this method. - * Maybe shoudl return 1 always? + * Maybe should return 1 always? */ virtual int GetEventPending() { return 0;}; diff --git a/Rendering/OpenGL/vtkFrameBufferObject2.h b/Rendering/OpenGL/vtkFrameBufferObject2.h index 81096781e6d..6f5e248b5a3 100644 --- a/Rendering/OpenGL/vtkFrameBufferObject2.h +++ b/Rendering/OpenGL/vtkFrameBufferObject2.h @@ -125,7 +125,7 @@ class VTKRENDERINGOPENGL_EXPORT vtkFrameBufferObject2 : public vtkObject /** * Store the current framebuffer bindings. If this method - * is called then UnBind will restore the saved value accoring + * is called then UnBind will restore the saved value according * to its mode (DRAW_FRAMEBUFFER,READ_FRAMEBUFFER,FRAMEBUFFER) * Restoration occurs in UnBind. * Low level api @@ -261,7 +261,7 @@ class VTKRENDERINGOPENGL_EXPORT vtkFrameBufferObject2 : public vtkObject * Download data from the read color attachment of the currently * bound FBO into the retruned PBO. The PBO must be free'd when * you are finished with it. The number of components in the - * PBO is the same as in the name of the specific download fucntion. + * PBO is the same as in the name of the specific download function. * When downloading a single color channel, the channel must be * identified by index, 1->red, 2->green, 3-> blue. */ diff --git a/Rendering/OpenGL/vtkHardwareSelectionPolyDataPainter.cxx b/Rendering/OpenGL/vtkHardwareSelectionPolyDataPainter.cxx index ac8850510f2..bc3f731ea93 100644 --- a/Rendering/OpenGL/vtkHardwareSelectionPolyDataPainter.cxx +++ b/Rendering/OpenGL/vtkHardwareSelectionPolyDataPainter.cxx @@ -161,7 +161,7 @@ void vtkHardwareSelectionPolyDataPainter::DrawCells( // While looking at point selection we render only vertex so each pass // should fill the same pixels without risking of detecting vertex belonging // to other cells or block. BUT we do that after the ACTOR_PASS to make sure - // we have the proper oclusion as we keep the Z-buffer arround. In that way + // we have the proper oclusion as we keep the Z-buffer around. In that way // vertex that are hidden by some surface won't get selected. if (attributeMode == vtkDataObject::FIELD_ASSOCIATION_POINTS && selector->GetCurrentPass() > vtkHardwareSelector::ACTOR_PASS && diff --git a/Rendering/OpenGL/vtkOpenGLError.h.in b/Rendering/OpenGL/vtkOpenGLError.h.in index aaeb53da50b..cf6d080e0c2 100644 --- a/Rendering/OpenGL/vtkOpenGLError.h.in +++ b/Rendering/OpenGL/vtkOpenGLError.h.in @@ -32,7 +32,7 @@ // Description: // The following functions can be used to detect and report, and/or // silently clear OpenGL error flags. These are not intended to be -// used driectly, instead use the following macros. +// used directly, instead use the following macros. // // vtkOpenGLClearErrorMacro() -- Silently clear OpenGL error flags. // diff --git a/Rendering/OpenGL/vtkShaderProgram2.h b/Rendering/OpenGL/vtkShaderProgram2.h index 7eb0a22ef31..4950301cf4d 100644 --- a/Rendering/OpenGL/vtkShaderProgram2.h +++ b/Rendering/OpenGL/vtkShaderProgram2.h @@ -422,7 +422,7 @@ class VTKRENDERINGOPENGL_EXPORT vtkShaderProgram2 : public vtkObject ~vtkShaderProgram2() VTK_OVERRIDE; /** - * Load the required OpenGL extentions. + * Load the required OpenGL extensions. */ bool LoadRequiredExtensions(vtkRenderWindow *context); diff --git a/Rendering/OpenGL2/glsl/readme.txt b/Rendering/OpenGL2/glsl/readme.txt index 89c4098774d..9538ce98ca2 100644 --- a/Rendering/OpenGL2/glsl/readme.txt +++ b/Rendering/OpenGL2/glsl/readme.txt @@ -34,7 +34,7 @@ which VTK uses to map shader outputs to the framebufer. All vertex shaders should name their outputs with a postfix of VSOutput All geometry shaders should name their outputs with a postfix of GSOutput All -fragment shaders shoudl name their inputs with a postfix of VSOutput. Put +fragment shaders should name their inputs with a postfix of VSOutput. Put another way fragment shaders should assuming their input is coming from the vertex shader. If a geometry shader is present VTK will rename the fragment shader inputs from VSOutput to GSOuput automatically. diff --git a/Rendering/OpenGL2/vtkOpenGLError.h.in b/Rendering/OpenGL2/vtkOpenGLError.h.in index ab108ebb152..abe3f2e5cc6 100644 --- a/Rendering/OpenGL2/vtkOpenGLError.h.in +++ b/Rendering/OpenGL2/vtkOpenGLError.h.in @@ -32,7 +32,7 @@ // Description: // The following functions can be used to detect and report, and/or // silently clear OpenGL error flags. These are not intended to be -// used driectly, instead use the following macros. +// used directly, instead use the following macros. // // vtkOpenGLClearErrorMacro() -- Silently clear OpenGL error flags. // diff --git a/Rendering/OpenGL2/vtkOpenGLFramebufferObject.h b/Rendering/OpenGL2/vtkOpenGLFramebufferObject.h index 6b16b724dc4..17f01dcb1a4 100644 --- a/Rendering/OpenGL2/vtkOpenGLFramebufferObject.h +++ b/Rendering/OpenGL2/vtkOpenGLFramebufferObject.h @@ -430,7 +430,7 @@ class VTKRENDERINGOPENGL2_EXPORT vtkOpenGLFramebufferObject : public vtkFrameBuf * Download data from the read color attachment of the currently * bound FBO into the retruned PBO. The PBO must be free'd when * you are finished with it. The number of components in the - * PBO is the same as in the name of the specific download fucntion. + * PBO is the same as in the name of the specific download function. * When downloading a single color channel, the channel must be * identified by index, 1->red, 2->green, 3-> blue. */ diff --git a/Rendering/OpenGL2/vtkOpenGLPolyDataMapper.cxx b/Rendering/OpenGL2/vtkOpenGLPolyDataMapper.cxx index 7125aeb7d66..5b7761a3d6d 100644 --- a/Rendering/OpenGL2/vtkOpenGLPolyDataMapper.cxx +++ b/Rendering/OpenGL2/vtkOpenGLPolyDataMapper.cxx @@ -3315,7 +3315,7 @@ void vtkOpenGLPolyDataMapper::BuildIBO( bool draw_surface_with_edges = (prop->GetEdgeVisibility() && prop->GetRepresentation() == VTK_SURFACE); - // do we realy need to rebuild the IBO? Since the operation is costly we + // do we really need to rebuild the IBO? Since the operation is costly we // construst a string of values that impact the IBO and see if that string has // changed diff --git a/Rendering/OpenGL2/vtkTextureObject.h b/Rendering/OpenGL2/vtkTextureObject.h index e01aa9b2f14..32860c2fb0a 100644 --- a/Rendering/OpenGL2/vtkTextureObject.h +++ b/Rendering/OpenGL2/vtkTextureObject.h @@ -645,7 +645,7 @@ class VTKRENDERINGOPENGL2_EXPORT vtkTextureObject : public vtkObject * Query and return maximum texture size (dimension) supported by the * OpenGL driver for a particular context. It should be noted that this * size does not consider the internal format of the texture and therefore - * there is no guarentee that a texture of this size will be allocated by + * there is no guarantee that a texture of this size will be allocated by * the driver. Also, the method does not make the context current so * if the passed context is not valid or current, a value of -1 will * be returned. @@ -723,7 +723,7 @@ class VTKRENDERINGOPENGL2_EXPORT vtkTextureObject : public vtkObject /** * Get the shift and scale required in the shader to * return the texture values to their original range. - * Thsi is useful when for example you have unsigned char + * This is useful when for example you have unsigned char * data and it is being accessed using the floating point * texture calls. In that case OpenGL maps the uchar * range to a different floating point range under the hood. diff --git a/Rendering/OpenVR/vtkOpenVRRenderWindow.h b/Rendering/OpenVR/vtkOpenVRRenderWindow.h index d8f07c3d7ff..f608792e7a6 100644 --- a/Rendering/OpenVR/vtkOpenVRRenderWindow.h +++ b/Rendering/OpenVR/vtkOpenVRRenderWindow.h @@ -128,7 +128,7 @@ class VTKRENDERINGOPENVR_EXPORT vtkOpenVRRenderWindow : public vtkOpenGLRenderWi /** * Check to see if a mouse button has been pressed or mouse wheel activated. * All other events are ignored by this method. - * Maybe shoudl return 1 always? + * Maybe should return 1 always? */ virtual int GetEventPending() { return 0;}; diff --git a/Rendering/ParallelLIC/vtkPSurfaceLICComposite.cxx b/Rendering/ParallelLIC/vtkPSurfaceLICComposite.cxx index 280ba9a8ee3..c8d121e8c6a 100644 --- a/Rendering/ParallelLIC/vtkPSurfaceLICComposite.cxx +++ b/Rendering/ParallelLIC/vtkPSurfaceLICComposite.cxx @@ -560,7 +560,7 @@ int vtkPSurfaceLICComposite::AllReduceVectorMax( } // since integration run's into other blocks data use the max of the - // block and it's neighbors for gaurd cell size computation + // block and it's neighbors for guard cell size computation vectorMax.resize(this->CommSize); for (int r=0; rCommSize; ++r) { @@ -904,7 +904,7 @@ int vtkPSurfaceLICComposite::AddGuardPixels( if (this->NormalizeVectors) { // when normalizing velocity is always 1, all extents have the - // same number of gaurd cells. + // same number of guard cells. int ng = static_cast(arc) + this->NumberOfEEGuardPixels @@ -936,7 +936,7 @@ int vtkPSurfaceLICComposite::AddGuardPixels( { // when not normailzing during integration we need max(V) on the LIC // decomp. Each domain has the potential to require a unique number - // of gaurd cells. + // of guard cells. vector > vectorMax; this->AllReduceVectorMax( this->BlockExts, @@ -1127,7 +1127,7 @@ int vtkPSurfaceLICComposite::BuildProgram(float *vectors) #endif // save the local decomp - // it's the valid region as no gaurd pixels were added + // it's the valid region as no guard pixels were added this->CompositeExt = newExts[this->CommRank]; int id=0; @@ -1181,7 +1181,7 @@ int vtkPSurfaceLICComposite::BuildProgram(float *vectors) vtkPixelExtentIO::Write(this->CommRank, "LICDecomp.vtk", newExts); #endif - // add gaurd cells to the new decomp that prevent artifacts + // add guard cells to the new decomp that prevent artifacts deque > guardExts; deque > disjointGuardExts; this->AddGuardPixels(newExts, guardExts, disjointGuardExts, vectors); @@ -1206,7 +1206,7 @@ int vtkPSurfaceLICComposite::BuildProgram(float *vectors) << "numberOfExtents=" << nNewExts << endl; #endif - // save the local decomp with gaurd cells + // save the local decomp with guard cells this->GuardExt = guardExts[this->CommRank]; this->DisjointGuardExt = disjointGuardExts[this->CommRank]; diff --git a/Rendering/ParallelLIC/vtkPSurfaceLICComposite.h b/Rendering/ParallelLIC/vtkPSurfaceLICComposite.h index 08b7215e1e9..5499702cbaf 100644 --- a/Rendering/ParallelLIC/vtkPSurfaceLICComposite.h +++ b/Rendering/ParallelLIC/vtkPSurfaceLICComposite.h @@ -59,7 +59,7 @@ class VTKRENDERINGPARALLELLIC_EXPORT vtkPSurfaceLICComposite : public vtkSurface /** * Set the rendering context. Must set prior to use. Reference is not - * held, so caller must ensure the renderer is not destroyed durring + * held, so caller must ensure the renderer is not destroyed during * use. */ virtual void SetContext(vtkOpenGLRenderWindow *rwin) VTK_OVERRIDE; diff --git a/Rendering/ParallelLIC/vtkParallelTimer.h b/Rendering/ParallelLIC/vtkParallelTimer.h index 2dc62789fc5..c9a65142f93 100644 --- a/Rendering/ParallelLIC/vtkParallelTimer.h +++ b/Rendering/ParallelLIC/vtkParallelTimer.h @@ -17,7 +17,7 @@ * @class vtkParallelTimer * * - * Provides ditributed log functionality. When the file is + * Provides distributed log functionality. When the file is * written each process data is collected by rank 0 who * writes the data to a single file in rank order. * @@ -29,7 +29,7 @@ * EndEventSynch includes a barrier before the measurement. * * The log class implements the singleton patern so that it - * may be shared accross class boundaries. If the log instance + * may be shared across class boundaries. If the log instance * doesn't exist then one is created. It will be automatically * destroyed at exit by the signleton destructor. It can be * destroyed explicitly by calling DeleteGlobalInstance. @@ -161,7 +161,7 @@ class VTKRENDERINGPARALLELLIC_EXPORT vtkParallelTimer : public vtkObject /** * The log class implements the singleton patern so that it - * may be shared accross class boundaries. If the log instance + * may be shared across class boundaries. If the log instance * doesn't exist then one is created. It will be automatically * destroyed at exit by the signleton destructor. It can be * destroyed explicitly by calling DeleteGlobalInstance. diff --git a/Rendering/Tk/Testing/Tcl/cursor3D.tcl b/Rendering/Tk/Testing/Tcl/cursor3D.tcl index a1ee1a49afb..c4f484f6549 100644 --- a/Rendering/Tk/Testing/Tcl/cursor3D.tcl +++ b/Rendering/Tk/Testing/Tcl/cursor3D.tcl @@ -128,7 +128,7 @@ wm withdraw . toplevel .top # Set the window manager (wm command) so that it registers a -# command to handle the WM_DELETE_WINDOW protocal request. This +# command to handle the WM_DELETE_WINDOW protocol request. This # request is triggered when the widget is closed using the standard # window manager icons or buttons. In this case the exit callback # will be called and it will free up any objects we created then exit diff --git a/Rendering/VolumeOpenGL/vtkOpenGLProjectedTetrahedraMapper.cxx b/Rendering/VolumeOpenGL/vtkOpenGLProjectedTetrahedraMapper.cxx index 1f40133b7bd..6a1fa08f352 100644 --- a/Rendering/VolumeOpenGL/vtkOpenGLProjectedTetrahedraMapper.cxx +++ b/Rendering/VolumeOpenGL/vtkOpenGLProjectedTetrahedraMapper.cxx @@ -289,7 +289,7 @@ bool vtkOpenGLProjectedTetrahedraMapper::AllocateFBOResources(vtkRenderer *r) vtkOpenGLCheckErrorMacro("failed at glRenderBufferStorage depth"); // best way to make it complete: bind the fbo for both draw+read - // durring setup + // during setup vtkgl::BindFramebuffer( vtkgl::FRAMEBUFFER, this->Internals->FrameBufferObjectId); @@ -906,7 +906,7 @@ void vtkOpenGLProjectedTetrahedraMapper::ProjectTetrahedra(vtkRenderer *renderer // where C = P3 - P1. VEC3SUB(C, P3, P1); // When we project the lines to the xy plane (which we do by throwing - // away the z value), we have two equations and two unkowns. The + // away the z value), we have two equations and two unknowns. The // following are the solutions for alpha and beta. float denominator = (A[0]*B[1]-A[1]*B[0]); if (denominator == 0) continue; // Must be degenerated tetrahedra. diff --git a/Rendering/VolumeOpenGL2/vtkOpenGLGPUVolumeRayCastMapper.cxx b/Rendering/VolumeOpenGL2/vtkOpenGLGPUVolumeRayCastMapper.cxx index 562b5ea26be..70b9242805e 100644 --- a/Rendering/VolumeOpenGL2/vtkOpenGLGPUVolumeRayCastMapper.cxx +++ b/Rendering/VolumeOpenGL2/vtkOpenGLGPUVolumeRayCastMapper.cxx @@ -1420,7 +1420,7 @@ void vtkOpenGLGPUVolumeRayCastMapper::vtkInternal::RenderVolumeGeometry( // Now create new ones this->CreateBufferObjects(); - // TODO: should realy use the built in VAO class + // TODO: should really use the built in VAO class // which handles these apple issues internally #ifdef __APPLE__ if (vtkOpenGLRenderWindow::GetContextSupportsOpenGL32()) diff --git a/Rendering/VolumeOpenGL2/vtkOpenGLProjectedTetrahedraMapper.cxx b/Rendering/VolumeOpenGL2/vtkOpenGLProjectedTetrahedraMapper.cxx index e7e330e96ac..f15ffbe16bb 100644 --- a/Rendering/VolumeOpenGL2/vtkOpenGLProjectedTetrahedraMapper.cxx +++ b/Rendering/VolumeOpenGL2/vtkOpenGLProjectedTetrahedraMapper.cxx @@ -830,7 +830,7 @@ void vtkOpenGLProjectedTetrahedraMapper::ProjectTetrahedra(vtkRenderer *renderer // where C = P3 - P1. VEC3SUB(C, P3, P1); // When we project the lines to the xy plane (which we do by throwing - // away the z value), we have two equations and two unkowns. The + // away the z value), we have two equations and two unknowns. The // following are the solutions for alpha and beta. float denominator = (A[0]*B[1]-A[1]*B[0]); if (denominator == 0) continue; // Must be degenerated tetrahedra. diff --git a/Rendering/VolumeOpenGL2/vtkOpenGLVolumeGradientOpacityTable.h b/Rendering/VolumeOpenGL2/vtkOpenGLVolumeGradientOpacityTable.h index 5333585aafa..c018ff99698 100644 --- a/Rendering/VolumeOpenGL2/vtkOpenGLVolumeGradientOpacityTable.h +++ b/Rendering/VolumeOpenGL2/vtkOpenGLVolumeGradientOpacityTable.h @@ -53,7 +53,7 @@ class vtkOpenGLVolumeGradientOpacityTable : public vtkObject this->TextureObject->Deactivate(); } - // Update opacity tranfer function texture. + // Update opacity transfer function texture. //-------------------------------------------------------------------------- void Update(vtkPiecewiseFunction* gradientOpacity, double sampleDistance, diff --git a/Rendering/VolumeOpenGL2/vtkOpenGLVolumeOpacityTable.h b/Rendering/VolumeOpenGL2/vtkOpenGLVolumeOpacityTable.h index b5425fd4d5b..2349ed55c19 100644 --- a/Rendering/VolumeOpenGL2/vtkOpenGLVolumeOpacityTable.h +++ b/Rendering/VolumeOpenGL2/vtkOpenGLVolumeOpacityTable.h @@ -55,7 +55,7 @@ class vtkOpenGLVolumeOpacityTable : public vtkObject this->TextureObject->Deactivate(); } - // Update opacity tranfer function texture. + // Update opacity transfer function texture. //-------------------------------------------------------------------------- void Update(vtkPiecewiseFunction* scalarOpacity, int blendMode, diff --git a/Utilities/KWSys/vtksys/SystemInformation.cxx b/Utilities/KWSys/vtksys/SystemInformation.cxx index e01dcd7a753..2ea915f4613 100644 --- a/Utilities/KWSys/vtksys/SystemInformation.cxx +++ b/Utilities/KWSys/vtksys/SystemInformation.cxx @@ -3653,7 +3653,7 @@ SystemInformationImplementation::GetHostMemoryAvailable( // apply resource limits across groups of processes. // this is of use on certain SMP systems (eg. SGI UV) // where the host has a large amount of ram but a given user's - // access to it is severly restricted. The system will + // access to it is severely restricted. The system will // apply a limit across a set of processes. Units are in KiB. if (hostLimitEnvVarName) { const char* hostLimitEnvVarValue = getenv(hostLimitEnvVarName); diff --git a/Utilities/MetaIO/vtkmetaio/metaBlob.h b/Utilities/MetaIO/vtkmetaio/metaBlob.h index c48ae8dbf07..74391440a5e 100644 --- a/Utilities/MetaIO/vtkmetaio/metaBlob.h +++ b/Utilities/MetaIO/vtkmetaio/metaBlob.h @@ -89,7 +89,7 @@ class METAIO_EXPORT MetaBlob : public MetaObject // NPoints(...) // Required Field - // Number of points wich compose the blob + // Number of points which compose the blob void NPoints(int npnt); int NPoints(void) const; diff --git a/Utilities/MetaIO/vtkmetaio/metaContour.h b/Utilities/MetaIO/vtkmetaio/metaContour.h index 92b4ce14de2..62f8af676cc 100644 --- a/Utilities/MetaIO/vtkmetaio/metaContour.h +++ b/Utilities/MetaIO/vtkmetaio/metaContour.h @@ -101,7 +101,7 @@ class METAIO_EXPORT MetaContour : public MetaObject // NPoints(...) // Required Field - // Number of points wich compose the tube + // Number of points which compose the tube int NControlPoints(void) const; // ControlPointDim(...) diff --git a/Utilities/MetaIO/vtkmetaio/metaDTITube.h b/Utilities/MetaIO/vtkmetaio/metaDTITube.h index 831e085801b..6108ad5cd0e 100644 --- a/Utilities/MetaIO/vtkmetaio/metaDTITube.h +++ b/Utilities/MetaIO/vtkmetaio/metaDTITube.h @@ -102,7 +102,7 @@ class METAIO_EXPORT MetaDTITube : public MetaObject // NPoints(...) // Required Field - // Number of points wich compose the DTITube + // Number of points which compose the DTITube void NPoints(int npnt); int NPoints(void) const; diff --git a/Utilities/MetaIO/vtkmetaio/metaImage.cxx b/Utilities/MetaIO/vtkmetaio/metaImage.cxx index 44efb5bf027..813ef22f775 100644 --- a/Utilities/MetaIO/vtkmetaio/metaImage.cxx +++ b/Utilities/MetaIO/vtkmetaio/metaImage.cxx @@ -2673,7 +2673,7 @@ M_WriteElementData(METAIO_STREAM::ofstream * _fstream, { if(m_CompressedData) { - // the data is writen in writes no bigger then MaxIOChunk + // the data is written in writes no bigger then MaxIOChunk METAIO_STL::streamoff bytesRemaining = _dataQuantity; while ( bytesRemaining ) { @@ -2689,7 +2689,7 @@ M_WriteElementData(METAIO_STREAM::ofstream * _fstream, MET_SizeOfType(m_ElementType, &elementSize); METAIO_STL::streamoff elementNumberOfBytes = elementSize*m_ElementNumberOfChannels; - // the data is writen in writes no bigger then MaxIOChunk + // the data is written in writes no bigger then MaxIOChunk METAIO_STL::streamoff bytesRemaining = _dataQuantity * elementNumberOfBytes; while ( bytesRemaining ) { diff --git a/Utilities/MetaIO/vtkmetaio/metaLandmark.h b/Utilities/MetaIO/vtkmetaio/metaLandmark.h index 7d64afe2282..0798df40269 100644 --- a/Utilities/MetaIO/vtkmetaio/metaLandmark.h +++ b/Utilities/MetaIO/vtkmetaio/metaLandmark.h @@ -89,7 +89,7 @@ class METAIO_EXPORT MetaLandmark : public MetaObject // NPoints(...) // Required Field - // Number of points wich compose the tube + // Number of points which compose the tube void NPoints(int npnt); int NPoints(void) const; diff --git a/Utilities/MetaIO/vtkmetaio/metaLine.h b/Utilities/MetaIO/vtkmetaio/metaLine.h index 9c6dec3080f..53d0541809f 100644 --- a/Utilities/MetaIO/vtkmetaio/metaLine.h +++ b/Utilities/MetaIO/vtkmetaio/metaLine.h @@ -89,7 +89,7 @@ class METAIO_EXPORT MetaLine : public MetaObject // NPoints(...) // Required Field - // Number of points wich compose the line + // Number of points which compose the line void NPoints(int npnt); int NPoints(void) const; diff --git a/Utilities/MetaIO/vtkmetaio/metaMesh.h b/Utilities/MetaIO/vtkmetaio/metaMesh.h index 9e03e3103d5..d3e7b3cbe69 100644 --- a/Utilities/MetaIO/vtkmetaio/metaMesh.h +++ b/Utilities/MetaIO/vtkmetaio/metaMesh.h @@ -215,22 +215,22 @@ class METAIO_EXPORT MetaMesh : public MetaObject // NPoints(...) // Required Field - // Number of points wich compose the mesh + // Number of points which compose the mesh int NPoints(void) const; // NCells(...) // Required Field - // Number of cells wich compose the mesh + // Number of cells which compose the mesh int NCells(void) const; // NCellLinks(...) // Required Field - // Number of cellLinks wich compose the mesh + // Number of cellLinks which compose the mesh int NCellLinks(void) const; // NCellTypes(...) // Required Field - // Number of celles wich compose the mesh + // Number of celles which compose the mesh void NCellTypes(int ncelltypes); int NCellTypes(void) const; diff --git a/Utilities/MetaIO/vtkmetaio/metaScene.h b/Utilities/MetaIO/vtkmetaio/metaScene.h index ca7e622f43c..d485d3a2dd1 100644 --- a/Utilities/MetaIO/vtkmetaio/metaScene.h +++ b/Utilities/MetaIO/vtkmetaio/metaScene.h @@ -85,7 +85,7 @@ class METAIO_EXPORT MetaScene : public MetaObject // NObjects(...) // Required Field - // Number of points wich compose the tube + // Number of points which compose the tube void NObjects(int nobjects); int NObjects(void) const; diff --git a/Utilities/MetaIO/vtkmetaio/metaSurface.h b/Utilities/MetaIO/vtkmetaio/metaSurface.h index 15ace784ded..13de4f3f115 100644 --- a/Utilities/MetaIO/vtkmetaio/metaSurface.h +++ b/Utilities/MetaIO/vtkmetaio/metaSurface.h @@ -87,7 +87,7 @@ class METAIO_EXPORT MetaSurface : public MetaObject // NPoints(...) // Required Field - // Number of points wich compose the tube + // Number of points which compose the tube void NPoints(int npnt); int NPoints(void) const; diff --git a/Utilities/MetaIO/vtkmetaio/metaTube.h b/Utilities/MetaIO/vtkmetaio/metaTube.h index 902f5ad6d7f..f0fbaf3eeef 100644 --- a/Utilities/MetaIO/vtkmetaio/metaTube.h +++ b/Utilities/MetaIO/vtkmetaio/metaTube.h @@ -89,7 +89,7 @@ class METAIO_EXPORT MetaTube : public MetaObject // NPoints(...) // Required Field - // Number of points wich compose the tube + // Number of points which compose the tube void NPoints(int npnt); int NPoints(void) const; diff --git a/Utilities/MetaIO/vtkmetaio/metaTubeGraph.h b/Utilities/MetaIO/vtkmetaio/metaTubeGraph.h index 4ddb793f2d2..37d7054b7a3 100644 --- a/Utilities/MetaIO/vtkmetaio/metaTubeGraph.h +++ b/Utilities/MetaIO/vtkmetaio/metaTubeGraph.h @@ -98,7 +98,7 @@ class METAIO_EXPORT MetaTubeGraph : public MetaObject // NPoints(...) // Required Field - // Number of points wich compose the tube + // Number of points which compose the tube void NPoints(int npnt); int NPoints(void) const; diff --git a/Utilities/MetaIO/vtkmetaio/metaVesselTube.h b/Utilities/MetaIO/vtkmetaio/metaVesselTube.h index ab510a00bec..d16f56140fe 100644 --- a/Utilities/MetaIO/vtkmetaio/metaVesselTube.h +++ b/Utilities/MetaIO/vtkmetaio/metaVesselTube.h @@ -97,7 +97,7 @@ class METAIO_EXPORT MetaVesselTube : public MetaObject // NPoints(...) // Required Field - // Number of points wich compose the VesselTube + // Number of points which compose the VesselTube void NPoints(int npnt); int NPoints(void) const; diff --git a/Views/Infovis/vtkParallelCoordinatesRepresentation.cxx b/Views/Infovis/vtkParallelCoordinatesRepresentation.cxx index 89c4b0a0238..6e383eac55e 100644 --- a/Views/Infovis/vtkParallelCoordinatesRepresentation.cxx +++ b/Views/Infovis/vtkParallelCoordinatesRepresentation.cxx @@ -231,7 +231,7 @@ vtkParallelCoordinatesRepresentation::vtkParallelCoordinatesRepresentation() this->FunctionTextMapper = vtkSmartPointer::New(); - this->FunctionTextMapper->SetInput("No functino selected."); + this->FunctionTextMapper->SetInput("No function selected."); this->FunctionTextMapper->GetTextProperty()->SetJustificationToLeft(); this->FunctionTextMapper->GetTextProperty()->SetVerticalJustificationToTop(); // this->FunctionTextActor->SetInput("No function selected."); diff --git a/Wrapping/PythonCore/vtkPythonCompatibility.h b/Wrapping/PythonCore/vtkPythonCompatibility.h index 869aa340d97..4a767844a6a 100644 --- a/Wrapping/PythonCore/vtkPythonCompatibility.h +++ b/Wrapping/PythonCore/vtkPythonCompatibility.h @@ -34,7 +34,7 @@ #define PyInt_FromLong PyLong_FromLong #define PyInt_AsLong PyLong_AsLong -// Unicode/String compability +// Unicode/String compatibility #define PyString_InternFromString PyUnicode_InternFromString #define PyString_FromFormat PyUnicode_FromFormat #define PyString_Check PyUnicode_Check diff --git a/Wrapping/PythonCore/vtkPythonUtil.cxx b/Wrapping/PythonCore/vtkPythonUtil.cxx index 8ba45986810..a1cdeeae28f 100644 --- a/Wrapping/PythonCore/vtkPythonUtil.cxx +++ b/Wrapping/PythonCore/vtkPythonUtil.cxx @@ -748,7 +748,7 @@ PyObject *vtkPythonUtil::GetObjectFromObject( if (i <= 0) { Py_XDECREF(tmp); - PyErr_SetString(PyExc_ValueError, "could not extract hexidecimal address from argument string"); + PyErr_SetString(PyExc_ValueError, "could not extract hexadecimal address from argument string"); return NULL; } diff --git a/Wrapping/Tools/vtkParsePreprocess.c b/Wrapping/Tools/vtkParsePreprocess.c index bf9356668f0..7e26917c00d 100644 --- a/Wrapping/Tools/vtkParsePreprocess.c +++ b/Wrapping/Tools/vtkParsePreprocess.c @@ -1895,7 +1895,7 @@ static int preproc_include_file( const char *save_filename; int save_external; - /* check to see if the file has aleady been included */ + /* check to see if the file has already been included */ const char *path = preproc_find_include_file(info, filename, system_first, 1); if (path != 0) { diff --git a/Wrapping/Tools/vtkParseType.h b/Wrapping/Tools/vtkParseType.h index 1a7d799ae28..4395a2a9c3f 100644 --- a/Wrapping/Tools/vtkParseType.h +++ b/Wrapping/Tools/vtkParseType.h @@ -17,7 +17,7 @@ #define vtkParseType_h /** - * The parser identifies VTK types with 32-bit hexidecimal numbers: + * The parser identifies VTK types with 32-bit hexadecimal numbers: * * - One byte is for the base type. * - One byte is indirection i.e. & and * and "* const"