diff --git a/Filters/AMR/Testing/Cxx/TestAMRGhostLayerStripping.cxx b/Filters/AMR/Testing/Cxx/TestAMRGhostLayerStripping.cxx index f0bb27e4a12cb19ffde78b23eaf4d97e6879a8ce..a320640a762d0c3697f05663f62a900340ee6708 100644 --- a/Filters/AMR/Testing/Cxx/TestAMRGhostLayerStripping.cxx +++ b/Filters/AMR/Testing/Cxx/TestAMRGhostLayerStripping.cxx @@ -208,7 +208,7 @@ vtkUniformGrid* GetGhostedGrid( } } // END for all dimensions - // STEP 3: Construt ghosted grid + // STEP 3: Construct ghosted grid vtkUniformGrid *grid = vtkUniformGrid::New(); grid->Initialize(); grid->SetOrigin( origin ); diff --git a/Filters/Core/vtkMultiObjectMassProperties.cxx b/Filters/Core/vtkMultiObjectMassProperties.cxx index 47a528b8fb7501ae51c28f40dd101bd56ca2f5d9..65b29a43bd3cb804481d52d75861beb60c47eb7b 100644 --- a/Filters/Core/vtkMultiObjectMassProperties.cxx +++ b/Filters/Core/vtkMultiObjectMassProperties.cxx @@ -286,7 +286,7 @@ int vtkMultiObjectMassProperties::RequestData( output->GetFieldData()->AddArray(this->ObjectValidity); unsigned char *valid; - // All polygons intially assumed oriented properly + // All polygons initially assumed oriented properly unsigned char *orient = new unsigned char [numPolys]; std::fill_n(orient, numPolys, 1); diff --git a/Filters/Core/vtkMultiObjectMassProperties.h b/Filters/Core/vtkMultiObjectMassProperties.h index c7cccad5833d915bf5109b74bf2280391edb42b0..51e939d6432d52262f67d2759b9e1eb573a5e421 100644 --- a/Filters/Core/vtkMultiObjectMassProperties.h +++ b/Filters/Core/vtkMultiObjectMassProperties.h @@ -74,7 +74,7 @@ * operates on triangle meshes and assumes only a single, closed, properly * oriented surface is represented. vtkMultiObjectMassProperties performs * additional topological and connectivity operations to identify separate - * objects, and confirms that they are manifold. It also accomodates + * objects, and confirms that they are manifold. It also accommodates * inconsistent ordering. * * @warning diff --git a/Filters/Core/vtkSynchronizedTemplates3D.h b/Filters/Core/vtkSynchronizedTemplates3D.h index 16359645384f64b99802b8d523f994458037ecd4..97234c91e81c04ca78e6b2882c3296a5aa1957bc 100644 --- a/Filters/Core/vtkSynchronizedTemplates3D.h +++ b/Filters/Core/vtkSynchronizedTemplates3D.h @@ -155,7 +155,7 @@ public: //@{ /** - * Determines the chunk size fro streaming. This filter will act like a + * Determines the chunk size for streaming. This filter will act like a * collector: ask for many input pieces, but generate one output. Limit is * in KBytes */ diff --git a/Filters/Geometry/vtkStructuredAMRGridConnectivity.h b/Filters/Geometry/vtkStructuredAMRGridConnectivity.h index a34f9e927c3e38b9785fd92585aebde583297691..c2b507298db613979f1ad5c1f7e3c6b1e68e8969 100644 --- a/Filters/Geometry/vtkStructuredAMRGridConnectivity.h +++ b/Filters/Geometry/vtkStructuredAMRGridConnectivity.h @@ -175,7 +175,7 @@ protected: const int gridIdx, int fromLevel, int toLevel, int ext[6]); /** - * Gets the refined extent fro the grid with the given grid index. + * Gets the refined extent for the grid with the given grid index. */ void GetRefinedExtent( const int gridIdx, int fromLevel, int toLevel, int ext[6]); diff --git a/Filters/SMP/vtkThreadedSynchronizedTemplates3D.h b/Filters/SMP/vtkThreadedSynchronizedTemplates3D.h index ef3fb9872e3ee9506babdab246b239d91209f736..917eaff8a6082b1e4de174aa8a2d0035c0219df3 100644 --- a/Filters/SMP/vtkThreadedSynchronizedTemplates3D.h +++ b/Filters/SMP/vtkThreadedSynchronizedTemplates3D.h @@ -156,7 +156,7 @@ public: //@{ /** - * Determines the chunk size fro streaming. This filter will act like a + * Determines the chunk size for streaming. This filter will act like a * collector: ask for many input pieces, but generate one output. Limit is * in KBytes */ diff --git a/IO/Geometry/vtkAVSucdReader.cxx b/IO/Geometry/vtkAVSucdReader.cxx index 8e58fbd10a1685b50d38169eec631b0fdd608d2d..09d2a2873e2e99b19c9cc7619aeb028cc17e8d67 100644 --- a/IO/Geometry/vtkAVSucdReader.cxx +++ b/IO/Geometry/vtkAVSucdReader.cxx @@ -315,7 +315,7 @@ int vtkAVSucdReader::RequestInformation( vtkDebugMacro( << "TFL = " << trueFileLength << "\tCFL = " << calculatedFileLength << endl); - // We tried. Count our trys. + // We tried. Count our tries. attempts++; if(trueFileLength == calculatedFileLength) diff --git a/IO/Geometry/vtkWindBladeReader.cxx b/IO/Geometry/vtkWindBladeReader.cxx index 8e46034f61c9e370093ac56ec4f2c469a85cbb62..808cd010a80d2dcbd729f22b402a9dbe32456d18 100644 --- a/IO/Geometry/vtkWindBladeReader.cxx +++ b/IO/Geometry/vtkWindBladeReader.cxx @@ -729,7 +729,7 @@ void vtkWindBladeReader::ReadDataVariables(istream& inStr) // // Open the first data file and verify that the data is where is should be // Each data block is enclosed by two ints which record the number of bytes -// Save the file offset for each varible +// Save the file offset for each variable // //---------------------------------------------------------------------------- bool vtkWindBladeReader::FindVariableOffsets() diff --git a/IO/Import/vtkOBJImporterInternals.cxx b/IO/Import/vtkOBJImporterInternals.cxx index b8e91e7846ec7fa5aaa16d2b6d14f231ff5caede..ac1201d39a6e1f68de03787964a17620924e32a5 100644 --- a/IO/Import/vtkOBJImporterInternals.cxx +++ b/IO/Import/vtkOBJImporterInternals.cxx @@ -165,7 +165,7 @@ bool tokenGetVector(size_t &t, std::vector &tokens, vtkGenericWarningMacro("bad syntax"); return false; } - // parse the folloing numbers + // parse the following numbers size_t count = 0; while (tokens.size() > t + 2 && tokens[t+1].Type == Token::Space && diff --git a/IO/MPIParallel/vtkPWindBladeReader.cxx b/IO/MPIParallel/vtkPWindBladeReader.cxx index e240ccbcfc3c070ebb593d18ccba9ebe05fd4a87..3df1465421fb4fe7d4d7662c164d70a9385d2910 100644 --- a/IO/MPIParallel/vtkPWindBladeReader.cxx +++ b/IO/MPIParallel/vtkPWindBladeReader.cxx @@ -290,7 +290,7 @@ bool vtkPWindBladeReader::ReadGlobalData() // // Open the first data file and verify that the data is where is should be // Each data block is enclosed by two ints which record the number of bytes -// Save the file offset for each varible +// Save the file offset for each variable // //---------------------------------------------------------------------------- bool vtkPWindBladeReader::FindVariableOffsets() diff --git a/IO/XML/vtkXMLPTableReader.h b/IO/XML/vtkXMLPTableReader.h index a33871ce07877fae92432c5a93a52382e5ade200..b675529719f4f3ac5491300948cf710decaa6f1d 100644 --- a/IO/XML/vtkXMLPTableReader.h +++ b/IO/XML/vtkXMLPTableReader.h @@ -87,7 +87,7 @@ protected: ~vtkXMLPTableReader() override; /** - * Return hte type of the dataset being read + * Return the type of the dataset being read */ const char* GetDataSetName() override; diff --git a/IO/Xdmf2/CMakeLists.txt b/IO/Xdmf2/CMakeLists.txt index f017c9505627e7028d6b3347b24477e8e109bdfb..fcacb3687c344625429a53e100ce1010662a8094 100644 --- a/IO/Xdmf2/CMakeLists.txt +++ b/IO/Xdmf2/CMakeLists.txt @@ -7,5 +7,5 @@ set(Module_SRCS vtkXdmfWriter.cxx ) -#set(${vtk-module}_NO_HeaderTest 1) # TODO: helper classes and reenable +#set(${vtk-module}_NO_HeaderTest 1) # TODO: helper classes and re-enable vtk_module_library(vtkIOXdmf2 ${Module_SRCS}) diff --git a/IO/Xdmf2/vtkXdmfWriter.cxx b/IO/Xdmf2/vtkXdmfWriter.cxx index 03c6e9b7fe3e20e1357ee0ea6177d7211a9d9281..35daeb7814780232e92df36d65b02f2582fcd25d 100644 --- a/IO/Xdmf2/vtkXdmfWriter.cxx +++ b/IO/Xdmf2/vtkXdmfWriter.cxx @@ -458,7 +458,7 @@ int vtkXdmfWriter::WriteCompositeDataSet(vtkCompositeDataSet *dobj, xdmf2::XdmfG { //fine for vtkMultiBlockDataSet //vtkHierarchicalBoxDataSet would be better served by a different xdmf tree type - //vtkTemporalDataSet is internal to the VTK pipeline so I am ingnoring it + //vtkTemporalDataSet is internal to the VTK pipeline so I am ignoring it grid->SetGridType(XDMF_GRID_TREE); } diff --git a/Rendering/OpenGL2/vtkDepthPeelingPass.h b/Rendering/OpenGL2/vtkDepthPeelingPass.h index 7fba337ee77c011d04c0188cbcb0b71e10738e7f..2732391e54efe67dfa3c03f45e93bf0f3604d60d 100644 --- a/Rendering/OpenGL2/vtkDepthPeelingPass.h +++ b/Rendering/OpenGL2/vtkDepthPeelingPass.h @@ -14,7 +14,7 @@ =========================================================================*/ /** * @class vtkDepthPeelingPass - * @brief Implement Depth Peeling for use within a frambuffer pass + * @brief Implement Depth Peeling for use within a framebuffer pass * * Note that this implementation is used as a fallback for drivers that * don't support floating point textures. Most renderings will use the subclass @@ -38,7 +38,7 @@ * This implementation makes use of textures and is suitable for ES3 * For ES3 it must be embedded within a pass that makes use of framebuffers * so that the required OpaqueZTexture and OpaqueRGBATexture can be - * passed from the outer frambuffer pass. For OpenGL ES3 be aware the + * passed from the outer framebuffer pass. For OpenGL ES3 be aware the * occlusion ratio test is not supported. The maximum number of peels * is used instead so set it to a reasonable value. For many scenes * a value of 4 or 5 will work well. diff --git a/Rendering/OpenGL2/vtkOpenGLFramebufferObject.h b/Rendering/OpenGL2/vtkOpenGLFramebufferObject.h index 9e94ce72bee99eaa67d8885f940599779f89b77d..62e1a117f7e1ac9452b85aeeb7382669e8227df7 100644 --- a/Rendering/OpenGL2/vtkOpenGLFramebufferObject.h +++ b/Rendering/OpenGL2/vtkOpenGLFramebufferObject.h @@ -339,7 +339,7 @@ public: /** * Convenience method to populate a framebuffer with * attachments created as well. Returns true if a - * complete valid Frambuffer was created + * complete valid Framebuffer was created */ bool PopulateFramebuffer(int width, int height); bool PopulateFramebuffer( diff --git a/Rendering/VolumeOpenGL2/vtkOpenGLGPUVolumeRayCastMapper.cxx b/Rendering/VolumeOpenGL2/vtkOpenGLGPUVolumeRayCastMapper.cxx index 00d81161c85f1053515788ae1f42a8215f4b0e1f..cb2d0dfdc17481e1176f53a9950a6da4ef15216a 100644 --- a/Rendering/VolumeOpenGL2/vtkOpenGLGPUVolumeRayCastMapper.cxx +++ b/Rendering/VolumeOpenGL2/vtkOpenGLGPUVolumeRayCastMapper.cxx @@ -3345,7 +3345,7 @@ bool vtkOpenGLGPUVolumeRayCastMapper::vtkInternal::UpdateInputs(vtkRenderer* ren this->Partitions[2]); ///TODO Currently, only input arrays with the same name/id/mode can be - // (accross input objects) can be rendered. This could be addressed by + // (across input objects) can be rendered. This could be addressed by // overriding the mapper's settings with array settings defined in the // vtkMultiVolume instance. vtkDataArray* scalars = this->Parent->GetScalars(input, this->Parent->ScalarMode, diff --git a/Utilities/PythonInterpreter/vtkPythonInteractiveInterpreter.h b/Utilities/PythonInterpreter/vtkPythonInteractiveInterpreter.h index 4b42f556dd77a63229ee3eb329ce615b07cec816..57f6b43605b3a4b3ed06d38aa9f9115e3bb29e87 100644 --- a/Utilities/PythonInterpreter/vtkPythonInteractiveInterpreter.h +++ b/Utilities/PythonInterpreter/vtkPythonInteractiveInterpreter.h @@ -17,7 +17,7 @@ * @brief interpreter for interactive shells. * * vtkPythonInteractiveInterpreter provides an interpreter that can be used in - * interactive shells. It mimicks the behaviour of the interactive + * interactive shells. It mimics the behaviour of the interactive * console (much like the default Python shell) providing the "read-eval-print" * loops. It also handles incomplete statements correctly. It uses "code" * module provided by Python standard library to achieve this. diff --git a/Utilities/PythonInterpreter/vtkPythonInterpreter.cxx b/Utilities/PythonInterpreter/vtkPythonInterpreter.cxx index 10ca69d89146385cc7ef8bdb6e628bd4d1f61489..2d5346f2f2f34de03f3adcfb2dddc8493151495e 100644 --- a/Utilities/PythonInterpreter/vtkPythonInterpreter.cxx +++ b/Utilities/PythonInterpreter/vtkPythonInterpreter.cxx @@ -276,7 +276,7 @@ void vtkPythonInterpreter::Finalize() { NotifyInterpreters(vtkCommand::ExitEvent); vtkPythonScopeGilEnsurer gilEnsurer(false, true); - // Py_Finalize will take care of relasing gil + // Py_Finalize will take care of releasing gil Py_Finalize(); } } @@ -404,7 +404,7 @@ int vtkPythonInterpreter::PyMain(int argc, char** argv) return res; #else - // process command line argments to remove unhandled args. + // process command line arguments to remove unhandled args. std::vector newargv; for (int i=0; i < argc; ++i) { diff --git a/Utilities/octree/octree.h b/Utilities/octree/octree.h index 50c34f608e1467fa7e9f3a66cb5fe7278ddc4d01..bfc37f35316e9f467034ae4e853d0525762ed932 100644 --- a/Utilities/octree/octree.h +++ b/Utilities/octree/octree.h @@ -27,7 +27,7 @@ * the integers in the vector will all be in \f$\{0,\ldots,2^d-1\}\f$. * * The octree_cursor class provides a free-form way to visit nodes in the octree; - * it does not behave like an interator that guarantees each node will be visited once. + * it does not behave like an iterator that guarantees each node will be visited once. * Instead, it provides a way to move up, down, and across the tree from any location. * This makes it useful for local queries that do not need to traverse the entire tree. *