diff --git a/Accelerators/Vtkm/vtkmlib/ArrayConverters.cxx b/Accelerators/Vtkm/vtkmlib/ArrayConverters.cxx index 04d7a7b28d7..5f5c69cd1a8 100644 --- a/Accelerators/Vtkm/vtkmlib/ArrayConverters.cxx +++ b/Accelerators/Vtkm/vtkmlib/ArrayConverters.cxx @@ -176,7 +176,7 @@ vtkm::cont::Field Convert(vtkDataArray* input, int association) // We need to properly deduce the ValueType of the array. This means // that we need to switch on Float/Double/Int, and then figure out the // number of components. The upside is that the Convert Method can internally - // figure out the number of components, and not have to generate alot + // figure out the number of components, and not have to generate a lot // of template to do so // Investigate using vtkArrayDispatch, AOS for all types, and than SOA for diff --git a/CMake/CheckCXXSourceRuns.cmake b/CMake/CheckCXXSourceRuns.cmake index ac068b134c3..cedf7b0b21f 100644 --- a/CMake/CheckCXXSourceRuns.cmake +++ b/CMake/CheckCXXSourceRuns.cmake @@ -45,7 +45,7 @@ MACRO(CHECK_CXX_SOURCE_RUNS SOURCE VAR COMMENT) SET(${VAR} 1 CACHE INTERNAL "Test ${COMMENT}") MESSAGE(STATUS "Performing Test ${COMMENT} - Success") FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeFiles/CMakeOutput.log - "Performing C++ SOURCE FILE Test ${COMMENT} succeded with the following output:\n" + "Performing C++ SOURCE FILE Test ${COMMENT} succeeded with the following output:\n" "${OUTPUT}\n" "Source file was:\n${SOURCE}\n") ELSE() diff --git a/CMake/FindMPI.cmake b/CMake/FindMPI.cmake index 7a0174b6e2f..91543e88ad7 100644 --- a/CMake/FindMPI.cmake +++ b/CMake/FindMPI.cmake @@ -85,7 +85,7 @@ include(FindPackageHandleStandardArgs) # # The compilers are detected in this order: # -# 1. Try to find the most generic availble MPI compiler, as this is usually set up by +# 1. Try to find the most generic available MPI compiler, as this is usually set up by # cluster admins. e.g., if plain old mpicc is available, we'll use it and assume it's # the right compiler. # diff --git a/CMake/FindTBB.cmake b/CMake/FindTBB.cmake index aab7e6eafd3..2d77bb747ad 100644 --- a/CMake/FindTBB.cmake +++ b/CMake/FindTBB.cmake @@ -160,7 +160,7 @@ endif () # will never adequately match the user's setup, so there is no feasible way # to detect the "best" version to use. The user will have to manually # select the right files. (Chances are the distributions are shipping their -# custom version of tbb, anyway, so the problem is probably nonexistant.) +# custom version of tbb, anyway, so the problem is probably nonexistent.) if (WIN32 AND MSVC) set(COMPILER_PREFIX "vc7.1") if (MSVC_VERSION EQUAL 1400) diff --git a/CMake/NewCMake/FindHDF5.cmake b/CMake/NewCMake/FindHDF5.cmake index 448602f2c26..b60b547f9b8 100644 --- a/CMake/NewCMake/FindHDF5.cmake +++ b/CMake/NewCMake/FindHDF5.cmake @@ -405,7 +405,7 @@ if(NOT HDF5_FOUND AND NOT HDF5_ROOT) #if we detect that occurrence clear the suffix if(_suffix AND NOT TARGET ${HDF5_${_lang}_TARGET}${_suffix}) if(NOT TARGET ${HDF5_${_lang}_TARGET}) - #cant find this component with our without the suffix + #can't find this component with our without the suffix #so bail out, and let the following locate HDF5 set(HDF5_FOUND FALSE) break() diff --git a/CMake/VTKGenerateExportHeader.cmake b/CMake/VTKGenerateExportHeader.cmake index 6daf9f177e5..c31485c4944 100644 --- a/CMake/VTKGenerateExportHeader.cmake +++ b/CMake/VTKGenerateExportHeader.cmake @@ -72,7 +72,7 @@ # Generates a file called other_name_export.h containing the macros # OTHER_NAME_EXPORT, OTHER_NAME_NO_EXPORT and OTHER_NAME_DEPRECATED etc. # -# The BASE_NAME may be overridden by specifiying other options in the function. +# The BASE_NAME may be overridden by specifying other options in the function. # For example: # # add_library(somelib someclass.cpp) diff --git a/CMake/vtkCompilerExtras.cmake b/CMake/vtkCompilerExtras.cmake index a6b363ef309..af92e0e79ef 100644 --- a/CMake/vtkCompilerExtras.cmake +++ b/CMake/vtkCompilerExtras.cmake @@ -2,7 +2,7 @@ if(CMAKE_COMPILER_IS_GNUCXX) include(CheckCXXCompilerFlag) - # Addtional warnings for GCC + # Additional warnings for GCC set(CMAKE_CXX_FLAGS_WARN "-Wnon-virtual-dtor -Wno-long-long -ansi -Wcast-align -Wchar-subscripts -Wall -Wextra -Wpointer-arith -Wformat-security -Woverloaded-virtual -Wshadow -Wunused-parameter -fno-check-new -fno-common") # This flag is useful as not returning from a non-void function is an error diff --git a/CMake/vtkDetermineCompilerFlags.cmake b/CMake/vtkDetermineCompilerFlags.cmake index 09321b02c6c..98bae704552 100644 --- a/CMake/vtkDetermineCompilerFlags.cmake +++ b/CMake/vtkDetermineCompilerFlags.cmake @@ -93,11 +93,11 @@ ENDIF() IF(CMAKE_CXX_COMPILER_ID STREQUAL "PGI") # --diag_suppress=236 is for constant value asserts used for error handling - # This can be restricted to the implementation and doesn't need to propogate + # This can be restricted to the implementation and doesn't need to propagate SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --diag_suppress=236") # --diag_suppress=381 is for redundant semi-colons used in macros - # This needs to propogate to anything that includes VTK headers + # This needs to propagate to anything that includes VTK headers SET(VTK_REQUIRED_CXX_FLAGS "${VTK_REQUIRED_CXX_FLAGS} --diag_suppress=381") ENDIF() diff --git a/CMake/vtkExternalModuleMacros.cmake b/CMake/vtkExternalModuleMacros.cmake index 19027d98196..3df3a945c25 100644 --- a/CMake/vtkExternalModuleMacros.cmake +++ b/CMake/vtkExternalModuleMacros.cmake @@ -1,6 +1,6 @@ # This file ensures the appropriate variables are set up for a project extending # VTK before including vtkModuleMacros. This is the preferred way for a project -# building aginst VTK to use the CMake infrastructure provided for module +# building against VTK to use the CMake infrastructure provided for module # developers. if(NOT VTK_FOUND) diff --git a/CMake/vtkModuleMacros.cmake b/CMake/vtkModuleMacros.cmake index e1b087725fa..0acb46bb5af 100644 --- a/CMake/vtkModuleMacros.cmake +++ b/CMake/vtkModuleMacros.cmake @@ -880,7 +880,7 @@ macro(vtk_module_third_party _pkg) endif() #a workaround for bad FindHDF5 behavior in which deb or opt can - #end up empty. cmake >= 2.8.12.2 makes this uneccessary + #end up empty. cmake >= 2.8.12.2 makes this unnecessary string(REGEX MATCH "debug;.*optimized;.*" _remove_deb_opt "${vtk${_lower}_LIBRARIES}") if (_remove_deb_opt) diff --git a/Charts/Core/vtkContextArea.cxx b/Charts/Core/vtkContextArea.cxx index d1ee054394c..ac24884ad9c 100644 --- a/Charts/Core/vtkContextArea.cxx +++ b/Charts/Core/vtkContextArea.cxx @@ -138,7 +138,7 @@ vtkRecti vtkContextArea::ComputeExpandedDrawAreaGeometry(vtkContext2D *painter) // Shorter names for compact readability: vtkRecti &geo = this->Geometry; - // Set the axes positions. We iterate upto 3 times to converge on the margins. + // Set the axes positions. We iterate up to 3 times to converge on the margins. vtkRecti draw(this->DrawAreaGeometry); // Start with last attempt vtkRecti lastDraw; for (int pass = 0; pass < 3; ++pass) diff --git a/Common/Core/Testing/Cxx/TestTimePointUtility.cxx b/Common/Core/Testing/Cxx/TestTimePointUtility.cxx index b64568544fd..63b87976767 100644 --- a/Common/Core/Testing/Cxx/TestTimePointUtility.cxx +++ b/Common/Core/Testing/Cxx/TestTimePointUtility.cxx @@ -42,7 +42,7 @@ int TestTimePointUtility(int, char *[]) continue; } - // The dates October 5, 1582 thru October 14, 1582 do not exist + // The dates October 5, 1582 through October 14, 1582 do not exist if (y == 1582) { if (m == 10) diff --git a/Common/Core/vtkArrayIterator.h b/Common/Core/vtkArrayIterator.h index 39f0e2c31ec..7c7602a6031 100644 --- a/Common/Core/vtkArrayIterator.h +++ b/Common/Core/vtkArrayIterator.h @@ -57,7 +57,7 @@ class VTKCOMMONCORE_EXPORT vtkArrayIterator : public vtkObject * After Initialize() has been called, the iterator is valid * so long as the Array has not been modified * (except using the iterator itself). - * If the array is modified, the iterator must be re-intialized. + * If the array is modified, the iterator must be re-initialized. */ virtual void Initialize(vtkAbstractArray* array) = 0; diff --git a/Common/Core/vtkArrayIteratorTemplate.h b/Common/Core/vtkArrayIteratorTemplate.h index 72ace91c528..9d5c01c7c48 100644 --- a/Common/Core/vtkArrayIteratorTemplate.h +++ b/Common/Core/vtkArrayIteratorTemplate.h @@ -46,7 +46,7 @@ class VTKCOMMONCORE_EXPORT vtkArrayIteratorTemplate : public vtkArrayIterator * After Initialize() has been called, the iterator is valid * so long as the Array has not been modified * (except using the iterator itself). - * If the array is modified, the iterator must be re-intialized. + * If the array is modified, the iterator must be re-initialized. */ void Initialize(vtkAbstractArray* array) VTK_OVERRIDE; diff --git a/Common/Core/vtkBitArrayIterator.h b/Common/Core/vtkBitArrayIterator.h index 4334c4d4f68..19baa96d171 100644 --- a/Common/Core/vtkBitArrayIterator.h +++ b/Common/Core/vtkBitArrayIterator.h @@ -38,7 +38,7 @@ class VTKCOMMONCORE_EXPORT vtkBitArrayIterator : public vtkArrayIterator * After Initialize() has been called, the iterator is valid * so long as the Array has not been modified * (except using the iterator itself). - * If the array is modified, the iterator must be re-intialized. + * If the array is modified, the iterator must be re-initialized. */ void Initialize(vtkAbstractArray* array) VTK_OVERRIDE; diff --git a/Common/Core/vtkObjectFactory.cxx b/Common/Core/vtkObjectFactory.cxx index bc635608d26..e43c0759a49 100644 --- a/Common/Core/vtkObjectFactory.cxx +++ b/Common/Core/vtkObjectFactory.cxx @@ -398,7 +398,7 @@ void vtkObjectFactory::PrintSelf(ostream& os, vtkIndent indent) for(int i =0; i < num; i++) { os << indent << "Class : " << this->GetClassOverrideName(i) << endl; - os << indent << "Overriden with: " << this->GetClassOverrideWithName(i) + os << indent << "Overridden with: " << this->GetClassOverrideWithName(i) << endl; os << indent << "Enable flag: " << this->GetEnableFlag(i) << endl; os << endl; @@ -587,7 +587,7 @@ void vtkObjectFactory::Disable(const char* className) } } -// 1,0 is the class overriden by className +// 1,0 is the class overridden by className int vtkObjectFactory::HasOverride(const char* className) { for(int i =0; i < this->OverrideArrayLength; i++) @@ -600,7 +600,7 @@ int vtkObjectFactory::HasOverride(const char* className) return 0; } -// 1,0 is the class overriden by className/subclassName pair +// 1,0 is the class overridden by className/subclassName pair int vtkObjectFactory::HasOverride(const char* className, const char* subclassName) { @@ -629,7 +629,7 @@ vtkObjectFactoryCollection* vtkObjectFactory::GetRegisteredFactories() } -// 1,0 is the className overriden by any registered factories +// 1,0 is the className overridden by any registered factories int vtkObjectFactory::HasOverrideAny(const char* className) { vtkObjectFactory* factory; diff --git a/Common/Core/vtkOverrideInformation.h b/Common/Core/vtkOverrideInformation.h index 1067493feef..4be95a4e113 100644 --- a/Common/Core/vtkOverrideInformation.h +++ b/Common/Core/vtkOverrideInformation.h @@ -17,7 +17,7 @@ * @brief Factory object override information * * vtkOverrideInformation is used to represent the information about - * a class which is overriden in a vtkObjectFactory. + * a class which is overridden in a vtkObjectFactory. * */ @@ -40,9 +40,9 @@ class VTKCOMMONCORE_EXPORT vtkOverrideInformation : public vtkObject void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE; /** - * Returns the name of the class being overriden. For example, + * Returns the name of the class being overridden. For example, * if you had a factory that provided an override for - * vtkVertex, then this funciton would return "vtkVertex" + * vtkVertex, then this function would return "vtkVertex" */ const char* GetClassOverrideName() { diff --git a/Common/Core/vtkSortDataArray.cxx b/Common/Core/vtkSortDataArray.cxx index f7092033b86..2fc4756433a 100644 --- a/Common/Core/vtkSortDataArray.cxx +++ b/Common/Core/vtkSortDataArray.cxx @@ -225,7 +225,7 @@ vtkIdType* vtkSortDataArray::InitializeSortIndices(vtkIdType num) //--------------------------------------------------------------------------- -// Efficent function for generating sort ordering specialized to single +// Efficient function for generating sort ordering specialized to single // component arrays. void vtkSortDataArray:: GenerateSort1Indices(int dataType, void *dataIn, vtkIdType numKeys, diff --git a/Common/DataModel/Testing/Cxx/TestAMRBox.cxx b/Common/DataModel/Testing/Cxx/TestAMRBox.cxx index 5300986f26b..0f95a479e49 100644 --- a/Common/DataModel/Testing/Cxx/TestAMRBox.cxx +++ b/Common/DataModel/Testing/Cxx/TestAMRBox.cxx @@ -115,7 +115,7 @@ int TestAMRBoxCoarsenRefineOperators() hi[0] = hi[1] = hi[2] = 33; Construct3DAMRBox( Ar, lo, hi ); - // Save the intial AMR box to A0 + // Save the initial AMR box to A0 A0 = A; // Refine the AMR box to Ar diff --git a/Common/DataModel/vtkAMRInformation.h b/Common/DataModel/vtkAMRInformation.h index ae4f7557fc7..254993fb9f4 100644 --- a/Common/DataModel/vtkAMRInformation.h +++ b/Common/DataModel/vtkAMRInformation.h @@ -277,7 +277,7 @@ class VTKCOMMONDATAMODEL_EXPORT vtkAMRInformation : public vtkObject double Bounds[6]; //the bounds of the entire domain //------------------------------------------------------------------------- - // Auxillary information that be computed + // Auxiliary information that be computed //------------------------------------------------------------------------- vtkSmartPointer Refinement; //refinement ratio between two adjacent levels vtkSmartPointer BlockLevel; //only necessary if need to call ComputeIndexPair diff --git a/Common/DataModel/vtkAnimationScene.cxx b/Common/DataModel/vtkAnimationScene.cxx index f670c733414..5cb0843bedd 100644 --- a/Common/DataModel/vtkAnimationScene.cxx +++ b/Common/DataModel/vtkAnimationScene.cxx @@ -172,7 +172,7 @@ void vtkAnimationScene::Play() (this->PlayMode == PLAYMODE_SEQUENCE)? (1.0 / this->FrameRate) : 1; do { - this->Initialize(); // Set the Scene in unintialized mode. + this->Initialize(); // Set the Scene in uninitialized mode. this->AnimationTimer->StartTimer(); double timer_start_time = currenttime; double deltatime = 0.0; diff --git a/Common/DataModel/vtkArrayListTemplate.h b/Common/DataModel/vtkArrayListTemplate.h index 7ca6f5d2ee1..3d2421b8041 100644 --- a/Common/DataModel/vtkArrayListTemplate.h +++ b/Common/DataModel/vtkArrayListTemplate.h @@ -29,7 +29,7 @@ * performs the initial magic of constructing input and output arrays. Then * the input attributes, and output attributes, are passed to initialize the * internal structures. Essentially these internal structures are pairs of - * arrays of the same type, which can be efficently accessed and + * arrays of the same type, which can be efficiently accessed and * assigned. The operations on these array pairs (e.g., interpolation) occur * using a typeless, virtual dispatch base class. * diff --git a/Common/DataModel/vtkCellIterator.h b/Common/DataModel/vtkCellIterator.h index 109f52647d9..02277f968a6 100644 --- a/Common/DataModel/vtkCellIterator.h +++ b/Common/DataModel/vtkCellIterator.h @@ -56,7 +56,7 @@ * ~~~ * * The example above pulls in bits of information as needed to filter out cells - * that aren't relevent. The least expensive lookups are performed first + * that aren't relevant. The least expensive lookups are performed first * (cell type, then point ids, then points/full cell) to prevent wasted cycles * fetching unnecessary data. Also note that at the end of the loop, the * iterator must be deleted as these iterators are vtkObject subclasses. diff --git a/Common/DataModel/vtkCompositeDataSet.h b/Common/DataModel/vtkCompositeDataSet.h index 1c6e7c3910a..45947044760 100644 --- a/Common/DataModel/vtkCompositeDataSet.h +++ b/Common/DataModel/vtkCompositeDataSet.h @@ -61,7 +61,7 @@ class VTKCOMMONDATAMODEL_EXPORT vtkCompositeDataSet : public vtkDataObject /** * Copies the tree structure from the input. All pointers to non-composite - * data objects are intialized to NULL. This also shallow copies the meta data + * data objects are initialized to NULL. This also shallow copies the meta data * associated with all the nodes. */ virtual void CopyStructure(vtkCompositeDataSet* input)=0; diff --git a/Common/DataModel/vtkDataObjectTree.h b/Common/DataModel/vtkDataObjectTree.h index f9bb3012c44..31af70486ad 100644 --- a/Common/DataModel/vtkDataObjectTree.h +++ b/Common/DataModel/vtkDataObjectTree.h @@ -65,7 +65,7 @@ class VTKCOMMONDATAMODEL_EXPORT vtkDataObjectTree : public vtkCompositeDataSet /** * Copies the tree structure from the input. All pointers to non-composite - * data objects are intialized to NULL. This also shallow copies the meta data + * data objects are initialized to NULL. This also shallow copies the meta data * associated with all the nodes. */ void CopyStructure(vtkCompositeDataSet* input) VTK_OVERRIDE; diff --git a/Common/DataModel/vtkDataSet.h b/Common/DataModel/vtkDataSet.h index 5c0af13835a..ce111430b65 100644 --- a/Common/DataModel/vtkDataSet.h +++ b/Common/DataModel/vtkDataSet.h @@ -502,7 +502,7 @@ class VTKCOMMONDATAMODEL_EXPORT vtkDataSet : public vtkDataObject //@{ /** - * These arrays pointers are caches used to avoid a string comparision (when + * These arrays pointers are caches used to avoid a string comparison (when * getting ghost arrays using GetArray(name)) */ vtkUnsignedCharArray* PointGhostArray; diff --git a/Common/DataModel/vtkDataSetAttributes.cxx b/Common/DataModel/vtkDataSetAttributes.cxx index bf12d0ce204..33da313824a 100644 --- a/Common/DataModel/vtkDataSetAttributes.cxx +++ b/Common/DataModel/vtkDataSetAttributes.cxx @@ -1812,7 +1812,7 @@ vtkDataSetAttributes::FieldList::~FieldList() } //---------------------------------------------------------------------------- -// To perform intersection of attribute data, use IntializeFieldList() to grab +// To perform intersection of attribute data, use InitializeFieldList() to grab // an initial vtkDataSetAttributes. Then use IntersectFieldList() to add (and // intersect) additional vtkDataSetAttributes. void vtkDataSetAttributes::FieldList::InitializeFieldList( diff --git a/Common/DataModel/vtkEdgeTable.cxx b/Common/DataModel/vtkEdgeTable.cxx index feab56b39b9..023bc73ea19 100644 --- a/Common/DataModel/vtkEdgeTable.cxx +++ b/Common/DataModel/vtkEdgeTable.cxx @@ -429,7 +429,7 @@ void vtkEdgeTable::InsertEdge(vtkIdType p1, vtkIdType p2, void* ptr) //---------------------------------------------------------------------------- -// Intialize traversal of edges in table. +// Initialize traversal of edges in table. void vtkEdgeTable::InitTraversal() { this->Position[0] = 0; diff --git a/Common/DataModel/vtkEdgeTable.h b/Common/DataModel/vtkEdgeTable.h index d6140a884f4..eedbc49ad6d 100644 --- a/Common/DataModel/vtkEdgeTable.h +++ b/Common/DataModel/vtkEdgeTable.h @@ -140,7 +140,7 @@ class VTKCOMMONDATAMODEL_EXPORT vtkEdgeTable : public vtkObject //@} /** - * Intialize traversal of edges in table. + * Initialize traversal of edges in table. */ void InitTraversal(); diff --git a/Common/DataModel/vtkExtractStructuredGridHelper.cxx b/Common/DataModel/vtkExtractStructuredGridHelper.cxx index 61aef3460e4..75fc7a4540c 100644 --- a/Common/DataModel/vtkExtractStructuredGridHelper.cxx +++ b/Common/DataModel/vtkExtractStructuredGridHelper.cxx @@ -31,7 +31,7 @@ #include #include -// Some usefull extent macros +// Some useful extent macros #define EMIN(ext, dim) (ext[2*dim]) #define EMAX(ext, dim) (ext[2*dim+1]) #define IMIN(ext) (ext[0]) diff --git a/Common/DataModel/vtkGenericAttributeCollection.cxx b/Common/DataModel/vtkGenericAttributeCollection.cxx index 0939cfb8c00..5d848153ef9 100644 --- a/Common/DataModel/vtkGenericAttributeCollection.cxx +++ b/Common/DataModel/vtkGenericAttributeCollection.cxx @@ -325,7 +325,7 @@ void vtkGenericAttributeCollection::DeepCopy(vtkGenericAttributeCollection *othe } this->AttributeInternalVector->Vector[i]->DeepCopy( other->AttributeInternalVector->Vector[i]); - // Dont need to copy the contents of AttributeIndices: it will be + // Don't need to copy the contents of AttributeIndices: it will be // recomputed because of the following Moditied call. } this->Modified(); diff --git a/Common/DataModel/vtkHierarchicalBoxDataSet.h b/Common/DataModel/vtkHierarchicalBoxDataSet.h index ccb006bfbfa..607956a771b 100644 --- a/Common/DataModel/vtkHierarchicalBoxDataSet.h +++ b/Common/DataModel/vtkHierarchicalBoxDataSet.h @@ -16,7 +16,7 @@ * @brief Backwards compatibility class * * - * An empty class for backwards compatiblity + * An empty class for backwards compatibility * * @sa * vtkUniformGridAM vtkOverlappingAMR vtkNonOverlappingAMR diff --git a/Common/DataModel/vtkKdNode.cxx b/Common/DataModel/vtkKdNode.cxx index ad4f7fb48d9..b7b66aa3ce6 100644 --- a/Common/DataModel/vtkKdNode.cxx +++ b/Common/DataModel/vtkKdNode.cxx @@ -412,7 +412,7 @@ double vtkKdNode::_GetDistance2ToBoundary( } } - // if there are no inner boundaries we dont want to square. + // if there are no inner boundaries we don't want to square. if(minDistance != VTK_FLOAT_MAX) { minDistance *= minDistance; diff --git a/Common/DataModel/vtkMappedUnstructuredGrid.h b/Common/DataModel/vtkMappedUnstructuredGrid.h index e52147faa30..7e9166a193c 100644 --- a/Common/DataModel/vtkMappedUnstructuredGrid.h +++ b/Common/DataModel/vtkMappedUnstructuredGrid.h @@ -69,7 +69,7 @@ * Note that since the implementation class is used as a compile-time template * parameter in vtkMappedUnstructuredGrid, the above methods do not need be * virtuals. The compiler will statically bind the calls, making dynamic vtable - * lookups unneccessary and giving a slight performance boost. + * lookups unnecessary and giving a slight performance boost. * * Adapting a filter or algorithm to safely traverse the * vtkMappedUnstructuredGrid's topology requires removing calls the following diff --git a/Common/DataModel/vtkOctreePointLocatorNode.cxx b/Common/DataModel/vtkOctreePointLocatorNode.cxx index ed00af1daa9..3b53f4d881a 100644 --- a/Common/DataModel/vtkOctreePointLocatorNode.cxx +++ b/Common/DataModel/vtkOctreePointLocatorNode.cxx @@ -415,7 +415,7 @@ double vtkOctreePointLocatorNode::_GetDistance2ToBoundary( } } - // if there are no inner boundaries we dont want to square. + // if there are no inner boundaries we don't want to square. if(minDistance != VTK_FLOAT_MAX) { minDistance *= minDistance; diff --git a/Common/DataModel/vtkOverlappingAMR.h b/Common/DataModel/vtkOverlappingAMR.h index 583691109db..c701c568846 100644 --- a/Common/DataModel/vtkOverlappingAMR.h +++ b/Common/DataModel/vtkOverlappingAMR.h @@ -168,7 +168,7 @@ class VTKCOMMONDATAMODEL_EXPORT vtkOverlappingAMR: public vtkUniformGridAMR bool FindGrid(double q[3], unsigned int& level, unsigned int& gridId); /** - * Get/Set the interal representation of amr meta meta data + * Get/Set the internal representation of amr meta meta data */ vtkAMRInformation* GetAMRInfo() VTK_OVERRIDE { return Superclass::GetAMRInfo();} diff --git a/Common/DataModel/vtkPixelExtent.cxx b/Common/DataModel/vtkPixelExtent.cxx index 4e128f4afd7..7a8644e6452 100644 --- a/Common/DataModel/vtkPixelExtent.cxx +++ b/Common/DataModel/vtkPixelExtent.cxx @@ -263,7 +263,7 @@ void vtkPixelExtent::Merge(deque &exts) vtkPixelExtent &ext0 = tmpExts[t]; if (ext0.Empty()) { - // was merged in preceeding pass + // was merged in preceding pass continue; } @@ -279,7 +279,7 @@ void vtkPixelExtent::Merge(deque &exts) vtkPixelExtent &ext1 = tmpExts[c]; if (ext1.Empty()) { - // was merged in preceeding pass + // was merged in preceding pass continue; } diff --git a/Common/DataModel/vtkPixelTransfer.h b/Common/DataModel/vtkPixelTransfer.h index d2fb3be544d..aeb8ee601c6 100644 --- a/Common/DataModel/vtkPixelTransfer.h +++ b/Common/DataModel/vtkPixelTransfer.h @@ -18,7 +18,7 @@ * * * Class to handle non-contiguous data transfers of data described - * by pixel extents within a process. For transfering data between + * by pixel extents within a process. For transferring data between * processes see vtkPPixelTransfer. * * @sa diff --git a/Common/DataModel/vtkPolyLine.cxx b/Common/DataModel/vtkPolyLine.cxx index a17b8f5ae7a..da92ca406af 100644 --- a/Common/DataModel/vtkPolyLine.cxx +++ b/Common/DataModel/vtkPolyLine.cxx @@ -186,14 +186,14 @@ int vtkPolyLine::GenerateSlidingNormals(vtkPoints *pts, vtkCellArray *lines, //compute rotation vector vtkVector3d w = sPrev.Cross(normal); - if (w.Normalize() == 0.0) // cant use this segment + if (w.Normalize() == 0.0) // can't use this segment { continue; } //compute rotation of line segment vtkVector3d q = sNext.Cross(sPrev); - if (q.Normalize() == 0.0) // cant use this segment + if (q.Normalize() == 0.0) // can't use this segment { continue; } diff --git a/Common/DataModel/vtkPolygon.h b/Common/DataModel/vtkPolygon.h index 8e7e0d6f6dd..1bf6f89237f 100644 --- a/Common/DataModel/vtkPolygon.h +++ b/Common/DataModel/vtkPolygon.h @@ -146,7 +146,7 @@ class VTKCOMMONDATAMODEL_EXPORT vtkPolygon : public vtkCell * Compute the area of a polygon in 3D. The area is returned, as well as * the normal (a side effect of using this method). If you desire to * compute the area of a triangle, use vtkTriangleArea which is faster. - * If pts==NULL, point indexing is suposed to be {0, 1, ..., numPts-1}. + * If pts==NULL, point indexing is supposed to be {0, 1, ..., numPts-1}. * If you already have a vtkPolygon instantiated, a convenience function, * ComputeArea() is provided. */ diff --git a/Common/DataModel/vtkQuadraticLinearWedge.h b/Common/DataModel/vtkQuadraticLinearWedge.h index 2c7a6f9791a..50cb3f9a737 100644 --- a/Common/DataModel/vtkQuadraticLinearWedge.h +++ b/Common/DataModel/vtkQuadraticLinearWedge.h @@ -25,7 +25,7 @@ * where point ids 0-5 are the six corner vertices of the wedge; followed by * six midedge nodes (6-12). Note that these midedge nodes correspond lie * on the edges defined by (0,1), (1,2), (2,0), (3,4), (4,5), (5,3). - * The Edges (0,3), (1,4), (2,5) dont have midedge nodes. + * The Edges (0,3), (1,4), (2,5) don't have midedge nodes. * * @sa * vtkQuadraticEdge vtkQuadraticTriangle vtkQuadraticTetra diff --git a/Common/DataModel/vtkQuadratureSchemeDefinition.cxx b/Common/DataModel/vtkQuadratureSchemeDefinition.cxx index 18a5914da0a..5a563821796 100644 --- a/Common/DataModel/vtkQuadratureSchemeDefinition.cxx +++ b/Common/DataModel/vtkQuadratureSchemeDefinition.cxx @@ -314,7 +314,7 @@ istream &operator>>(istream &sin, vtkQuadratureSchemeDefinition &def) vtkGenericWarningMacro("Empty definition found in stream."); } - // intialize the object + // initialize the object def.Initialize(cellType,nNodes,nQuadPts,SfWt,QWt); // clean up diff --git a/Common/DataModel/vtkReebGraph.cxx b/Common/DataModel/vtkReebGraph.cxx index 47814ceb38a..363c44e8512 100644 --- a/Common/DataModel/vtkReebGraph.cxx +++ b/Common/DataModel/vtkReebGraph.cxx @@ -157,7 +157,7 @@ class vtkReebGraph::Implementation this->MainNodeTable.FreeZone=1; // Clear node this->GetNode(1)->ArcUpId = ((int)-2); - // Intialize DownArc + // Initialize DownArc this->GetNode(1)->ArcDownId = 0; this->MainArcTable.FreeZone=1; // Clear Arc label 1 diff --git a/Common/DataModel/vtkSimpleCellTessellator.cxx b/Common/DataModel/vtkSimpleCellTessellator.cxx index 82811510fc8..4083633e495 100644 --- a/Common/DataModel/vtkSimpleCellTessellator.cxx +++ b/Common/DataModel/vtkSimpleCellTessellator.cxx @@ -1567,7 +1567,7 @@ void vtkSimpleCellTessellator::InsertEdgesIntoEdgeTable(vtkTriangleTile &tri ) pcoords[2] = tri.GetVertex(l)[2] + alpha*(tri.GetVertex(r)[2] - tri.GetVertex(l)[2]); tri.SetVertex(j+3, pcoords); - // note we dont need to call SetEdgeParent() because + // note we don't need to call SetEdgeParent() because // if the edge is already in the hashtable it means that // it is already tessellated. All other point using this // edge will come from either inside the triangle either from diff --git a/Common/ExecutionModel/vtkCompositeDataPipeline.cxx b/Common/ExecutionModel/vtkCompositeDataPipeline.cxx index 9cf21f95015..15bf250918c 100644 --- a/Common/ExecutionModel/vtkCompositeDataPipeline.cxx +++ b/Common/ExecutionModel/vtkCompositeDataPipeline.cxx @@ -1055,7 +1055,7 @@ void vtkCompositeDataPipeline::MarkOutputsGenerated( size_t count = outInfo->Length(UPDATE_COMPOSITE_INDICES()); int* indices = new int[count]; // assume the source produced the blocks it was asked for: - // the indices recieved are what was requested + // the indices received are what was requested outInfo->Get(UPDATE_COMPOSITE_INDICES(),indices); outInfo->Set(DATA_COMPOSITE_INDICES(), indices, static_cast(count)); diff --git a/Common/ExecutionModel/vtkInformationIntegerRequestKey.h b/Common/ExecutionModel/vtkInformationIntegerRequestKey.h index ff47ca60494..c060f06b9e0 100644 --- a/Common/ExecutionModel/vtkInformationIntegerRequestKey.h +++ b/Common/ExecutionModel/vtkInformationIntegerRequestKey.h @@ -20,7 +20,7 @@ * UPDATE_NUMBER_OF_PIECES where downstream can request that upstream provides * data partitioned into a certain number of pieces. There are several components * that make this work. First, the key will copy itself upstream during - * REQUEST_UPDATE_EXTENT. Second, after a successfull execution, it will stor + * REQUEST_UPDATE_EXTENT. Second, after a successful execution, it will stor * its value into a data object's information using a specific key defined by * its data member DataKey. Third, before execution, it will check if the requested * value matched the value in the data object's information. If not, it will ask diff --git a/Common/ExecutionModel/vtkThreadedImageAlgorithm.cxx b/Common/ExecutionModel/vtkThreadedImageAlgorithm.cxx index d41eee493b7..c83426c0b2d 100644 --- a/Common/ExecutionModel/vtkThreadedImageAlgorithm.cxx +++ b/Common/ExecutionModel/vtkThreadedImageAlgorithm.cxx @@ -50,7 +50,7 @@ vtkThreadedImageAlgorithm::vtkThreadedImageAlgorithm() this->SplitPath[2] = 0; this->SplitPathLength = 3; - // Minumum block size + // Minimum block size this->MinimumPieceSize[0] = 16; this->MinimumPieceSize[1] = 1; this->MinimumPieceSize[2] = 1; @@ -435,7 +435,7 @@ static VTK_THREAD_RETURN_TYPE vtkThreadedImageAlgorithmThreadedExecute( void *ar } // else // { - // otherwise don't use this thread. Sometimes the threads dont + // otherwise don't use this thread. Sometimes the threads don't // break up very well and it is just as efficient to leave a // few threads idle. // } diff --git a/Common/Math/vtkQuaternionInterpolator.h b/Common/Math/vtkQuaternionInterpolator.h index ed630e5e91f..8a0a02a8c81 100644 --- a/Common/Math/vtkQuaternionInterpolator.h +++ b/Common/Math/vtkQuaternionInterpolator.h @@ -133,7 +133,7 @@ class VTKCOMMONMATH_EXPORT vtkQuaternionInterpolator : public vtkObject /** * Specify which type of function to use for interpolation. By default * (SetInterpolationFunctionToSpline()), cubic spline interpolation using a - * modifed Kochanek basis is employed. Otherwise, if + * modified Kochanek basis is employed. Otherwise, if * SetInterpolationFunctionToLinear() is invoked, linear spherical interpolation * is used between each pair of quaternions. */ diff --git a/Common/Misc/vtkFunctionParser.cxx b/Common/Misc/vtkFunctionParser.cxx index f2305824f58..1fd3c3a29cd 100644 --- a/Common/Misc/vtkFunctionParser.cxx +++ b/Common/Misc/vtkFunctionParser.cxx @@ -1928,7 +1928,7 @@ unsigned char vtkFunctionParser::GetOperandNumber(int currentIndex) bool scalarVar = false; size_t currentLen = 0; //Bug 7396. If a scalar variable name is a subset of a vector var name it will - //casue the scripting to crash. So instead of ending once we find a var name that matches in scalars + //cause the scripting to crash. So instead of ending once we find a var name that matches in scalars //we will also check vectors for (int i = 0, max = this->GetNumberOfScalarVariables(); i < max; i++) { // Variable diff --git a/Common/System/vtkSocket.h b/Common/System/vtkSocket.h index 9fd1ef1ecc5..333f720b3cc 100644 --- a/Common/System/vtkSocket.h +++ b/Common/System/vtkSocket.h @@ -69,7 +69,7 @@ class VTKCOMMONSYSTEM_EXPORT vtkSocket : public vtkObject /** * Selects set of sockets. Returns 0 on timeout, -1 on error. - * 1 on success. Selected socket's index is returned thru + * 1 on success. Selected socket's index is returned through * selected_index */ static int SelectSockets(const int* sockets_to_select, int size, diff --git a/Documentation/Doxygen/ArrayDispatch-VTK-7-1.md b/Documentation/Doxygen/ArrayDispatch-VTK-7-1.md index f5ac764e54a..97db1479023 100644 --- a/Documentation/Doxygen/ArrayDispatch-VTK-7-1.md +++ b/Documentation/Doxygen/ArrayDispatch-VTK-7-1.md @@ -270,7 +270,7 @@ this template explosion in check. Starting with VTK 7.1, the Array-Of-Structs (AOS) memory layout is no longer the only `vtkDataArray` implementation provided by the library. The -Struct-Of-Arrays (SOA) memory layout is now available throught the +Struct-Of-Arrays (SOA) memory layout is now available through the `vtkSOADataArrayTemplate` class. The SOA layout assumes that the components of an array are stored separately, as in: diff --git a/Domains/Chemistry/vtkXYZMolReader2.h b/Domains/Chemistry/vtkXYZMolReader2.h index ee7396dcf44..c65381a79f7 100644 --- a/Domains/Chemistry/vtkXYZMolReader2.h +++ b/Domains/Chemistry/vtkXYZMolReader2.h @@ -68,7 +68,7 @@ class VTKDOMAINSCHEMISTRY_EXPORT vtkXYZMolReader2 : public vtkMoleculeAlgorithm vtkInformationVector *) VTK_OVERRIDE; char *FileName; - std::vector file_positions; // to store begining of each tstep + std::vector file_positions; // to store beginning of each tstep std::vector TimeSteps; int NumberOfTimeSteps; diff --git a/Examples/Android/ReadMe.txt b/Examples/Android/ReadMe.txt index 6e017b5d790..537b82d0b7e 100644 --- a/Examples/Android/ReadMe.txt +++ b/Examples/Android/ReadMe.txt @@ -19,7 +19,7 @@ to handle them yourself and maniputlate the camera directly. In this example the code is a bit more distributed. The C++ code is in jni/main.cxx while the Java/C++ interface API is defined in JavaVTKLib.java -The bulk of the actual applicaiton logic is in JavaVTKView.java +The bulk of the actual application logic is in JavaVTKView.java The third example is VolumeRender and this example requires OpenGL ES 3.0 support. Most newer android devices should support OpenGL ES 3.0. diff --git a/Examples/GUI/Cocoa/MyWindowController.mm b/Examples/GUI/Cocoa/MyWindowController.mm index 09d90d5111d..77a0bc1b6d2 100644 --- a/Examples/GUI/Cocoa/MyWindowController.mm +++ b/Examples/GUI/Cocoa/MyWindowController.mm @@ -22,7 +22,7 @@ - (void)setupLeftVTKView { [[self leftVTKView] initializeVTKSupport]; - // 'smart pointers' are used because they are very similiar to reference counting in Cocoa. + // 'smart pointers' are used because they are very similar to reference counting in Cocoa. // Personal Taste Section. I like to use a trackball interactor vtkSmartPointer intStyle = vtkSmartPointer::New(); @@ -52,14 +52,14 @@ - (void)setupRightVTKView { [[self rightVTKView] initializeVTKSupport]; - // 'smart pointers' are used because they are very similiar to reference counting in Cocoa. + // 'smart pointers' are used because they are very similar to reference counting in Cocoa. // Personal Taste Section. I like to use a trackball interactor vtkSmartPointer intStyle = vtkSmartPointer::New(); intStyle->SetCurrentStyleToTrackballCamera(); [[self rightVTKView] getInteractor]->SetInteractorStyle(intStyle); - // Create a cyclinder, see the "VTK User's Guide" for details + // Create a cylinder, see the "VTK User's Guide" for details vtkSmartPointer cylinder = vtkSmartPointer::New(); cylinder->SetResolution(100); diff --git a/Examples/GUI/Python/BoxWidget.py b/Examples/GUI/Python/BoxWidget.py index a0a766187f0..d9d5433a6f0 100755 --- a/Examples/GUI/Python/BoxWidget.py +++ b/Examples/GUI/Python/BoxWidget.py @@ -65,7 +65,7 @@ ren.SetBackground(0.1, 0.2, 0.4) renWin.SetSize(300, 300) -# This callback funciton does the actual work: updates the vtkPlanes +# This callback function does the actual work: updates the vtkPlanes # implicit function. This in turn causes the pipeline to update. def SelectPolygons(object, event): # object will be the boxWidget diff --git a/Examples/GUI/Win32/vtkBorland/Package/vtkBorlandRenderWindow.cpp b/Examples/GUI/Win32/vtkBorland/Package/vtkBorlandRenderWindow.cpp index ca8d0a71b2d..2b4cc15f947 100644 --- a/Examples/GUI/Win32/vtkBorland/Package/vtkBorlandRenderWindow.cpp +++ b/Examples/GUI/Win32/vtkBorland/Package/vtkBorlandRenderWindow.cpp @@ -212,7 +212,7 @@ void __fastcall TvtkBorlandRenderWindow::Paint(void) } catch (...) { - // Some error trap should occurr here + // Some error trap should occur here ShowMessage("An exception occurred whilst rendering"); } } diff --git a/Examples/ParallelProcessing/Generic/Cxx/pipe2.cxx b/Examples/ParallelProcessing/Generic/Cxx/pipe2.cxx index a566baac35a..794290f30ce 100644 --- a/Examples/ParallelProcessing/Generic/Cxx/pipe2.cxx +++ b/Examples/ParallelProcessing/Generic/Cxx/pipe2.cxx @@ -63,7 +63,7 @@ void pipe2(vtkMultiProcessController* vtkNotUsed(controller), // Prime the pipeline. Tell the producer to start computing. ip->Update(); - // Get the first data, adjust camera appropriatly + // Get the first data, adjust camera appropriately cf->GetOutput()->Update(); pd->ShallowCopy(cf->GetOutput()); ren->ResetCamera(); diff --git a/Examples/VolumeRendering/Python/PseudoVolumeRendering.py b/Examples/VolumeRendering/Python/PseudoVolumeRendering.py index b7104dd93a6..5cdba7bd48f 100755 --- a/Examples/VolumeRendering/Python/PseudoVolumeRendering.py +++ b/Examples/VolumeRendering/Python/PseudoVolumeRendering.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -# Perform psuedo volume rendering in a structured grid by compositing +# Perform pseudo volume rendering in a structured grid by compositing # translucent cut planes. This same trick can be used for unstructured # grids. Note that for better results, more planes can be created. Also, # if your data is vtkImageData, there are much faster methods for volume diff --git a/Examples/VolumeRendering/Tcl/PseudoVolumeRendering.tcl b/Examples/VolumeRendering/Tcl/PseudoVolumeRendering.tcl index 32fcdb11613..e4a50ae3204 100644 --- a/Examples/VolumeRendering/Tcl/PseudoVolumeRendering.tcl +++ b/Examples/VolumeRendering/Tcl/PseudoVolumeRendering.tcl @@ -2,7 +2,7 @@ package require vtk package require vtkinteraction package require vtktesting -# Perform psuedo volume rendering in a structured grid by compositing +# Perform pseudo volume rendering in a structured grid by compositing # translucent cut planes. This same trick can be used for unstructured # grids. Note that for better results, more planes can be created. Also, # if your data is vtkImageData, there are much faster methods for volume diff --git a/Filters/AMR/vtkAMRResampleFilter.cxx b/Filters/AMR/vtkAMRResampleFilter.cxx index 578abb0d913..02499c12352 100644 --- a/Filters/AMR/vtkAMRResampleFilter.cxx +++ b/Filters/AMR/vtkAMRResampleFilter.cxx @@ -645,7 +645,7 @@ void vtkAMRResampleFilter::SearchGridDecendants(double q[3], { if (amrds->GetAMRInfo()->FindCell( q, clevel,children[i], cellId )) { - // We found a decendant so stop searching the + // We found a descendant so stop searching the // children and can instead search that grid's // children gridId = children[i]; @@ -710,7 +710,7 @@ ProbeGridPointInAMRGraph(double q[3], } } - // Now search the decendants of the donor grid + // Now search the descendants of the donor grid this->SearchGridDecendants(q,amrds,maxLevel,donorLevel,donorGridId,donorCellIdx); return( donorCellIdx ); } diff --git a/Filters/AMR/vtkAMRResampleFilter.h b/Filters/AMR/vtkAMRResampleFilter.h index 15a4be58d55..7c57c043458 100644 --- a/Filters/AMR/vtkAMRResampleFilter.h +++ b/Filters/AMR/vtkAMRResampleFilter.h @@ -380,7 +380,7 @@ class VTKFILTERSAMR_EXPORT vtkAMRResampleFilter : public vtkMultiBlockDataSetAlg */ /** - * Find a decendant of the specified grid that contains the point. + * Find a descendant of the specified grid that contains the point. * If none is found then the original grid information is returned. * The search is limited to levels < maxLevel */ diff --git a/Filters/Core/Testing/Cxx/TestResampleWithDataSet.cxx b/Filters/Core/Testing/Cxx/TestResampleWithDataSet.cxx index e1c710cff99..cdfc92aadfe 100644 --- a/Filters/Core/Testing/Cxx/TestResampleWithDataSet.cxx +++ b/Filters/Core/Testing/Cxx/TestResampleWithDataSet.cxx @@ -168,7 +168,7 @@ int TestResampleWithDataSet(int argc, char *argv[]) return !vtkTesting::FAILED; } - // dont pass field arrays + // don't pass field arrays resample->PassFieldArraysOff(); resample->Update(); result = static_cast(resample->GetOutput()); diff --git a/Filters/Core/vtkDecimatePro.cxx b/Filters/Core/vtkDecimatePro.cxx index 0f42202818d..41a68e2d57c 100644 --- a/Filters/Core/vtkDecimatePro.cxx +++ b/Filters/Core/vtkDecimatePro.cxx @@ -1562,7 +1562,7 @@ int vtkDecimatePro::Pop(double &error) } } - // If here, then this->Mesh splitting hasn't helped or is exhausted. Run thru + // If here, then this->Mesh splitting hasn't helped or is exhausted. Run through // vertices and split them as necessary no matter what. if ( this->NumberOfRemainingTris > 0 && this->Split && this->SplitState != VTK_STATE_SPLIT_ALL ) { diff --git a/Filters/Core/vtkMarchingCubes.h b/Filters/Core/vtkMarchingCubes.h index 9fbd0f1e7e2..835855b72c3 100644 --- a/Filters/Core/vtkMarchingCubes.h +++ b/Filters/Core/vtkMarchingCubes.h @@ -97,7 +97,7 @@ class VTKFILTERSCORE_EXPORT vtkMarchingCubes : public vtkPolyDataAlgorithm //@{ /** - * Overide the default locator. Useful for changing the number of + * override the default locator. Useful for changing the number of * bins for performance or specifying a more aggressive locator. */ void SetLocator(vtkIncrementalPointLocator *locator); diff --git a/Filters/Core/vtkQuadricClustering.cxx b/Filters/Core/vtkQuadricClustering.cxx index 8396b3f81a1..3e8930ced07 100644 --- a/Filters/Core/vtkQuadricClustering.cxx +++ b/Filters/Core/vtkQuadricClustering.cxx @@ -461,7 +461,7 @@ inline void vtkQuadricClustering::InitializeQuadric(double quadric[9]) //---------------------------------------------------------------------------- // The error function is the volume (squared) of the tetrahedron formed by the -// triangle and the point. We ignore constant factors across all coefficents, +// triangle and the point. We ignore constant factors across all coefficients, // and the constant coefficient. // If geomertyFlag is 1 then the triangle is added to the output. Otherwise, // only the quadric is affected. diff --git a/Filters/Core/vtkStreamingTessellatorGenerator.py b/Filters/Core/vtkStreamingTessellatorGenerator.py index af5465d8a8d..b299647acbe 100755 --- a/Filters/Core/vtkStreamingTessellatorGenerator.py +++ b/Filters/Core/vtkStreamingTessellatorGenerator.py @@ -187,7 +187,7 @@ def GetBitcodeFromConditional( conditional, indices ): # This edge pair is unimportant (inequality contains # more constraints than are required to characterize # this case). Print warning and skip: - print '*** WARNING *** Edge comparison %s %s %s unneccessary!' % ( v[i-1], v[i], v[i+1] ) + print '*** WARNING *** Edge comparison %s %s %s unnecessary!' % ( v[i-1], v[i], v[i+1] ) continue if v[i] == ',': continue diff --git a/Filters/Core/vtkTransposeTable.cxx b/Filters/Core/vtkTransposeTable.cxx index dba669f20be..eb77c001bd8 100644 --- a/Filters/Core/vtkTransposeTable.cxx +++ b/Filters/Core/vtkTransposeTable.cxx @@ -248,7 +248,7 @@ bool vtkTransposeTableInternal::TransposeTable(vtkTable* inTable, else { // Set the column name to the (padded) row id. - // We padd ids with 0 to avoid downstream dictionnary sort issues. + // We padd ids with 0 to avoid downstream dictionary sort issues. std::stringstream ss2; ss2 << std::setw(maxBLen) << std::setfill('0'); ss2 << r; diff --git a/Filters/Core/vtkTransposeTable.h b/Filters/Core/vtkTransposeTable.h index 9274c34817c..458930ddc46 100644 --- a/Filters/Core/vtkTransposeTable.h +++ b/Filters/Core/vtkTransposeTable.h @@ -24,7 +24,7 @@ * columns (when AddIdColumn is true). Such a column can be used * to name the columns of the result. * Note that columns of the output table will have a variant type - * is the columns of the initial table are not consistant. + * is the columns of the initial table are not consistent. */ #ifndef vtkTransposeTable_h diff --git a/Filters/Extraction/vtkExtractArraysOverTime.cxx b/Filters/Extraction/vtkExtractArraysOverTime.cxx index 626e64807b3..73fa399a80d 100644 --- a/Filters/Extraction/vtkExtractArraysOverTime.cxx +++ b/Filters/Extraction/vtkExtractArraysOverTime.cxx @@ -142,7 +142,7 @@ class vtkExtractArraysOverTime::vtkInternal } // Description: - // Intializes the data structure. + // Initializes the data structure. void Initialize( int numTimeSteps, int contentType, int fieldType, int statsOnly) { diff --git a/Filters/FlowPaths/vtkAbstractInterpolatedVelocityField.cxx b/Filters/FlowPaths/vtkAbstractInterpolatedVelocityField.cxx index 815107d6470..1bf9d192031 100644 --- a/Filters/FlowPaths/vtkAbstractInterpolatedVelocityField.cxx +++ b/Filters/FlowPaths/vtkAbstractInterpolatedVelocityField.cxx @@ -100,7 +100,7 @@ int vtkAbstractInterpolatedVelocityField::FunctionValues } if(!this->VectorsSelection) //if a selection is not speicifed, { - //use the first one in the point set (this is a behavior for backward compatability) + //use the first one in the point set (this is a behavior for backward compatibility) vectors = dataset->GetPointData()->GetVectors(0); } else diff --git a/Filters/FlowPaths/vtkLagrangianBasicIntegrationModel.h b/Filters/FlowPaths/vtkLagrangianBasicIntegrationModel.h index 6a9b2279ca5..71726887c73 100644 --- a/Filters/FlowPaths/vtkLagrangianBasicIntegrationModel.h +++ b/Filters/FlowPaths/vtkLagrangianBasicIntegrationModel.h @@ -346,7 +346,7 @@ class VTKFILTERSFLOWPATHS_EXPORT vtkLagrangianBasicIntegrationModel : /** * Enable model post process on output - * Return true if sucessfull, false otherwise + * Return true if sucessful, false otherwise * Empty and Always return true with basic model */ virtual bool FinalizeOutputs(vtkPolyData* vtkNotUsed(particlePathsOutput), @@ -460,7 +460,7 @@ class VTKFILTERSFLOWPATHS_EXPORT vtkLagrangianBasicIntegrationModel : * values for each leaf of each dataset of surface * nComponents could be retrived with arrayName but is * given for simplication purposes. - * it is your responsability to initialize all components of + * it is your responsibility to initialize all components of * defaultValues[nComponent] */ virtual void ComputeSurfaceDefaultValues(const char* arrayName, vtkDataSet* dataset, diff --git a/Filters/FlowPaths/vtkLagrangianParticleTracker.cxx b/Filters/FlowPaths/vtkLagrangianParticleTracker.cxx index e1422b62440..fdc506f9e18 100644 --- a/Filters/FlowPaths/vtkLagrangianParticleTracker.cxx +++ b/Filters/FlowPaths/vtkLagrangianParticleTracker.cxx @@ -448,7 +448,7 @@ bool vtkLagrangianParticleTracker::InitializePathsOutput(vtkInformationVector *o particlePathsCellData->CopyStructure(seedData); this->InitializePathData(particlePathsCellData); - // Intialize Particle Paths Point Data + // Initialize Particle Paths Point Data vtkPointData* particlePathsPointData = particlePathsOutput->GetPointData(); this->InitializeParticleData(particlePathsPointData, numberOfSeeds); @@ -1009,11 +1009,11 @@ int vtkLagrangianParticleTracker::Integrate(vtkLagrangianParticle* particle, interactionParticle = NULL; } - // Insert pass trough interaction points - // note : when going out of domain right after going some pass trough - // surfaces, the pass trough interaction point will not be + // Insert pass through interaction points + // Note: when going out of domain right after going some pass through + // surfaces, the pass through interaction point will not be // on a particle track, since we do not want to show out of domain particle - // track. The pass trough interaction still have occured and it is not a bug. + // track. The pass through interaction still has occurred and it is not a bug. while (!passThroughParticles.empty()) { vtkLagrangianBasicIntegrationModel::PassThroughParticlesItem item = @@ -1025,11 +1025,11 @@ int vtkLagrangianParticleTracker::Integrate(vtkLagrangianParticle* particle, delete item.second; } - // Particle have been correctly integrated and interracted, record it + // Particle has been correctly integrated and interacted, record it // Insert Current particle as an output point this->InsertPathOutputPoint(particle, particlePathsOutput, particlePathPointId); - // Particle have been terminated by surface + // Particle has been terminated by surface if (particle->GetTermination() != vtkLagrangianParticle::PARTICLE_TERMINATION_NOT_TERMINATED) { diff --git a/Filters/FlowPaths/vtkModifiedBSPTree.h b/Filters/FlowPaths/vtkModifiedBSPTree.h index abe948a6725..aa7d54d6274 100644 --- a/Filters/FlowPaths/vtkModifiedBSPTree.h +++ b/Filters/FlowPaths/vtkModifiedBSPTree.h @@ -251,7 +251,7 @@ class VTKFILTERSFLOWPATHS_EXPORT vtkModifiedBSPTree : public vtkAbstractCellLoca vtkIdType nCells, int depth, int maxlevel, vtkIdType maxCells, int &MaxDepth); // We provide a function which does the cell/ray test so that - // it can be overriden by subclasses to perform special treatment + // it can be overridden by subclasses to perform special treatment // (Example : Particles stored in tree, have no dimension, so we must // override the cell test to return a value based on some particle size virtual int IntersectCellInternal(vtkIdType cell_ID, const double p1[3], const double p2[3], diff --git a/Filters/General/Testing/Cxx/TestQuadraturePoints.cxx b/Filters/General/Testing/Cxx/TestQuadraturePoints.cxx index 9b79921d7b3..6e75cea40c3 100644 --- a/Filters/General/Testing/Cxx/TestQuadraturePoints.cxx +++ b/Filters/General/Testing/Cxx/TestQuadraturePoints.cxx @@ -105,7 +105,7 @@ int TestQuadraturePoints(int argc,char *argv[]) std::string threshName=input->GetPointData()->GetArray(threshIdx)->GetName(); // Add a quadrature scheme dictionary to the data set. This filter is - // solely for our convinience. Typically we would expect that users + // solely for our convenience. Typically we would expect that users // provide there own in XML format and use the readers or to generate // them on the fly. vtkSmartPointer dictGen @@ -119,7 +119,7 @@ int TestQuadraturePoints(int argc,char *argv[]) fieldInterp->SetInputArrayToProcess(0, 0, 0, vtkDataObject::FIELD_ASSOCIATION_CELLS, "QuadratureOffset"); fieldInterp->SetInputConnection(dictGen->GetOutputPort()); - // Write the dataset as XML. This excercises the information writer. + // Write the dataset as XML. This exercises the information writer. vtkSmartPointer xusgw = vtkSmartPointer::New(); xusgw->SetFileName(tempFile.c_str()); @@ -128,7 +128,7 @@ int TestQuadraturePoints(int argc,char *argv[]) xusgw=NULL; fieldInterp=NULL; - // Read the data back in form disk. This excercises the information reader. + // Read the data back in form disk. This exercises the information reader. xusgr=NULL; xusgr.TakeReference(vtkXMLUnstructuredGridReader::New()); xusgr->SetFileName(tempFile.c_str()); diff --git a/Filters/General/Testing/Cxx/UnitTestMultiThreshold.cxx b/Filters/General/Testing/Cxx/UnitTestMultiThreshold.cxx index 4b7dcbe4ae3..e9a98c52f5a 100644 --- a/Filters/General/Testing/Cxx/UnitTestMultiThreshold.cxx +++ b/Filters/General/Testing/Cxx/UnitTestMultiThreshold.cxx @@ -420,7 +420,7 @@ int TestErrorsAndWarnings() vtkMultiThreshold::CLOSED, vtkMultiThreshold::CLOSED, vtkDataObject::FIELD_ASSOCIATION_POINTS, 0, -1, 1 )); - // WARNING: You passed an invalid atribute type (100) + // WARNING: You passed an invalid attribute type (100) intervalSets.push_back(threshold->AddIntervalSet( 1, 10, vtkMultiThreshold::CLOSED, vtkMultiThreshold::CLOSED, @@ -432,7 +432,7 @@ int TestErrorsAndWarnings() } else { - std::cout << "Failed to catch expected 'You passed an invalid atribute type (100)' warning" << std::endl; + std::cout << "Failed to catch expected 'You passed an invalid attribute type (100)' warning" << std::endl; ++status; } filterObserver->Clear(); diff --git a/Filters/General/vtkCellTreeLocator.h b/Filters/General/vtkCellTreeLocator.h index 0da171157c9..93cce98b290 100644 --- a/Filters/General/vtkCellTreeLocator.h +++ b/Filters/General/vtkCellTreeLocator.h @@ -226,7 +226,7 @@ class VTKFILTERSGENERAL_EXPORT vtkCellTreeLocator : public vtkAbstractCellLocato // From vtkModifiedBSPTRee // We provide a function which does the cell/ray test so that - // it can be overriden by subclasses to perform special treatment + // it can be overridden by subclasses to perform special treatment // (Example : Particles stored in tree, have no dimension, so we must // override the cell test to return a value based on some particle size virtual int IntersectCellInternal( vtkIdType cell_ID, const double p1[3], diff --git a/Filters/General/vtkContourTriangulator.cxx b/Filters/General/vtkContourTriangulator.cxx index 081127f78f0..dcb6d78bea6 100644 --- a/Filters/General/vtkContourTriangulator.cxx +++ b/Filters/General/vtkContourTriangulator.cxx @@ -2298,7 +2298,7 @@ int vtkCCSCutHoleyPolys( if (madeCut) { - // Move successfuly cut innerPolyId into its own group + // Move successfully cut innerPolyId into its own group polyGroup.erase(polyGroup.begin() + inner); polyGroups[innerPolyId].push_back(innerPolyId); } diff --git a/Filters/General/vtkIntersectionPolyDataFilter.cxx b/Filters/General/vtkIntersectionPolyDataFilter.cxx index a655e04f9e5..0f2ae90d591 100644 --- a/Filters/General/vtkIntersectionPolyDataFilter.cxx +++ b/Filters/General/vtkIntersectionPolyDataFilter.cxx @@ -1836,7 +1836,7 @@ void vtkIntersectionPolyDataFilter::Impl ::Orient(vtkPolyData *pd, vtkTransform *transform, vtkPolyData *boundary, vtkPolygon *boundarypoly) { - //Orient this loop in a counter clockwise direction in preperation for + //Orient this loop in a counter clockwise direction in preparation for //cell splitting. For delaunay2d, the polygon should be in CCW order, but //also for ear clipping method, it is nice to have also in CCW order. vtkSmartPointer transformer = diff --git a/Filters/General/vtkLinkEdgels.cxx b/Filters/General/vtkLinkEdgels.cxx index ca22cfa4fee..d7b2fa95ef5 100644 --- a/Filters/General/vtkLinkEdgels.cxx +++ b/Filters/General/vtkLinkEdgels.cxx @@ -180,7 +180,7 @@ void vtkLinkEdgels::LinkEdgels(int xdim, int ydim, double *image, if ((directions[i][0]*vec1[0]+directions[i][1]*vec1[1]) >= linkThresh) { - // make sure we dont go off the edge and are >= GradientThresh + // make sure we don't go off the edge and are >= GradientThresh // and it hasn't already been set if ((x + xoffset[i] >= 0)&&(x + xoffset[i] < xdim)&& (y + yoffset[i] >= 0)&&(y + yoffset[i] < ydim)&& @@ -228,7 +228,7 @@ void vtkLinkEdgels::LinkEdgels(int xdim, int ydim, double *image, if ((directions[i][0]*vec1[0]+directions[i][1]*vec1[1]) >= linkThresh) { - // make sure we dont go off the edge and are >= GradientThresh + // make sure we don't go off the edge and are >= GradientThresh // and it hasn't already been set if ((x + xoffset[i] >= 0)&&(x + xoffset[i] < xdim)&& (y + yoffset[i] >= 0)&&(y + yoffset[i] < ydim)&& diff --git a/Filters/General/vtkQuadraturePointsGenerator.cxx b/Filters/General/vtkQuadraturePointsGenerator.cxx index 30595fb96b8..c1c2b34a6f9 100644 --- a/Filters/General/vtkQuadraturePointsGenerator.cxx +++ b/Filters/General/vtkQuadraturePointsGenerator.cxx @@ -221,7 +221,7 @@ int vtkQuadraturePointsGenerator::Generate( return 1; } - // get the dictionnary + // get the dictionary vtkInformation *info = offsets->GetInformation(); vtkInformationQuadratureSchemeDefinitionVectorKey *key = vtkQuadratureSchemeDefinition::DICTIONARY(); diff --git a/Filters/General/vtkQuadratureSchemeDictionaryGenerator.cxx b/Filters/General/vtkQuadratureSchemeDictionaryGenerator.cxx index 862f59123c9..fead32c260b 100644 --- a/Filters/General/vtkQuadratureSchemeDictionaryGenerator.cxx +++ b/Filters/General/vtkQuadratureSchemeDictionaryGenerator.cxx @@ -217,7 +217,7 @@ int vtkQuadratureSchemeDictionaryGenerator::Generate( // add a definition to the dictionary for each cell type. int nCellTypes = cellTypes->GetNumberOfTypes(); - // create the offset array and store the dictionnary within + // create the offset array and store the dictionary within vtkIdTypeArray* offsets = vtkIdTypeArray::New(); string basename = "QuadratureOffset"; string finalname = basename; diff --git a/Filters/Geometry/vtkDataSetRegionSurfaceFilter.cxx b/Filters/Geometry/vtkDataSetRegionSurfaceFilter.cxx index 6030d819903..1da13147a91 100644 --- a/Filters/Geometry/vtkDataSetRegionSurfaceFilter.cxx +++ b/Filters/Geometry/vtkDataSetRegionSurfaceFilter.cxx @@ -533,7 +533,7 @@ int vtkDataSetRegionSurfaceFilter::UnstructuredGridExecute(vtkDataSet *dataSetIn cellPointer = input->GetCells()->GetPointer(); for(cellId=0; cellId < numCells && !abort && flag2D; cellId++) { - // Direct acces to cells. + // Direct access to cells. cellType = input->GetCellType(cellId); numCellPts = cellPointer[0]; ids = cellPointer+1; diff --git a/Filters/Geometry/vtkStructuredAMRGridConnectivity.cxx b/Filters/Geometry/vtkStructuredAMRGridConnectivity.cxx index 8f53aa74086..0db214fcaa2 100644 --- a/Filters/Geometry/vtkStructuredAMRGridConnectivity.cxx +++ b/Filters/Geometry/vtkStructuredAMRGridConnectivity.cxx @@ -1338,7 +1338,7 @@ void vtkStructuredAMRGridConnectivity::MarkNodeProperty( if( this->IsNodeOnSharedBoundary(i,j,k, gridId, gridExt) ) { - // NOTE: for AMR grids, all the grids own all of ther points so we don't + // NOTE: for AMR grids, all the grids own all of their points so we don't // ignore any of the points. // We might use SHARED in the future //vtkGhostArray::SetProperty(p,vtkGhostArray::SHARED); diff --git a/Filters/Geometry/vtkStructuredAMRGridConnectivity.h b/Filters/Geometry/vtkStructuredAMRGridConnectivity.h index af3e110c3b2..f175b801d98 100644 --- a/Filters/Geometry/vtkStructuredAMRGridConnectivity.h +++ b/Filters/Geometry/vtkStructuredAMRGridConnectivity.h @@ -559,7 +559,7 @@ class VTKFILTERSGEOMETRY_EXPORT vtkStructuredAMRGridConnectivity : std::vector< int > GridExtents; // size of this vector is 6*N std::vector< int > GhostedExtents; // size of this vector is 6*N std::vector< unsigned char > BlockTopology; // size of this vector is N - std::vector< int > GridLevels; // size of ths vector is N + std::vector< int > GridLevels; // size of this vector is N std::vector< std::vector > Neighbors; // For each grid, [0,N], store the donor level,grid and cell information, a diff --git a/Filters/Hybrid/vtkDepthSortPolyData.cxx b/Filters/Hybrid/vtkDepthSortPolyData.cxx index b7ebcabd072..6d42bd4cea4 100644 --- a/Filters/Hybrid/vtkDepthSortPolyData.cxx +++ b/Filters/Hybrid/vtkDepthSortPolyData.cxx @@ -603,7 +603,7 @@ void vtkDepthSortPolyData::PrintSelf(ostream& os, vtkIndent indent) } else { - os << "Paramteric Center" << endl; + os << "Parameteric Center" << endl; } os << indent << "Sort Scalars: " << (this->SortScalars ? "On\n" : "Off\n"); diff --git a/Filters/Hybrid/vtkPCAAnalysisFilter.cxx b/Filters/Hybrid/vtkPCAAnalysisFilter.cxx index 62d82599305..0683f2faa77 100644 --- a/Filters/Hybrid/vtkPCAAnalysisFilter.cxx +++ b/Filters/Hybrid/vtkPCAAnalysisFilter.cxx @@ -103,7 +103,7 @@ static inline void NormaliseColumns(double **m, int rows, int cols) } cl = sqrt(cl); - // If cl == 0 something is rotten, dont do anything now + // If cl == 0 something is rotten, don't do anything now if (cl != 0) { for (int r = 0; r < rows; r++) { m[r][c] /= cl; diff --git a/Filters/HyperTree/vtkClipHyperOctree.cxx b/Filters/HyperTree/vtkClipHyperOctree.cxx index 3f14330217f..d4674312675 100644 --- a/Filters/HyperTree/vtkClipHyperOctree.cxx +++ b/Filters/HyperTree/vtkClipHyperOctree.cxx @@ -772,7 +772,7 @@ void vtkClipHyperOctree::ClipNode(vtkHyperOctreeCursor *cursor, if(!this->GenerateClippedOutput && allOut) { -// cout<<"this child is all out and we dont need to generate the other output"<GetAMRInfo()->GetBounds(level, dataIdx, bounds); - // Check if the bounds recieved are not default bounding box + // Check if the bounds received are not default bounding box if (vtkBoundingBox::IsValid(bounds)) { if (this->IsCornerSource) @@ -315,7 +315,7 @@ int vtkPOutlineFilterInternals::RequestData(vtkUniformGridAMR* input, double bounds[6]; ug->GetBounds(bounds); - // Check if the bounds recieved are not default bounding box + // Check if the bounds received are not default bounding box if (vtkBoundingBox::IsValid(bounds)) { if (this->IsCornerSource) diff --git a/Filters/ParallelDIY2/vtkPResampleToImage.cxx b/Filters/ParallelDIY2/vtkPResampleToImage.cxx index 0dac10afcbe..a35deb04a26 100644 --- a/Filters/ParallelDIY2/vtkPResampleToImage.cxx +++ b/Filters/ParallelDIY2/vtkPResampleToImage.cxx @@ -435,7 +435,7 @@ void Redistribute(void* blockp, const diy::ReduceProxy& srp, int length = (maxIdx - minIdx + 1 + groupSize - 1) / groupSize; PointList myPoints; - myPoints.DataSize = b->Points.DataSize; // initilize myPoints + myPoints.DataSize = b->Points.DataSize; // initialize myPoints std::size_t numPoints = b->Points.Indices.size(); for (size_t i = 0; i < numPoints; ++i) { diff --git a/Filters/ParallelDIY2/vtkPResampleWithDataSet.cxx b/Filters/ParallelDIY2/vtkPResampleWithDataSet.cxx index f0b5a543f84..33071e4ac3c 100644 --- a/Filters/ParallelDIY2/vtkPResampleWithDataSet.cxx +++ b/Filters/ParallelDIY2/vtkPResampleWithDataSet.cxx @@ -1144,7 +1144,7 @@ int vtkPResampleWithDataSet::RequestData(vtkInformation *request, { block.PointsLookup = new RegularPartition; } - // We dont want ImageData points in the lookup structure + // We don't want ImageData points in the lookup structure { std::vector dsblocks = block.InputBlocks; for (size_t i = 0; i < dsblocks.size(); ++i) diff --git a/Filters/ParallelFlowPaths/vtkPLagrangianParticleTracker.cxx b/Filters/ParallelFlowPaths/vtkPLagrangianParticleTracker.cxx index 2c46c6a4cbf..63affbb7238 100644 --- a/Filters/ParallelFlowPaths/vtkPLagrangianParticleTracker.cxx +++ b/Filters/ParallelFlowPaths/vtkPLagrangianParticleTracker.cxx @@ -558,7 +558,7 @@ void vtkPLagrangianParticleTracker::GenerateParticles( // This rank does not have the maximum number of arrays if (nArrays != 0) { - // this rank have an incorrect number of arrays, not suposed to happen + // this rank have an incorrect number of arrays, not supposed to happen vtkErrorMacro("Something went wrong with seed data arrays, discarding arrays"); for (int i = 0; i < nArrays; i++) { diff --git a/Filters/ParallelFlowPaths/vtkPStreamTracer.cxx b/Filters/ParallelFlowPaths/vtkPStreamTracer.cxx index 872784f5f27..481dbc32eb9 100644 --- a/Filters/ParallelFlowPaths/vtkPStreamTracer.cxx +++ b/Filters/ParallelFlowPaths/vtkPStreamTracer.cxx @@ -1028,7 +1028,7 @@ namespace return stream; } - //Descripton: + //Description: //Manages the communication of traces between processes class TaskManager { diff --git a/Filters/ParallelGeometry/Testing/Cxx/UnstructuredGhostZonesCommon.cxx b/Filters/ParallelGeometry/Testing/Cxx/UnstructuredGhostZonesCommon.cxx index 2aec97e1702..253772c4154 100644 --- a/Filters/ParallelGeometry/Testing/Cxx/UnstructuredGhostZonesCommon.cxx +++ b/Filters/ParallelGeometry/Testing/Cxx/UnstructuredGhostZonesCommon.cxx @@ -257,7 +257,7 @@ void GetPoint( } //------------------------------------------------------------------------------ -// Some usefull extent macros +// Some useful extent macros #define IMIN(ext) ext[0] #define IMAX(ext) ext[1] #define JMIN(ext) ext[2] diff --git a/Filters/ParallelGeometry/vtkPStructuredGridConnectivity.cxx b/Filters/ParallelGeometry/vtkPStructuredGridConnectivity.cxx index 7945fdd033d..b7a79facb37 100644 --- a/Filters/ParallelGeometry/vtkPStructuredGridConnectivity.cxx +++ b/Filters/ParallelGeometry/vtkPStructuredGridConnectivity.cxx @@ -116,7 +116,7 @@ void vtkPStructuredGridConnectivity::RegisterRemoteGrid( //------------------------------------------------------------------------------ void vtkPStructuredGridConnectivity::ComputeNeighbors() { - assert( "pre: Instance has not been intialized!" && this->Initialized ); + assert( "pre: Instance has not been initialized!" && this->Initialized ); assert( "pre: Null multi-process controller" && (this->Controller != NULL) ); this->ExchangeGridExtents(); @@ -129,7 +129,7 @@ void vtkPStructuredGridConnectivity::ComputeNeighbors() //------------------------------------------------------------------------------ void vtkPStructuredGridConnectivity::CreateGhostLayers( const int N ) { - assert( "pre: Instance has not been intialized!" && this->Initialized ); + assert( "pre: Instance has not been initialized!" && this->Initialized ); if( N==0 ) { vtkWarningMacro( @@ -576,7 +576,7 @@ void vtkPStructuredGridConnectivity::PostReceives() (neiGridIdx < static_cast(this->NumberOfGrids) ) ); if( this->IsGridLocal( neiGridIdx ) ) { - // The neighboring grid is local, thus, the ghost data are transfered + // The neighboring grid is local, thus, the ghost data are transferred // directly using vtkStructuredGrid::TransferLocalNeighborData(). // Consequently, there is no need for any communication. continue; @@ -636,7 +636,7 @@ void vtkPStructuredGridConnectivity::PostSends() (neiGridIdx < static_cast(this->NumberOfGrids) ) ); if( this->IsGridLocal( neiGridIdx ) ) { - // The neighboring grid is local, thus, the ghost data are transfered + // The neighboring grid is local, thus, the ghost data are transferred // directly using vtkStructuredGrid::TransferLocalNeighborData(). // Consequently, there is no need for any communication. continue; @@ -706,7 +706,7 @@ void vtkPStructuredGridConnectivity::ExchangeGhostDataPost() //------------------------------------------------------------------------------ void vtkPStructuredGridConnectivity::ExchangeGhostData() { - assert( "pre: Instance has not been intialized!" && this->Initialized ); + assert( "pre: Instance has not been initialized!" && this->Initialized ); // STEP 0: this->InitializeMessageCounters(); @@ -1377,7 +1377,7 @@ void vtkPStructuredGridConnectivity::DeserializeGhostData( //------------------------------------------------------------------------------ void vtkPStructuredGridConnectivity::ExchangeGridExtents() { - assert( "pre: Instance has not been intialized!" && this->Initialized ); + assert( "pre: Instance has not been initialized!" && this->Initialized ); assert( "pre: Controller is NULL!" && (this->Controller != NULL) ); // STEP 0: Serialize the data buffer @@ -1435,7 +1435,7 @@ void vtkPStructuredGridConnectivity::ExchangeGridExtents() void vtkPStructuredGridConnectivity::SerializeGridExtents( int *&sndbuffer, vtkIdType &N ) { - assert( "pre: Instance has not been intialized!" && this->Initialized ); + assert( "pre: Instance has not been initialized!" && this->Initialized ); assert( "pre: send buffer is expected ot be NULL" && sndbuffer == NULL ); //Each local extent is serialized with 7 ints:ID imin imax jmin jmax kmin kmax @@ -1461,7 +1461,7 @@ void vtkPStructuredGridConnectivity::DeserializeGridExtentForProcess( int *rcvbuffer, vtkIdType &N, const int processId ) { // Sanity checks - assert( "pre: Instance has not been intialized!" && this->Initialized ); + assert( "pre: Instance has not been initialized!" && this->Initialized ); assert( "pre: Process controller should not be NULL!" && (this->Controller != NULL) ); assert( "pre: rcvbuffer should not be NULL" && (rcvbuffer != NULL) ); diff --git a/Filters/ParallelGeometry/vtkPStructuredGridConnectivity.h b/Filters/ParallelGeometry/vtkPStructuredGridConnectivity.h index d428946b04c..afe0b3b725e 100644 --- a/Filters/ParallelGeometry/vtkPStructuredGridConnectivity.h +++ b/Filters/ParallelGeometry/vtkPStructuredGridConnectivity.h @@ -548,7 +548,7 @@ inline bool vtkPStructuredGridConnectivity::IsGridRemote(const int gridID ) //------------------------------------------------------------------------------ inline bool vtkPStructuredGridConnectivity::IsGridLocal(const int gridID) { - assert( "pre: Instance has not been intialized!" && this->Initialized ); + assert( "pre: Instance has not been initialized!" && this->Initialized ); assert( "pre: gridID is out-of-bounds" && (gridID >= 0) && (gridID < static_cast(this->NumberOfGrids) ) ); assert( "pre: GridRanks is not properly allocated" && @@ -559,7 +559,7 @@ inline bool vtkPStructuredGridConnectivity::IsGridLocal(const int gridID) //------------------------------------------------------------------------------ inline int vtkPStructuredGridConnectivity::GetGridRank( const int gridID ) { - assert( "pre: Instance has not been intialized!" && this->Initialized ); + assert( "pre: Instance has not been initialized!" && this->Initialized ); assert( "pre: gridID out-of-bounds!" && (gridID >= 0 && gridID < static_cast(this->NumberOfGrids))); return( this->GridRanks[ gridID ] ); diff --git a/Filters/ParallelGeometry/vtkPUnstructuredGridConnectivity.cxx b/Filters/ParallelGeometry/vtkPUnstructuredGridConnectivity.cxx index ef7baa5ada8..2b07d79744e 100644 --- a/Filters/ParallelGeometry/vtkPUnstructuredGridConnectivity.cxx +++ b/Filters/ParallelGeometry/vtkPUnstructuredGridConnectivity.cxx @@ -1070,7 +1070,7 @@ void vtkPUnstructuredGridConnectivity::SerializeGhostZones() } // END for all links // serialize the cellIds s.t. the remote rank knows which cell to update - // once the data is transfered + // once the data is transferred bytestream.Push(cellIds->GetPointer(0),cellIds->GetNumberOfIds()); // serialize the data on the selected cells diff --git a/Filters/ParallelMPI/vtkStructuredImplicitConnectivity.cxx b/Filters/ParallelMPI/vtkStructuredImplicitConnectivity.cxx index 994c181b5b7..931d4d1fd48 100644 --- a/Filters/ParallelMPI/vtkStructuredImplicitConnectivity.cxx +++ b/Filters/ParallelMPI/vtkStructuredImplicitConnectivity.cxx @@ -40,7 +40,7 @@ // INTERNAL DATASTRUCTURES & DEFINITIONS //============================================================================== -// Some usefull extent macros +// Some useful extent macros #define IMIN(ext) ext[0] #define IMAX(ext) ext[1] #define JMIN(ext) ext[2] diff --git a/Filters/Points/vtkEuclideanClusterExtraction.h b/Filters/Points/vtkEuclideanClusterExtraction.h index 4471e10cc29..3485c9bc640 100644 --- a/Filters/Points/vtkEuclideanClusterExtraction.h +++ b/Filters/Points/vtkEuclideanClusterExtraction.h @@ -89,7 +89,7 @@ class VTKFILTERSPOINTS_EXPORT vtkEuclideanClusterExtraction : public vtkPolyData //@{ /** * Turn on/off connectivity based on scalar value. If on, points are - * connected only if the are proximal AND the scalar value of a candiate + * connected only if the are proximal AND the scalar value of a candidate * point falls in the scalar range specified. Of course input point scalar * data must be provided. */ diff --git a/Filters/Points/vtkGeneralizedKernel.h b/Filters/Points/vtkGeneralizedKernel.h index a2165182641..c0ba6678f55 100644 --- a/Filters/Points/vtkGeneralizedKernel.h +++ b/Filters/Points/vtkGeneralizedKernel.h @@ -24,7 +24,7 @@ *
  * 1. The weights are normalized.
  * 2. The footprint of the basis is configurable.
- * 3. Probablistic weighting functions can be used to favor certain weights.
+ * 3. Probabilistic weighting functions can be used to favor certain weights.
  * 
* The following paragraphs describe each of these properties in more detail. * diff --git a/Filters/Points/vtkHierarchicalBinningFilter.h b/Filters/Points/vtkHierarchicalBinningFilter.h index dcd794e6235..918c8cf1f30 100644 --- a/Filters/Points/vtkHierarchicalBinningFilter.h +++ b/Filters/Points/vtkHierarchicalBinningFilter.h @@ -38,7 +38,7 @@ * space is uniformally subdivided into bins of (M x N x O) dimensions; in * turn each subsequent level in the tree is further divided into (M x N x O) * bins (note that level 0 is a single, root bin). Thus the number of bins at - * level L of the hierachical tree is: Nbins=(M^L x N^L x O^L). Once the + * level L of the hierarchical tree is: Nbins=(M^L x N^L x O^L). Once the * binning is created to a specified depth, then points are placed in the * bins using a pseudo-random sampling proportional to the number of bins in each * level. All input points are sorted in the order described above, with no @@ -92,7 +92,7 @@ class VTKFILTERSPOINTS_EXPORT vtkHierarchicalBinningFilter : public vtkPolyDataA //@{ /** - * Specify the number of levels in the spatial hierachy. By default, the + * Specify the number of levels in the spatial hierarchy. By default, the * number of levels is three. */ vtkSetClampMacro(NumberOfLevels,int,1,VTK_MAX_LEVEL); diff --git a/Filters/Points/vtkInterpolationKernel.h b/Filters/Points/vtkInterpolationKernel.h index 4336e2cdbe7..a96dbb5e841 100644 --- a/Filters/Points/vtkInterpolationKernel.h +++ b/Filters/Points/vtkInterpolationKernel.h @@ -20,13 +20,13 @@ * vtkInterpolationKernel specifies an abstract interface for interpolation * kernels. An interpolation kernel is used to produce an interpolated data * value at a point X from the points + data in a local neighborhood - * surounding X. For example, given the N nearest points surrounding X, the + * surrounding X. For example, given the N nearest points surrounding X, the * interpolation kernel provides N weights, which when combined with the N * data values associated with these nearest points, produces an interpolated * data value at point X. * * Note that various kernel initialization methods are provided. The basic - * method requires providing a point locator to accelerate neigborhood + * method requires providing a point locator to accelerate neighborhood * queries. Some kernels may refer back to the original dataset, or the point * attribute data associated with the dataset. The initialization method * enables different styles of initialization and is kernel-dependent. diff --git a/Filters/Points/vtkMaskPointsFilter.cxx b/Filters/Points/vtkMaskPointsFilter.cxx index ad19edafe41..4b588f22cc7 100644 --- a/Filters/Points/vtkMaskPointsFilter.cxx +++ b/Filters/Points/vtkMaskPointsFilter.cxx @@ -165,7 +165,7 @@ vtkDataObject *vtkMaskPointsFilter::GetMask() // the mask. int vtkMaskPointsFilter::FilterPoints(vtkPointSet *input) { - // Grab the image data and metadata. The type and existance of image data + // Grab the image data and metadata. The type and existence of image data // should have been checked in RequestData(). double origin[3], spacing[3]; int dims[3]; diff --git a/Filters/Points/vtkPointDensityFilter.h b/Filters/Points/vtkPointDensityFilter.h index 335bb2dbeb1..35acb8e4b84 100644 --- a/Filters/Points/vtkPointDensityFilter.h +++ b/Filters/Points/vtkPointDensityFilter.h @@ -29,7 +29,7 @@ * To use this filter, specify an input of type vtkPointSet (i.e., has an * explicit representation of points). Optionally a scalar weighting function * can be provided (part of the input to the filter). Then specify how the - * local spherical neigborhood is to be defined, either by a fixed radius or + * local spherical neighborhood is to be defined, either by a fixed radius or * a radius relative to the voxel size. Finally, specify how the density is * specified, either as a points/volume, or as number of points. (The * weighting scalar array will affect both of these results if provided and diff --git a/Filters/Points/vtkSPHKernel.h b/Filters/Points/vtkSPHKernel.h index 0e658aa34f6..62d2cbc57f3 100644 --- a/Filters/Points/vtkSPHKernel.h +++ b/Filters/Points/vtkSPHKernel.h @@ -78,7 +78,7 @@ class VTKFILTERSPOINTS_EXPORT vtkSPHKernel : public vtkInterpolationKernel //@{ /** - * The user defined intial particle spatial step. This is also referred to as + * The user defined initial particle spatial step. This is also referred to as * the smoothing length. */ vtkSetClampMacro(SpatialStep,double,0.0,VTK_FLOAT_MAX); diff --git a/Filters/Points/vtkVoxelGrid.h b/Filters/Points/vtkVoxelGrid.h index 413e19a7cf8..aa97ebc0699 100644 --- a/Filters/Points/vtkVoxelGrid.h +++ b/Filters/Points/vtkVoxelGrid.h @@ -20,7 +20,7 @@ * vtkVoxelGrid is a filter that subsamples a point cloud based on a regular * binning of space. Basically the algorithm operates by dividing space into * a volume of M x N x O bins, and then for each bin averaging all of the - * points positions into a single representive point. Several strategies for + * points positions into a single representative point. Several strategies for * computing the binning can be used: 1) manual configuration of a requiring * specifying bin dimensions (the bounds are calculated from the data); 2) by * explicit specification of the bin size in world coordinates (x-y-z diff --git a/Filters/Sources/vtkFrustumSource.h b/Filters/Sources/vtkFrustumSource.h index b0797479652..858d260eea4 100644 --- a/Filters/Sources/vtkFrustumSource.h +++ b/Filters/Sources/vtkFrustumSource.h @@ -94,7 +94,7 @@ class VTKFILTERSSOURCES_EXPORT vtkFrustumSource : public vtkPolyDataAlgorithm protected: /** - * Default construtor. Planes=NULL. ShowLines=true. LinesLength=1.0. + * Default constructor. Planes=NULL. ShowLines=true. LinesLength=1.0. */ vtkFrustumSource(); diff --git a/Filters/Verdict/Testing/Cxx/MeshQuality.cxx b/Filters/Verdict/Testing/Cxx/MeshQuality.cxx index 7058ef7efe8..d66915e3437 100644 --- a/Filters/Verdict/Testing/Cxx/MeshQuality.cxx +++ b/Filters/Verdict/Testing/Cxx/MeshQuality.cxx @@ -537,7 +537,7 @@ int MeshQuality( int argc, char* argv[] ) cout << endl; } - // Exersize remaining methods for coverage + // Exercise remaining methods for coverage iq->Print(cout); // Check for warnings diff --git a/Geovis/Core/vtkGeoAdaptiveArcs.cxx b/Geovis/Core/vtkGeoAdaptiveArcs.cxx index cd9bfe25ae8..1967dd63e02 100644 --- a/Geovis/Core/vtkGeoAdaptiveArcs.cxx +++ b/Geovis/Core/vtkGeoAdaptiveArcs.cxx @@ -314,7 +314,7 @@ void vtkGeoAdaptiveArcs::PrintSelf(ostream& os, vtkIndent indent) { this->Superclass::PrintSelf(os,indent); os << indent << "GlobeRadius: " << this->GlobeRadius << endl; - os << indent << "MinumumPixelSeparation: " << this->MinimumPixelSeparation << endl; + os << indent << "MinimumPixelSeparation: " << this->MinimumPixelSeparation << endl; os << indent << "MaximumPixelSeparation: " << this->MaximumPixelSeparation << endl; os << indent << "Renderer: " << (this->Renderer ? "" : "(null)") << endl; if (this->Renderer) diff --git a/IO/ADIOS/vtkADIOSWriter.cxx b/IO/ADIOS/vtkADIOSWriter.cxx index 3e1a9f1b38c..27273bc02e5 100644 --- a/IO/ADIOS/vtkADIOSWriter.cxx +++ b/IO/ADIOS/vtkADIOSWriter.cxx @@ -526,7 +526,7 @@ void vtkADIOSWriter::Write(const std::string& path, const vtkDataArray* v) if(lut) { // Only check the mtime here if a LUT is present. Otherwise it will be - // handled apropriately by the abstract array writer + // handled appropriately by the abstract array writer if(!this->UpdateMTimeTable(path, v)) { return; diff --git a/IO/AMR/vtkAMRBaseParticlesReader.h b/IO/AMR/vtkAMRBaseParticlesReader.h index a15974f51c7..0133803703c 100644 --- a/IO/AMR/vtkAMRBaseParticlesReader.h +++ b/IO/AMR/vtkAMRBaseParticlesReader.h @@ -191,7 +191,7 @@ class VTKIOAMR_EXPORT vtkAMRBaseParticlesReader : /** * Initializes the ParticleDataArraySelection object. This method - * only executes for an intial request in which case all arrays are + * only executes for an initial request in which case all arrays are * deselected. */ void InitializeParticleDataSelections(); diff --git a/IO/AMR/vtkAMRBaseReader.h b/IO/AMR/vtkAMRBaseReader.h index 3984b6dfb56..9fd1cafda8b 100644 --- a/IO/AMR/vtkAMRBaseReader.h +++ b/IO/AMR/vtkAMRBaseReader.h @@ -277,7 +277,7 @@ class VTKIOAMR_EXPORT vtkAMRBaseReader : /** * Initializes the array selections. If this is an initial request, * i.e., the first load from the file, all the arrays are deselected, - * and the IntialRequest ivar is set to false. + * and the InitialRequest ivar is set to false. */ void InitializeArraySelections(); diff --git a/IO/Core/vtkTextCodec.h b/IO/Core/vtkTextCodec.h index 5e8c51f75f1..d5f421f713c 100644 --- a/IO/Core/vtkTextCodec.h +++ b/IO/Core/vtkTextCodec.h @@ -93,7 +93,7 @@ class VTKIOCORE_EXPORT vtkTextCodec : public vtkObject vtkTextCodec::OutputIterator& output) = 0; /** - * convinience method to take data from the stream and put it into a + * convenience method to take data from the stream and put it into a * vtkUnicodeString. */ vtkUnicodeString ToUnicode(istream & inputStream); diff --git a/IO/EnSight/vtkEnSightGoldBinaryReader.cxx b/IO/EnSight/vtkEnSightGoldBinaryReader.cxx index 41cdf18ad4b..c3084016abb 100644 --- a/IO/EnSight/vtkEnSightGoldBinaryReader.cxx +++ b/IO/EnSight/vtkEnSightGoldBinaryReader.cxx @@ -4252,7 +4252,7 @@ void vtkEnSightGoldBinaryReader::PrintSelf(ostream& os, vtkIndent indent) } // Seeks the IFile to the cached timestep nearest the target timestep. -// Returns the actually seeked to timestep +// Returns the actually sought to timestep //---------------------------------------------------------------------------- int vtkEnSightGoldBinaryReader::SeekToCachedTimeStep(const char* fileName, int realTimeStep) diff --git a/IO/Exodus/vtkExodusIIWriter.cxx b/IO/Exodus/vtkExodusIIWriter.cxx index 49093b004c6..b62a07aa9b8 100644 --- a/IO/Exodus/vtkExodusIIWriter.cxx +++ b/IO/Exodus/vtkExodusIIWriter.cxx @@ -543,7 +543,7 @@ int vtkExodusIIWriter::FlattenHierarchy (vtkDataObject* input, const char *name, this->NewFlattenedInput.push_back (output); if (!name) { - // Setting an arbitary name for datasets that have not been assigned one. + // Setting an arbitrary name for datasets that have not been assigned one. name = "block"; } this->NewFlattenedNames.push_back (name); diff --git a/IO/Export/vtkIVExporter.cxx b/IO/Export/vtkIVExporter.cxx index 261530b6fa5..1cbefdd0372 100644 --- a/IO/Export/vtkIVExporter.cxx +++ b/IO/Export/vtkIVExporter.cxx @@ -152,7 +152,7 @@ void vtkIVExporter::WriteData() VTK_INDENT_LESS; // make sure we have a default light - // if we dont then use a headlight + // if we don't then use a headlight lc = ren->GetLights(); vtkCollectionSimpleIterator lsit; for (lc->InitTraversal(lsit); (aLight = lc->GetNextLight(lsit)); ) diff --git a/IO/Export/vtkOOGLExporter.cxx b/IO/Export/vtkOOGLExporter.cxx index 79ef625ebe9..f7a5ff9c6f3 100644 --- a/IO/Export/vtkOOGLExporter.cxx +++ b/IO/Export/vtkOOGLExporter.cxx @@ -193,7 +193,7 @@ void vtkOOGLExporter::WriteData() indent, indent, indent, indent); // make sure we have a default light - // if we dont then use a headlight + // if we don't then use a headlight lc = ren->GetLights(); vtkCollectionSimpleIterator sit; for (lc->InitTraversal(sit); (aLight = lc->GetNextLight(sit)); ) diff --git a/IO/Export/vtkVRMLExporter.cxx b/IO/Export/vtkVRMLExporter.cxx index 660c280f4fb..153e7606843 100644 --- a/IO/Export/vtkVRMLExporter.cxx +++ b/IO/Export/vtkVRMLExporter.cxx @@ -156,7 +156,7 @@ void vtkVRMLExporter::WriteData() ren->GetAmbient()[1], ren->GetAmbient()[2]); // make sure we have a default light - // if we dont then use a headlight + // if we don't then use a headlight lc = ren->GetLights(); vtkCollectionSimpleIterator lsit; for (lc->InitTraversal(lsit); (aLight = lc->GetNextLight(lsit)); ) diff --git a/IO/Export/vtkX3DExporter.cxx b/IO/Export/vtkX3DExporter.cxx index cbaa804db8a..4da0d009e97 100644 --- a/IO/Export/vtkX3DExporter.cxx +++ b/IO/Export/vtkX3DExporter.cxx @@ -239,7 +239,7 @@ void vtkX3DExporter::WriteData() writer->SetField(translation, SFVEC3F, n); // make sure we have a default light - // if we dont then use a headlight + // if we don't then use a headlight lc = ren->GetLights(); vtkCollectionSimpleIterator lsit; for (lc->InitTraversal(lsit); (aLight = lc->GetNextLight(lsit)); ) @@ -868,7 +868,7 @@ void vtkX3DExporter::WriteATexture(vtkActor *anActor, int vtkX3DExporter::HasHeadLight(vtkRenderer* ren) { // make sure we have a default light - // if we dont then use a headlight + // if we don't then use a headlight vtkLightCollection* lc = ren->GetLights(); vtkCollectionSimpleIterator lsit; vtkLight* aLight=0; diff --git a/IO/Geometry/vtkCGMWriter.cxx b/IO/Geometry/vtkCGMWriter.cxx index 8d393f35079..acb9d2c17d7 100644 --- a/IO/Geometry/vtkCGMWriter.cxx +++ b/IO/Geometry/vtkCGMWriter.cxx @@ -1179,7 +1179,7 @@ static int cgmCgmPic(cgmImagePtr im, int sticky) { /* Start the picture. if the sticky bit is set, set and use the defaults * of the previous picture. Otherwise, reset all defaults. - * Gej: sticky = 0 reset defaults, 1 dont reset anything, 2 only + * Gej: sticky = 0 reset defaults, 1 don't reset anything, 2 only * reset the color table */ unsigned char *headerp; diff --git a/IO/Geometry/vtkOBJReader.cxx b/IO/Geometry/vtkOBJReader.cxx index fd80280b88b..9260278eb0b 100644 --- a/IO/Geometry/vtkOBJReader.cxx +++ b/IO/Geometry/vtkOBJReader.cxx @@ -126,7 +126,7 @@ int vtkOBJReader::RequestData( vtkDebugMacro(<<"Reading file"); - // intialise some structures to store the file contents in + // initialize some structures to store the file contents in vtkPoints *points = vtkPoints::New(); std::vector tcoords_vector; vtkFloatArray *normals = vtkFloatArray::New(); diff --git a/IO/Geometry/vtkOpenFOAMReader.cxx b/IO/Geometry/vtkOpenFOAMReader.cxx index fbf52c94ad4..1fed77afab7 100644 --- a/IO/Geometry/vtkOpenFOAMReader.cxx +++ b/IO/Geometry/vtkOpenFOAMReader.cxx @@ -5304,7 +5304,7 @@ void vtkOpenFOAMReaderPrivate::AppendMeshDirToArray( // and faces files for each time steps mesh void vtkOpenFOAMReaderPrivate::PopulatePolyMeshDirArrays() { - // intialize size to number of timesteps + // initialize size to number of timesteps vtkIdType nSteps = this->TimeValues->GetNumberOfTuples(); this->PolyMeshPointsDir->SetNumberOfValues(nSteps); this->PolyMeshFacesDir->SetNumberOfValues(nSteps); diff --git a/IO/Image/vtkNIFTIImageHeader.h b/IO/Image/vtkNIFTIImageHeader.h index a61105bc5cc..974555a3558 100644 --- a/IO/Image/vtkNIFTIImageHeader.h +++ b/IO/Image/vtkNIFTIImageHeader.h @@ -323,7 +323,7 @@ class VTKIOIMAGE_EXPORT vtkNIFTIImageHeader : public vtkObject const char *GetDescrip() { return this->Descrip; } /** - * Get an auxilliary file, e.g. a color table, that is associated + * Get an auxiliary file, e.g. a color table, that is associated * with this data. The length of the filename must be a maximum of * 24 characters, and it will be assumed to be in the same directory * as the NIFTI file. diff --git a/IO/Image/vtkNIFTIImageWriter.h b/IO/Image/vtkNIFTIImageWriter.h index 6d8549b5ffa..447517ca276 100644 --- a/IO/Image/vtkNIFTIImageWriter.h +++ b/IO/Image/vtkNIFTIImageWriter.h @@ -140,7 +140,7 @@ class VTKIOIMAGE_EXPORT vtkNIFTIImageWriter : public vtkImageWriter * Set a matrix for the "sform" transformation stored in the file. * Unlike the qform matrix, the sform matrix can contain scaling * information. Before being stored in the NIFTI header, the - * first three columns of the matrix will be multipled by the voxel + * first three columns of the matrix will be multiplied by the voxel * spacing. In the NIFTI header, the sform_code will be set to 2. */ void SetSFormMatrix(vtkMatrix4x4 *); diff --git a/IO/Import/vtkOBJImporter.cxx b/IO/Import/vtkOBJImporter.cxx index 46fd59c8b12..f73758f0619 100644 --- a/IO/Import/vtkOBJImporter.cxx +++ b/IO/Import/vtkOBJImporter.cxx @@ -271,7 +271,7 @@ std::string vtkOBJPolyDataProcessor::GetTextureFilename( int idx ) } -// intialise some structures to store the file contents in +// initialize some structures to store the file contents in /*---------------------------------------------------------------------------*\ diff --git a/IO/Import/vtkVRMLImporter_Yacc.h b/IO/Import/vtkVRMLImporter_Yacc.h index 3a68d97a2ec..97fdd17f3b5 100644 --- a/IO/Import/vtkVRMLImporter_Yacc.h +++ b/IO/Import/vtkVRMLImporter_Yacc.h @@ -987,7 +987,7 @@ int vtkVRMLYaccData::yyparse(vtkVRMLImporter* self) short yyssa[YYINITDEPTH]; /* the state stack */ YYSTYPE yyvsa[YYINITDEPTH]; /* the semantic value stack */ - short *yyss = yyssa; /* refer to the stacks thru separate pointers */ + short *yyss = yyssa; /* refer to the stacks through separate pointers */ YYSTYPE *yyvs = yyvsa; /* to allow yyoverflow to reallocate them elsewhere */ #ifdef YYLSP_NEEDED diff --git a/IO/MINC/vtkMNITransformReader.cxx b/IO/MINC/vtkMNITransformReader.cxx index c1ea2936109..18834a764c9 100644 --- a/IO/MINC/vtkMNITransformReader.cxx +++ b/IO/MINC/vtkMNITransformReader.cxx @@ -572,7 +572,7 @@ int vtkMNITransformReader::ReadThinPlateSplineTransform( { displacements->Delete(); points->Delete(); - vtkErrorMacro("Incorrect nubmer of Displacements in " + vtkErrorMacro("Incorrect number of Displacements in " << this->FileName << ":" << this->LineNumber); return 0; } diff --git a/IO/NetCDF/vtkSLACReader.cxx b/IO/NetCDF/vtkSLACReader.cxx index 0323c78e30a..5505637d8fc 100644 --- a/IO/NetCDF/vtkSLACReader.cxx +++ b/IO/NetCDF/vtkSLACReader.cxx @@ -1002,7 +1002,7 @@ int vtkSLACReader::RequestData(vtkInformation *request, return 0; } - // Copy file descripters to a structure ReadFieldData can accept. The + // Copy file descriptors to a structure ReadFieldData can accept. The // ReadFieldData interface was designed to not use implementation of // private or templated objects. int *modeFDCopy = new int[modeFDVector.size()]; diff --git a/IO/SQL/Testing/Cxx/TestSQLiteTableReadWrite.cxx b/IO/SQL/Testing/Cxx/TestSQLiteTableReadWrite.cxx index c1c497956cd..8c888a3757a 100644 --- a/IO/SQL/Testing/Cxx/TestSQLiteTableReadWrite.cxx +++ b/IO/SQL/Testing/Cxx/TestSQLiteTableReadWrite.cxx @@ -173,7 +173,7 @@ bool CompareAsciiFiles(const char* file1, const char* file2) lineNo++; // The first line contains version information -- skip it so we don't - // have to update the input file for irrelevent version changes. + // have to update the input file for irrelevant version changes. if (lineNo > 1 && line1 != line2) { std::cerr << "ERROR: line " << lineNo << " in file " << file1 diff --git a/IO/XML/vtkXMLHyperOctreeReader.h b/IO/XML/vtkXMLHyperOctreeReader.h index 9485cc16023..9536c3476c5 100644 --- a/IO/XML/vtkXMLHyperOctreeReader.h +++ b/IO/XML/vtkXMLHyperOctreeReader.h @@ -67,7 +67,7 @@ class VTKIOXML_EXPORT vtkXMLHyperOctreeReader : public vtkXMLDataReader vtkIdType GetNumberOfPoints() VTK_OVERRIDE; vtkIdType GetNumberOfCells() VTK_OVERRIDE; - // Overriden here to do allocation. + // Overridden here to do allocation. int ReadArrayForPoints(vtkXMLDataElement* da, vtkAbstractArray* outArray) VTK_OVERRIDE; int ReadArrayForCells(vtkXMLDataElement* da, diff --git a/IO/XMLParser/vtkXMLParser.h b/IO/XMLParser/vtkXMLParser.h index 420ff406cd2..aaa856b460a 100644 --- a/IO/XMLParser/vtkXMLParser.h +++ b/IO/XMLParser/vtkXMLParser.h @@ -145,7 +145,7 @@ class VTKIOXMLPARSER_EXPORT vtkXMLParser : public vtkObject // Expat parser structure. Exists only during call to Parse(). void* Parser; - // Create/Allocate the internal parser (can be overriden by subclasses). + // Create/Allocate the internal parser (can be overridden by subclasses). virtual int CreateParser(); // Called by Parse() to read the stream and call ParseBuffer. Can diff --git a/IO/Xdmf2/vtkXdmfWriter.cxx b/IO/Xdmf2/vtkXdmfWriter.cxx index e5a79f3a4a8..f15b023fd34 100644 --- a/IO/Xdmf2/vtkXdmfWriter.cxx +++ b/IO/Xdmf2/vtkXdmfWriter.cxx @@ -703,7 +703,7 @@ int vtkXdmfWriter::CreateTopology(vtkDataSet *ds, xdmf2::XdmfGrid *grid, vtkIdTy //TODO: When is it beneficial to take advantage of a homogenous topology? //If no compelling reason not to used MIXED, then this should go away. //This special case code requires an in memory copy just to get rid of - //each cell's preceeding number of points int. + //each cell's preceding number of points int. //If don't have to do that, could use pointer sharing, //and the extra code path is bound to cause problems eventually. if ( cellTypes.size() == 1 ) diff --git a/IO/Xdmf3/vtkXdmf3DataSet.cxx b/IO/Xdmf3/vtkXdmf3DataSet.cxx index 1b099dfc2d2..1013308d5f9 100644 --- a/IO/Xdmf3/vtkXdmf3DataSet.cxx +++ b/IO/Xdmf3/vtkXdmf3DataSet.cxx @@ -1947,7 +1947,7 @@ void vtkXdmf3DataSet::VTKToXdmf( //========================================================================== //TODO: meld this with Grid XdmfToVTKAttributes -//TODO: enable set atribute selections +//TODO: enable set attribute selections void vtkXdmf3DataSet::XdmfToVTKAttributes( /* vtkXdmf3ArraySelection *fselection, diff --git a/Imaging/Color/vtkImageQuantizeRGBToIndex.cxx b/Imaging/Color/vtkImageQuantizeRGBToIndex.cxx index 623fbe33f50..8ec79344b74 100644 --- a/Imaging/Color/vtkImageQuantizeRGBToIndex.cxx +++ b/Imaging/Color/vtkImageQuantizeRGBToIndex.cxx @@ -676,7 +676,7 @@ void vtkImageQuantizeRGBToIndex::PrintSelf(ostream& os, vtkIndent indent) { this->Superclass::PrintSelf(os,indent); - // Input Type is internal so we dont prit it + // Input Type is internal so we don't print it //os << indent << "InputType: " << this->InputType << endl; os << indent << "Number Of Colors: " << this->NumberOfColors << endl; diff --git a/Imaging/Core/Testing/Cxx/TestStencilWithLasso.cxx b/Imaging/Core/Testing/Cxx/TestStencilWithLasso.cxx index 66ab3d57822..791fd647a3c 100644 --- a/Imaging/Core/Testing/Cxx/TestStencilWithLasso.cxx +++ b/Imaging/Core/Testing/Cxx/TestStencilWithLasso.cxx @@ -87,7 +87,7 @@ int TestStencilWithLasso(int argc, char *argv[]) vtkSmartPointer points = vtkSmartPointer::New(); - // excercise both open and closed contours + // exercise both open and closed contours vtkIdType npoints = (j < 2 ? 7 : 6); points->SetNumberOfPoints(npoints); for (vtkIdType i = 0; i < npoints; i++) @@ -108,7 +108,7 @@ int TestStencilWithLasso(int argc, char *argv[]) stencilSource->SetSliceOrientation(orientation); if (j == 3) { - // excercise the polygon code, too + // exercise the polygon code, too stencilSource->SetShapeToPolygon(); } diff --git a/Imaging/Core/Testing/Python/TestBlendStencil.py b/Imaging/Core/Testing/Python/TestBlendStencil.py index f05eeb0c97a..52ec3e65f57 100755 --- a/Imaging/Core/Testing/Python/TestBlendStencil.py +++ b/Imaging/Core/Testing/Python/TestBlendStencil.py @@ -34,7 +34,7 @@ blend.SetInputConnection(reader1.GetOutputPort()) blend.AddInputConnection(translate.GetOutputPort()) -# excercise the ReplaceNthInputConnection method +# exercise the ReplaceNthInputConnection method blend.ReplaceNthInputConnection(1, reader1.GetOutputPort()) blend.ReplaceNthInputConnection(1, translate.GetOutputPort()) blend.SetOpacity(1, 0.8) diff --git a/Imaging/Core/Testing/Tcl/TestBlendStencil.tcl b/Imaging/Core/Testing/Tcl/TestBlendStencil.tcl index a73bdd14c47..a342946612b 100644 --- a/Imaging/Core/Testing/Tcl/TestBlendStencil.tcl +++ b/Imaging/Core/Testing/Tcl/TestBlendStencil.tcl @@ -30,7 +30,7 @@ functionToStencil SetInput sphere vtkImageBlend blend blend SetInputConnection [reader1 GetOutputPort] blend AddInputConnection [translate GetOutputPort] -# excercise the ReplaceNthInputConnection method +# exercise the ReplaceNthInputConnection method blend ReplaceNthInputConnection 1 [reader1 GetOutputPort] blend ReplaceNthInputConnection 1 [translate GetOutputPort] blend SetOpacity 1 0.8 diff --git a/Imaging/Core/vtkImageBSplineInternals.cxx b/Imaging/Core/vtkImageBSplineInternals.cxx index c96c4c2bc64..2c6798b2cf9 100644 --- a/Imaging/Core/vtkImageBSplineInternals.cxx +++ b/Imaging/Core/vtkImageBSplineInternals.cxx @@ -135,7 +135,7 @@ InitialCausalCoefficient } return(c[0] + Sum / (1.0 - zn * zn)); } - /* break; (unecessary because of return) */ + /* break; (unnecessary because of return) */ case VTK_IMAGE_BORDER_MIRROR: /* this initialization corresponds to mirror boundaries */ @@ -167,7 +167,7 @@ InitialCausalCoefficient } return(Sum / (1.0 - zn * zn)); } - /* break; (unecessary because of return) */ + /* break; (unnecessary because of return) */ case VTK_IMAGE_BORDER_REPEAT: /* this initialization corresponds to periodic boundaries */ @@ -195,7 +195,7 @@ InitialCausalCoefficient } return(Sum / (1.0 - zn)); } - /* break; (unecessary because of return) */ + /* break; (unnecessary because of return) */ } return(0.0); diff --git a/Imaging/Core/vtkImageBSplineInternals.h b/Imaging/Core/vtkImageBSplineInternals.h index e5c4dd9a0c2..84fe088c0d3 100644 --- a/Imaging/Core/vtkImageBSplineInternals.h +++ b/Imaging/Core/vtkImageBSplineInternals.h @@ -17,7 +17,7 @@ * @brief BSpline code from P. Thevenaz * * vtkImageBSplineInternals provides code for image interpolation with - * b-splines of various degrees. This code computes the coefficents + * b-splines of various degrees. This code computes the coefficients * from the image, and computes the weights for the b-spline kernels. * * This class is based on code provided by Philippe Thevenaz of diff --git a/Infovis/Core/vtkCollapseVerticesByArray.cxx b/Infovis/Core/vtkCollapseVerticesByArray.cxx index abffa1f4772..4c0067f709e 100644 --- a/Infovis/Core/vtkCollapseVerticesByArray.cxx +++ b/Infovis/Core/vtkCollapseVerticesByArray.cxx @@ -456,7 +456,7 @@ vtkGraph* vtkCollapseVerticesByArray::Create(vtkGraph* inGraph) outEdgeId, edge->GetId(), inEdgeDataArraysOI[i]); } - // All others. Last entered will overide previous ones. + // All others. Last entered will override previous ones. for(size_t i=0; i < inEdgeDataArraysAO.size(); ++i) { outEdgeDataArraysAO[i]->SetTuple(outEdgeId, edge->GetId(), @@ -494,7 +494,7 @@ vtkGraph* vtkCollapseVerticesByArray::Create(vtkGraph* inGraph) outEdgeDataArraysOI[i]->SetTuple(outEdgeId, outEdgeData); } - // All others. Last entered will overide previous ones. + // All others. Last entered will override previous ones. for(size_t i=0; i < inEdgeDataArraysAO.size(); ++i) { outEdgeDataArraysAO[i]->SetTuple(outEdgeId, edge->GetId(), diff --git a/Infovis/Layout/vtkAttributeClustering2DLayoutStrategy.cxx b/Infovis/Layout/vtkAttributeClustering2DLayoutStrategy.cxx index f6a2d766369..73a624151d7 100644 --- a/Infovis/Layout/vtkAttributeClustering2DLayoutStrategy.cxx +++ b/Infovis/Layout/vtkAttributeClustering2DLayoutStrategy.cxx @@ -486,7 +486,7 @@ void vtkAttributeClustering2DLayoutStrategy::Layout() float forceY = rawAttractArray[rawSourceIndex+1] + rawRepulseArray[rawSourceIndex+1]; // Forces can get extreme so limit them - // Note: This is psuedo-normalization of the + // Note: This is pseudo-normalization of the // force vector, just to save some cycles // Avoid divide by zero diff --git a/Infovis/Layout/vtkClustering2DLayoutStrategy.cxx b/Infovis/Layout/vtkClustering2DLayoutStrategy.cxx index e130b97148c..2ce3f7b4bb8 100644 --- a/Infovis/Layout/vtkClustering2DLayoutStrategy.cxx +++ b/Infovis/Layout/vtkClustering2DLayoutStrategy.cxx @@ -453,7 +453,7 @@ void vtkClustering2DLayoutStrategy::Layout() float forceY = rawAttractArray[rawSourceIndex+1] + rawRepulseArray[rawSourceIndex+1]; // Forces can get extreme so limit them - // Note: This is psuedo-normalization of the + // Note: This is pseudo-normalization of the // force vector, just to save some cycles // Avoid divide by zero diff --git a/Infovis/Layout/vtkCommunity2DLayoutStrategy.cxx b/Infovis/Layout/vtkCommunity2DLayoutStrategy.cxx index cdb80886f28..1d7eb78a037 100644 --- a/Infovis/Layout/vtkCommunity2DLayoutStrategy.cxx +++ b/Infovis/Layout/vtkCommunity2DLayoutStrategy.cxx @@ -448,7 +448,7 @@ void vtkCommunity2DLayoutStrategy::Layout() float forceY = rawAttractArray[rawSourceIndex+1] + rawRepulseArray[rawSourceIndex+1]; // Forces can get extreme so limit them - // Note: This is psuedo-normalization of the + // Note: This is pseudo-normalization of the // force vector, just to save some cycles // Avoid divide by zero diff --git a/Infovis/Layout/vtkConstrained2DLayoutStrategy.cxx b/Infovis/Layout/vtkConstrained2DLayoutStrategy.cxx index 2767b61ade7..14d8e6b0cf5 100644 --- a/Infovis/Layout/vtkConstrained2DLayoutStrategy.cxx +++ b/Infovis/Layout/vtkConstrained2DLayoutStrategy.cxx @@ -412,7 +412,7 @@ void vtkConstrained2DLayoutStrategy::Layout() float forceY = rawAttractArray[rawSourceIndex+1] + rawRepulseArray[rawSourceIndex+1]; // Forces can get extreme so limit them - // Note: This is psuedo-normalization of the + // Note: This is pseudo-normalization of the // force vector, just to save some cycles // Avoid divide by zero diff --git a/Infovis/Layout/vtkFast2DLayoutStrategy.cxx b/Infovis/Layout/vtkFast2DLayoutStrategy.cxx index f4038e99a1d..76db6a6af3d 100644 --- a/Infovis/Layout/vtkFast2DLayoutStrategy.cxx +++ b/Infovis/Layout/vtkFast2DLayoutStrategy.cxx @@ -410,7 +410,7 @@ void vtkFast2DLayoutStrategy::Layout() float forceY = rawAttractArray[rawSourceIndex+1] + rawRepulseArray[rawSourceIndex+1]; // Forces can get extreme so limit them - // Note: This is psuedo-normalization of the + // Note: This is pseudo-normalization of the // force vector, just to save some cycles // Avoid divide by zero diff --git a/Infovis/Layout/vtkSimple2DLayoutStrategy.cxx b/Infovis/Layout/vtkSimple2DLayoutStrategy.cxx index d1db3ff6fd3..777b0ef2fcb 100644 --- a/Infovis/Layout/vtkSimple2DLayoutStrategy.cxx +++ b/Infovis/Layout/vtkSimple2DLayoutStrategy.cxx @@ -299,7 +299,7 @@ void vtkSimple2DLayoutStrategy::Layout() float forceY = rawAttractArray[pointIndex1+1] + rawRepulseArray[pointIndex1+1]; // Forces can get extreme so limit them - // Note: This is psuedo-normalization of the + // Note: This is pseudo-normalization of the // force vector, just to save some cycles // Avoid divide by zero diff --git a/Infovis/Parallel/Testing/Cxx/TestPRandomGraphSource.cxx b/Infovis/Parallel/Testing/Cxx/TestPRandomGraphSource.cxx index 56bc400dbed..6b451a69145 100644 --- a/Infovis/Parallel/Testing/Cxx/TestPRandomGraphSource.cxx +++ b/Infovis/Parallel/Testing/Cxx/TestPRandomGraphSource.cxx @@ -100,11 +100,11 @@ int TestPRandomGraphSource(int argc, char* argv[]) { doConnectedComponents = false; } - else if (arg == "--no-minumum-spanning-tree") + else if (arg == "--no-minimum-spanning-tree") { doMST = false; } - else if (arg == "--minumum-spanning-tree") + else if (arg == "--minimum-spanning-tree") { doMST = true; } diff --git a/Interaction/Image/vtkResliceImageViewerMeasurements.h b/Interaction/Image/vtkResliceImageViewerMeasurements.h index 86a41012069..7d85848ca53 100644 --- a/Interaction/Image/vtkResliceImageViewerMeasurements.h +++ b/Interaction/Image/vtkResliceImageViewerMeasurements.h @@ -73,7 +73,7 @@ class VTKINTERACTIONIMAGE_EXPORT vtkResliceImageViewerMeasurements : public vtkO /** * Methods to change whether the widget responds to interaction. * Set this to Off to disable interaction. On by default. - * Subclasses must overide SetProcessEvents() to make sure + * Subclasses must override SetProcessEvents() to make sure * that they pass on the flag to all component widgets. */ vtkSetClampMacro(ProcessEvents, int, 0, 1); diff --git a/Interaction/Widgets/vtkAbstractWidget.h b/Interaction/Widgets/vtkAbstractWidget.h index a2c28ea9d65..6d2abff2fe3 100644 --- a/Interaction/Widgets/vtkAbstractWidget.h +++ b/Interaction/Widgets/vtkAbstractWidget.h @@ -84,7 +84,7 @@ class VTKINTERACTIONWIDGETS_EXPORT vtkAbstractWidget : public vtkInteractorObser /** * Methods to change whether the widget responds to interaction. * Set this to Off to disable interaction. On by default. - * Subclasses must overide SetProcessEvents() to make sure + * Subclasses must override SetProcessEvents() to make sure * that they pass on the flag to all component widgets. */ vtkSetClampMacro(ProcessEvents, int, 0, 1); diff --git a/Interaction/Widgets/vtkContourWidget.cxx b/Interaction/Widgets/vtkContourWidget.cxx index ee6a3da2cb6..cc73db7e574 100644 --- a/Interaction/Widgets/vtkContourWidget.cxx +++ b/Interaction/Widgets/vtkContourWidget.cxx @@ -281,7 +281,7 @@ void vtkContourWidget::AddNode() return; } - // if in continuous draw mode, we dont want to cose the loop until we are at least + // if in continuous draw mode, we don't want to close the loop until we are at least // numNodes > pixelTolerance away int distance2 = static_cast((X - displayPos[0]) * (X - displayPos[0]) + diff --git a/Parallel/Core/Testing/Cxx/TestFieldDataSerialization.cxx b/Parallel/Core/Testing/Cxx/TestFieldDataSerialization.cxx index 98ad94e42a3..bc1bd14a3eb 100644 --- a/Parallel/Core/Testing/Cxx/TestFieldDataSerialization.cxx +++ b/Parallel/Core/Testing/Cxx/TestFieldDataSerialization.cxx @@ -254,7 +254,7 @@ bool AreArraysEqual(vtkDataArray *A1, vtkDataArray *A2) bool AreFieldsEqual(vtkFieldData *F1, vtkFieldData *F2) { assert("pre: field 1 is NULL!" && (F1 !=NULL) ); - assert("pre: fiels 2 is NULL!" && (F2 !=NULL) ); + assert("pre: field 2 is NULL!" && (F2 !=NULL) ); if( F1->GetNumberOfArrays() != F2->GetNumberOfArrays() ) { diff --git a/Parallel/Core/vtkMultiProcessController.cxx b/Parallel/Core/vtkMultiProcessController.cxx index 98f6d6aca05..1d093c20881 100644 --- a/Parallel/Core/vtkMultiProcessController.cxx +++ b/Parallel/Core/vtkMultiProcessController.cxx @@ -474,7 +474,7 @@ void vtkMultiProcessController::TriggerRMI(int remoteProcessId, void vtkMultiProcessController::BroadcastTriggerRMIOnAllChildren( void *arg, int argLength, int rmiTag) { - // This is called by the root process, namely rank 0. The sattelite ranks + // This is called by the root process, namely rank 0. The satellite ranks // call BroadcastProcessRMIs(). int triggerMessage[128]; diff --git a/Parallel/Core/vtkMultiProcessController.h b/Parallel/Core/vtkMultiProcessController.h index a0f7be42d5d..89199608093 100644 --- a/Parallel/Core/vtkMultiProcessController.h +++ b/Parallel/Core/vtkMultiProcessController.h @@ -331,7 +331,7 @@ class VTKPARALLELCORE_EXPORT vtkMultiProcessController : public vtkObject /** * Setting this flag to 1 will cause the TriggerRMIOnAllChildren to use * a collective broadcast operation to communicate the RMI tag to the - * sattelites. + * satellites. */ vtkSetMacro(BroadcastTriggerRMI,bool); vtkGetMacro(BroadcastTriggerRMI,bool); @@ -1454,7 +1454,7 @@ class VTKPARALLELCORE_EXPORT vtkMultiProcessController : public vtkObject // This flag can be used to indicate that an MPI Broadcast will be used // when calling TriggerRMIOnAllChildren(), instead of the binary tree - // propagation of the data to the sattelite ranks from rank 0. + // propagation of the data to the satellite ranks from rank 0. bool BroadcastTriggerRMI; vtkOutputWindow* OutputWindow; diff --git a/Remote/README.md b/Remote/README.md index ef06036ad07..68e0ecdff3d 100644 --- a/Remote/README.md +++ b/Remote/README.md @@ -17,4 +17,4 @@ describes the policy and procedures for adding a new module: __NOTE__ that in each `.remote.cmake`, the first argument of the function vtk_fetch_module() is the name of the remote module, and it has to be consistent with the module name defined in -the correponding module.cmake. +the corresponding module.cmake. diff --git a/Rendering/Annotation/vtkLeaderActor2D.cxx b/Rendering/Annotation/vtkLeaderActor2D.cxx index 5ca390f7765..072d58c4071 100644 --- a/Rendering/Annotation/vtkLeaderActor2D.cxx +++ b/Rendering/Annotation/vtkLeaderActor2D.cxx @@ -454,7 +454,7 @@ int vtkLeaderActor2D::ClipLeader(double center[3], int box[2], double p1[3], t = ( fabs(tx-0.5) < fabs(ty-0.5) ? tx : ty ); if ( fabs(t-0.5) > 0.45 ) { - return 0; //wont fit along line + return 0; //won't fit along line } else { diff --git a/Rendering/Annotation/vtkLegendBoxActor.cxx b/Rendering/Annotation/vtkLegendBoxActor.cxx index 0ddf78d8e83..d97b34d6ad0 100644 --- a/Rendering/Annotation/vtkLegendBoxActor.cxx +++ b/Rendering/Annotation/vtkLegendBoxActor.cxx @@ -651,7 +651,7 @@ int vtkLegendBoxActor::RenderOpaqueGeometry(vtkViewport *viewport) // If text prop has changed, recopy it to all mappers // We have to use shallow copy since the color of each text prop - // can be overriden + // can be overridden if (this->EntryTextProperty->GetMTime() > this->BuildTime) { diff --git a/Rendering/Annotation/vtkPolarAxesActor.h b/Rendering/Annotation/vtkPolarAxesActor.h index 1efbcbd1ce5..20a9ffd9134 100644 --- a/Rendering/Annotation/vtkPolarAxesActor.h +++ b/Rendering/Annotation/vtkPolarAxesActor.h @@ -1082,12 +1082,12 @@ class VTKRENDERINGANNOTATION_EXPORT vtkPolarAxesActor : public vtkActor int PolarArcsVisibility; /** - * Visibility of the inner axes (overriden to 0 if RadialAxesVisibility is set to 0) + * Visibility of the inner axes (overridden to 0 if RadialAxesVisibility is set to 0) */ int DrawRadialGridlines; /** - * Visibility of the inner arcs (overriden to 0 if PolarArcsVisibility is set to 0) + * Visibility of the inner arcs (overridden to 0 if PolarArcsVisibility is set to 0) */ int DrawPolarArcsGridlines; diff --git a/Rendering/Core/Testing/Python/TestOpacity2.py b/Rendering/Core/Testing/Python/TestOpacity2.py index 3d6d49b2ac5..84c13ae2875 100755 --- a/Rendering/Core/Testing/Python/TestOpacity2.py +++ b/Rendering/Core/Testing/Python/TestOpacity2.py @@ -17,7 +17,7 @@ coneActor.SetMapper(coneMapper) coneActor.GetProperty().SetOpacity(0.5) -# Actor for opacity thru LUT. +# Actor for opacity through LUT. elevation = vtk.vtkElevationFilter() elevation.SetInputConnection(cone.GetOutputPort()) @@ -40,7 +40,7 @@ coneActorLUT.SetPosition(0.1, 1.0, 0) coneActorLUT.GetProperty().SetOpacity(0.99) -# Actor for opacity thru texture. +# Actor for opacity through texture. reader = vtk.vtkPNGReader() reader.SetFileName(VTK_DATA_ROOT + "/Data/alphachannel.png") reader.Update() diff --git a/Rendering/Core/Testing/Tcl/TestOpacity2.tcl b/Rendering/Core/Testing/Tcl/TestOpacity2.tcl index bebad5c5f0a..52921f6d345 100644 --- a/Rendering/Core/Testing/Tcl/TestOpacity2.tcl +++ b/Rendering/Core/Testing/Tcl/TestOpacity2.tcl @@ -16,7 +16,7 @@ coneActor SetMapper coneMapper -# Actor for opacity thru LUT. +# Actor for opacity through LUT. vtkElevationFilter elevation elevation SetInputConnection [cone GetOutputPort] @@ -40,7 +40,7 @@ coneActorLUT SetPosition 0.1 1.0 0 [coneActorLUT GetProperty] SetOpacity 0.99 -# Actor for opacity thru texture. +# Actor for opacity through texture. vtkPNGReader reader reader SetFileName "$VTK_DATA_ROOT/Data/alphachannel.png" reader Update diff --git a/Rendering/Core/vtkAreaPicker.h b/Rendering/Core/vtkAreaPicker.h index e5a1ad7c603..be922336bd5 100644 --- a/Rendering/Core/vtkAreaPicker.h +++ b/Rendering/Core/vtkAreaPicker.h @@ -81,7 +81,7 @@ class VTKRENDERINGCORE_EXPORT vtkAreaPicker : public vtkAbstractPropPicker /** * Perform pick operation in volume behind the given screen coordinates. * Props intersecting the selection frustum will be accessible via GetProp3D. - * GetPlanes returns a vtkImplicitFunciton suitable for vtkExtractGeometry. + * GetPlanes returns a vtkImplicitFunction suitable for vtkExtractGeometry. */ virtual int AreaPick(double x0, double y0, double x1, double y1, vtkRenderer *renderer = NULL); diff --git a/Rendering/Core/vtkCompositeDataDisplayAttributes.h b/Rendering/Core/vtkCompositeDataDisplayAttributes.h index f4557de2dda..f4ec8a7ffcb 100644 --- a/Rendering/Core/vtkCompositeDataDisplayAttributes.h +++ b/Rendering/Core/vtkCompositeDataDisplayAttributes.h @@ -128,7 +128,7 @@ class VTKRENDERINGCORE_EXPORT vtkCompositeDataDisplayAttributes : public vtkObje void RemoveBlockOpacities(); // If the input \a dobj is a vtkCompositeDataSet, we will loop over the - // hierarchy recursively starting from intial index 0 and use only visible + // hierarchy recursively starting from initial index 0 and use only visible // blocks, which is specified in the vtkCompositeDataDisplayAttributes \a cda, // to compute the \a bounds. static void ComputeVisibleBounds( @@ -146,7 +146,7 @@ class VTKRENDERINGCORE_EXPORT vtkCompositeDataDisplayAttributes : public vtkObje /** * If the input data \a dobj is a vtkCompositeDataSet, we will - * loop over the hierarchy recursively starting from intial index + * loop over the hierarchy recursively starting from initial index * \a flat_index and use only visible blocks, which is * specified in the vtkCompositeDataDisplayAttributes \a cda, * to compute bounds and the result bounds will be set to diff --git a/Rendering/Core/vtkDataSetMapper.cxx b/Rendering/Core/vtkDataSetMapper.cxx index ecd012d6bff..509f976807c 100644 --- a/Rendering/Core/vtkDataSetMapper.cxx +++ b/Rendering/Core/vtkDataSetMapper.cxx @@ -109,7 +109,7 @@ void vtkDataSetMapper::Render(vtkRenderer *ren, vtkActor *act) } // For efficiency: if input type is vtkPolyData, there's no need to - // pass it thru the geometry filter. + // pass it through the geometry filter. // if ( this->GetInput()->GetDataObjectType() == VTK_POLY_DATA ) { diff --git a/Rendering/Core/vtkFrustumCoverageCuller.h b/Rendering/Core/vtkFrustumCoverageCuller.h index 7e709554c95..420dde83c0f 100644 --- a/Rendering/Core/vtkFrustumCoverageCuller.h +++ b/Rendering/Core/vtkFrustumCoverageCuller.h @@ -23,7 +23,7 @@ * results in a circle on the plane slice through the view frustum. This * circle is enclosed in a squared, and the fraction of the plane slice that * this square covers is the coverage. This is a number between 0 and 1. - * If the number is less than the MinumumCoverage, the allocated render time + * If the number is less than the MinimumCoverage, the allocated render time * for that prop is set to zero. If it is greater than the MaximumCoverage, * the allocated render time is set to 1.0. In between, a linear ramp is used * to convert coverage into allocated render time. diff --git a/Rendering/Core/vtkHardwareSelector.h b/Rendering/Core/vtkHardwareSelector.h index df144936533..6e9fe9492a1 100644 --- a/Rendering/Core/vtkHardwareSelector.h +++ b/Rendering/Core/vtkHardwareSelector.h @@ -288,7 +288,7 @@ class VTKRENDERINGCORE_EXPORT vtkHardwareSelector : public vtkObject vtkHardwareSelector(); ~vtkHardwareSelector() VTK_OVERRIDE; - // Used to notify subclasses when a capture pass is occuring. + // Used to notify subclasses when a capture pass is occurring. virtual void PreCapturePass(int pass) { (void)pass; } virtual void PostCapturePass(int pass) { (void)pass; } diff --git a/Rendering/Core/vtkInteractorEventRecorder.cxx b/Rendering/Core/vtkInteractorEventRecorder.cxx index 2930475c137..3294e0657a0 100644 --- a/Rendering/Core/vtkInteractorEventRecorder.cxx +++ b/Rendering/Core/vtkInteractorEventRecorder.cxx @@ -374,7 +374,7 @@ void vtkInteractorEventRecorder::ProcessEvents(vtkObject* object, { switch(event) { - case vtkCommand::ModifiedEvent: //dont want these + case vtkCommand::ModifiedEvent: //don't want these break; default: diff --git a/Rendering/Core/vtkMapper.cxx b/Rendering/Core/vtkMapper.cxx index adca227fe6b..919f8cee21f 100644 --- a/Rendering/Core/vtkMapper.cxx +++ b/Rendering/Core/vtkMapper.cxx @@ -829,7 +829,7 @@ void CreateColorTextureCoordinates(T* input, float* output, bool use_log_scale) { // We have to change the range used for computing texture - // coordinates slightly to accomodate the special above- and + // coordinates slightly to accommodate the special above- and // below-range colors that are the first and last texels, // respectively. double scalar_texel_width = (range[1] - range[0]) / static_cast(tableNumberOfColors); diff --git a/Rendering/Core/vtkPickingManager.h b/Rendering/Core/vtkPickingManager.h index 862a29166de..b408c68b945 100644 --- a/Rendering/Core/vtkPickingManager.h +++ b/Rendering/Core/vtkPickingManager.h @@ -135,7 +135,7 @@ class VTKRENDERINGCORE_EXPORT vtkPickingManager : public vtkObject void RemovePicker(vtkAbstractPicker* picker, vtkObject* object = 0); /** - * Remove all occurences of the \a object from the registered list. + * Remove all occurrence of the \a object from the registered list. * If a picker associated with the \a object is not also associated with * any other object, it is removed from the list as well. */ diff --git a/Rendering/Core/vtkPropPicker.h b/Rendering/Core/vtkPropPicker.h index 25a3ddfb97c..9d6bc5bbd3b 100644 --- a/Rendering/Core/vtkPropPicker.h +++ b/Rendering/Core/vtkPropPicker.h @@ -60,7 +60,7 @@ class VTKRENDERINGCORE_EXPORT vtkPropPicker : public vtkAbstractPropPicker vtkPropCollection* pickfrom); /** - * Overide superclasses' Pick() method. + * override superclasses' Pick() method. */ int Pick(double selectionX, double selectionY, double selectionZ, vtkRenderer *renderer) VTK_OVERRIDE; diff --git a/Rendering/Core/vtkPropPicker3D.h b/Rendering/Core/vtkPropPicker3D.h index 7e3cf0a155f..b3ce22d6c30 100644 --- a/Rendering/Core/vtkPropPicker3D.h +++ b/Rendering/Core/vtkPropPicker3D.h @@ -62,7 +62,7 @@ class VTKRENDERINGCORE_EXPORT vtkPropPicker3D : public vtkAbstractPropPicker vtkPropCollection* pickfrom); /** - * Overide superclasses' Pick() method. + * override superclasses' Pick() method. */ int Pick(double selectionX, double selectionY, double selectionZ, vtkRenderer *renderer) VTK_OVERRIDE; diff --git a/Rendering/Core/vtkRenderedAreaPicker.h b/Rendering/Core/vtkRenderedAreaPicker.h index 4cbbb226205..e0fb16757ba 100644 --- a/Rendering/Core/vtkRenderedAreaPicker.h +++ b/Rendering/Core/vtkRenderedAreaPicker.h @@ -47,7 +47,7 @@ class VTKRENDERINGCORE_EXPORT vtkRenderedAreaPicker : public vtkAreaPicker /** * Perform pick operation in volume behind the given screen coordinates. * Props intersecting the selection frustum will be accessible via GetProp3D. - * GetPlanes returns a vtkImplicitFunciton suitable for vtkExtractGeometry. + * GetPlanes returns a vtkImplicitFunction suitable for vtkExtractGeometry. */ int AreaPick(double x0, double y0, double x1, double y1, vtkRenderer *) VTK_OVERRIDE; diff --git a/Rendering/Core/vtkTextActor.cxx b/Rendering/Core/vtkTextActor.cxx index 9c017837147..7a3b59bcd2a 100644 --- a/Rendering/Core/vtkTextActor.cxx +++ b/Rendering/Core/vtkTextActor.cxx @@ -46,7 +46,7 @@ vtkTextActor::vtkTextActor() // so...compute equivalent coords for initial position this->PositionCoordinate->SetCoordinateSystemToViewport(); - // This intializes the rectangle structure. + // This initializes the rectangle structure. // It will be used to display the text image as a texture map. this->Rectangle = vtkPolyData::New(); this->RectanglePoints = vtkPoints::New(); diff --git a/Rendering/Core/vtkTextMapper.cxx b/Rendering/Core/vtkTextMapper.cxx index 3cccb2b2aa7..8c9fac0986d 100644 --- a/Rendering/Core/vtkTextMapper.cxx +++ b/Rendering/Core/vtkTextMapper.cxx @@ -357,7 +357,7 @@ int vtkTextMapper::SetMultipleRelativeFontSize(vtkViewport *viewport, //---------------------------------------------------------------------------- void vtkTextMapper::RenderOverlay(vtkViewport *viewport, vtkActor2D *actor) { - // This is neccessary for GL2PS exports when this actor/mapper are part of an + // This is necessary for GL2PS exports when this actor/mapper are part of an // composite actor/mapper. if (!actor->GetVisibility()) { diff --git a/Rendering/Image/vtkDepthImageToPointCloud.cxx b/Rendering/Image/vtkDepthImageToPointCloud.cxx index 0a11965be22..f0ca3a0dc28 100644 --- a/Rendering/Image/vtkDepthImageToPointCloud.cxx +++ b/Rendering/Image/vtkDepthImageToPointCloud.cxx @@ -64,7 +64,7 @@ namespace { // This class performs point by point transformation. The view matrix is // used to transform each pixel. IMPORTANT NOTE: The transformation occurs // by normalizing the image pixels into the (-1,1) view space (depth values - // are passed thru). The process follows the vtkCoordinate class which is + // are passed through). The process follows the vtkCoordinate class which is // the standard for VTK rendering transformations. Subtle differences in // whether the lower left pixel origin are at the center of the pixel // versus the lower-left corner of the pixel will make slight differences diff --git a/Rendering/Image/vtkDepthImageToPointCloud.h b/Rendering/Image/vtkDepthImageToPointCloud.h index ad7d64df226..973bd90f819 100644 --- a/Rendering/Image/vtkDepthImageToPointCloud.h +++ b/Rendering/Image/vtkDepthImageToPointCloud.h @@ -47,7 +47,7 @@ * associated color scalar image). This class performs point by point * transformation. The view matrix is used to transform each pixel. IMPORTANT * NOTE: The transformation occurs by normalizing the image pixels into the - * (-1,1) view space (depth values are passed thru). The process follows the + * (-1,1) view space (depth values are passed through). The process follows the * vtkCoordinate class which is the standard for VTK rendering * transformations. Subtle differences in whether the lower left pixel origin * are at the center of the pixel versus the lower-left corner of the pixel diff --git a/Rendering/LIC/Testing/Cxx/CMakeLists.txt b/Rendering/LIC/Testing/Cxx/CMakeLists.txt index ab2c5e78d23..1b76dfcd9e0 100644 --- a/Rendering/LIC/Testing/Cxx/CMakeLists.txt +++ b/Rendering/LIC/Testing/Cxx/CMakeLists.txt @@ -2,7 +2,7 @@ if(NOT VTK_REPLACE_OPENGL_OVERRIDES) # basic tests on the legacy filters -# excercises line integral convolution 2d +# exercises line integral convolution 2d vtk_add_test_cxx(${vtk-module}CxxTests tests TestImageDataLIC2D.cxx TestStructuredGridLIC2DXSlice.cxx diff --git a/Rendering/LIC/vtkLineIntegralConvolution2D.h b/Rendering/LIC/vtkLineIntegralConvolution2D.h index fad602a6d90..7d2ae18fe63 100644 --- a/Rendering/LIC/vtkLineIntegralConvolution2D.h +++ b/Rendering/LIC/vtkLineIntegralConvolution2D.h @@ -151,7 +151,7 @@ class VTKRENDERINGLIC_EXPORT vtkLineIntegralConvolution2D : public vtkObject * over all fragments. * This increase the dynamic range and contrast in the LIC'd image, both of which - * are natuarly attenuated by the LI conovlution proccess. + * are natuarly attenuated by the LI conovlution process. * ENHANCE_CONTRAST_OFF -- don't enhance contrast * ENHANCE_CONTRAST_ON -- enhance high-pass input and final stage output diff --git a/Rendering/LIC/vtkLineIntegralConvolution2D_LICI.glsl b/Rendering/LIC/vtkLineIntegralConvolution2D_LICI.glsl index 37ae1a97904..28a96807c67 100644 --- a/Rendering/LIC/vtkLineIntegralConvolution2D_LICI.glsl +++ b/Rendering/LIC/vtkLineIntegralConvolution2D_LICI.glsl @@ -66,7 +66,7 @@ float getNoise(vec2 vectc) // to have the entire texture initialized to 0 // and set clamp to border and have border color 0 // an integer is set if the step was taken, keeping -// an accurate step count is neccessary to prevent +// an accurate step count is necessary to prevent // boundary artifacts. Don't count the step if // all vector lookups are identically 0. This is // a proxy for "stepped outside valid domain" diff --git a/Rendering/LIC/vtkSurfaceLICComposite.h b/Rendering/LIC/vtkSurfaceLICComposite.h index 68a75a473df..3fe9fd3aa86 100644 --- a/Rendering/LIC/vtkSurfaceLICComposite.h +++ b/Rendering/LIC/vtkSurfaceLICComposite.h @@ -69,7 +69,7 @@ class VTKRENDERINGLIC_EXPORT vtkSurfaceLICComposite : public vtkObject * IPC during compositing if any of the block extents cover * or intersect a number of block extents. The input data * needs to be shuffled but not unshuffled since for overlapping - * regions LIC is computed by all proccesses that overlap. + * regions LIC is computed by all processes that overlap. * If there is very little overlap between block extents * then this method is superior since no unshuffle is needed. diff --git a/Rendering/LIC/vtkSurfaceLICPainter.cxx b/Rendering/LIC/vtkSurfaceLICPainter.cxx index cc61bbf6cd6..b1add857c5e 100644 --- a/Rendering/LIC/vtkSurfaceLICPainter.cxx +++ b/Rendering/LIC/vtkSurfaceLICPainter.cxx @@ -230,7 +230,7 @@ int ilog2(unsigned int n) /** An interface to a random number generator. We can't use -c stdlib since we're not gauranteed to get consistent. +c stdlib since we're not guaranteed to get consistent. sequences across platform or library version and that would prevent consistent output during regression tests. */ @@ -366,7 +366,7 @@ class RandomNoise2D int seed); // Description: - // A way of controling the probability (from 0.0 to 1.0) that you + // A way of controlling the probability (from 0.0 to 1.0) that you // generate values. returns 1 if you should generate a value. // for example this is used to control the frequency of impulse // noise. diff --git a/Rendering/LIC/vtkSurfaceLICPainter.h b/Rendering/LIC/vtkSurfaceLICPainter.h index 971eca534b8..20cecd6036e 100644 --- a/Rendering/LIC/vtkSurfaceLICPainter.h +++ b/Rendering/LIC/vtkSurfaceLICPainter.h @@ -234,7 +234,7 @@ class VTKRENDERINGLIC_EXPORT vtkSurfaceLICPainter : public vtkPainter * of m and M are the min and max taken over all fragments. * This increase the dynamic range and contrast in the LIC'd image, both of - * which are natuarly attenuated by the convolution proccess. + * which are natuarly attenuated by the convolution process. * Values @@ -299,7 +299,7 @@ class VTKRENDERINGLIC_EXPORT vtkSurfaceLICPainter : public vtkPainter /** * Set/Get the color mode. The color mode controls how scalar colors are * combined with the LIC in the final image. The BLEND mode combines scalar - * colors with LIC intensities with proportional blending controled by the + * colors with LIC intensities with proportional blending controlled by the * LICIntensity parameter. The MAP mode combines scalar colors with LIC, * by multiplication the HSL represntation of color's lightness. diff --git a/Rendering/LICOpenGL2/Testing/Cxx/CMakeLists.txt b/Rendering/LICOpenGL2/Testing/Cxx/CMakeLists.txt index d3e18a6a96f..d1bdf37faec 100644 --- a/Rendering/LICOpenGL2/Testing/Cxx/CMakeLists.txt +++ b/Rendering/LICOpenGL2/Testing/Cxx/CMakeLists.txt @@ -1,5 +1,5 @@ # basic tests on the legacy filters -# excercises line integral convolution 2d +# exercises line integral convolution 2d vtk_add_test_cxx(${vtk-module}CxxTests tests TestImageDataLIC2D.cxx TestStructuredGridLIC2DXSlice.cxx diff --git a/Rendering/LICOpenGL2/vtkLICNoiseHelper.h b/Rendering/LICOpenGL2/vtkLICNoiseHelper.h index 4b9954ee2bf..996844757a0 100644 --- a/Rendering/LICOpenGL2/vtkLICNoiseHelper.h +++ b/Rendering/LICOpenGL2/vtkLICNoiseHelper.h @@ -28,7 +28,7 @@ class vtkImageData; /** An interface to a random number generator. We can't use -c stdlib since we're not gauranteed to get consistent. +c stdlib since we're not guaranteed to get consistent. sequences across platform or library version and that would prevent consistent output during regression tests. */ @@ -165,7 +165,7 @@ class vtkLICRandomNoise2D int seed); /** - * A way of controling the probability (from 0.0 to 1.0) that you + * A way of controlling the probability (from 0.0 to 1.0) that you * generate values. returns 1 if you should generate a value. * for example this is used to control the frequency of impulse * noise. diff --git a/Rendering/LICOpenGL2/vtkLineIntegralConvolution2D.h b/Rendering/LICOpenGL2/vtkLineIntegralConvolution2D.h index 9d21b78f5f5..a9b0a734151 100644 --- a/Rendering/LICOpenGL2/vtkLineIntegralConvolution2D.h +++ b/Rendering/LICOpenGL2/vtkLineIntegralConvolution2D.h @@ -153,7 +153,7 @@ class VTKRENDERINGLICOPENGL2_EXPORT vtkLineIntegralConvolution2D : public vtkObj * over all fragments. * This increase the dynamic range and contrast in the LIC'd image, both of which - * are natuarly attenuated by the LI conovlution proccess. + * are natuarly attenuated by the LI conovlution process. * ENHANCE_CONTRAST_OFF -- don't enhance contrast * ENHANCE_CONTRAST_ON -- enhance high-pass input and final stage output diff --git a/Rendering/LICOpenGL2/vtkLineIntegralConvolution2D_LICI.glsl b/Rendering/LICOpenGL2/vtkLineIntegralConvolution2D_LICI.glsl index 009b5cdcfa3..b1a2265bab9 100644 --- a/Rendering/LICOpenGL2/vtkLineIntegralConvolution2D_LICI.glsl +++ b/Rendering/LICOpenGL2/vtkLineIntegralConvolution2D_LICI.glsl @@ -68,7 +68,7 @@ float getNoise(vec2 vectc) // to have the entire texture initialized to 0 // and set clamp to border and have border color 0 // an integer is set if the step was taken, keeping -// an accurate step count is neccessary to prevent +// an accurate step count is necessary to prevent // boundary artifacts. Don't count the step if // all vector lookups are identically 0. This is // a proxy for "stepped outside valid domain" diff --git a/Rendering/LICOpenGL2/vtkSurfaceLICComposite.h b/Rendering/LICOpenGL2/vtkSurfaceLICComposite.h index 732eded4539..516f44b8527 100644 --- a/Rendering/LICOpenGL2/vtkSurfaceLICComposite.h +++ b/Rendering/LICOpenGL2/vtkSurfaceLICComposite.h @@ -69,7 +69,7 @@ class VTKRENDERINGLICOPENGL2_EXPORT vtkSurfaceLICComposite : public vtkObject * IPC during compositing if any of the block extents cover * or intersect a number of block extents. The input data * needs to be shuffled but not unshuffled since for overlapping - * regions LIC is computed by all proccesses that overlap. + * regions LIC is computed by all processes that overlap. * If there is very little overlap between block extents * then this method is superior since no unshuffle is needed. diff --git a/Rendering/LICOpenGL2/vtkSurfaceLICInterface.h b/Rendering/LICOpenGL2/vtkSurfaceLICInterface.h index fe2396e3d76..b3368da65e5 100644 --- a/Rendering/LICOpenGL2/vtkSurfaceLICInterface.h +++ b/Rendering/LICOpenGL2/vtkSurfaceLICInterface.h @@ -199,7 +199,7 @@ class VTKRENDERINGLICOPENGL2_EXPORT vtkSurfaceLICInterface : public vtkObject * of m and M are the min and max taken over all fragments. * This increase the dynamic range and contrast in the LIC'd image, both of - * which are natuarly attenuated by the convolution proccess. + * which are natuarly attenuated by the convolution process. * Values @@ -264,7 +264,7 @@ class VTKRENDERINGLICOPENGL2_EXPORT vtkSurfaceLICInterface : public vtkObject /** * Set/Get the color mode. The color mode controls how scalar colors are * combined with the LIC in the final image. The BLEND mode combines scalar - * colors with LIC intensities with proportional blending controled by the + * colors with LIC intensities with proportional blending controlled by the * LICIntensity parameter. The MAP mode combines scalar colors with LIC, * by multiplication the HSL represntation of color's lightness. diff --git a/Rendering/LOD/vtkLODActor.h b/Rendering/LOD/vtkLODActor.h index 83e3be8f05b..a649e30a557 100644 --- a/Rendering/LOD/vtkLODActor.h +++ b/Rendering/LOD/vtkLODActor.h @@ -87,7 +87,7 @@ class VTKRENDERINGLOD_EXPORT vtkLODActor : public vtkActor void Render(vtkRenderer *, vtkMapper *) VTK_OVERRIDE; /** - * This method is used internally by the rendering process. We overide + * This method is used internally by the rendering process. We override * the superclass method to properly set the estimated render time. */ int RenderOpaqueGeometry(vtkViewport* viewport) VTK_OVERRIDE; diff --git a/Rendering/LOD/vtkQuadricLODActor.h b/Rendering/LOD/vtkQuadricLODActor.h index 9a27cf071fd..cc8b495f308 100644 --- a/Rendering/LOD/vtkQuadricLODActor.h +++ b/Rendering/LOD/vtkQuadricLODActor.h @@ -211,7 +211,7 @@ class VTKRENDERINGLOD_EXPORT vtkQuadricLODActor : public vtkActor void Render(vtkRenderer *, vtkMapper *) VTK_OVERRIDE; /** - * This method is used internally by the rendering process. We overide + * This method is used internally by the rendering process. We override * the superclass method to properly set the estimated render time. */ int RenderOpaqueGeometry(vtkViewport *viewport) VTK_OVERRIDE; diff --git a/Rendering/Label/vtkDynamic2DLabelMapper.cxx b/Rendering/Label/vtkDynamic2DLabelMapper.cxx index 14a6b8f3dff..639c2ba06ea 100644 --- a/Rendering/Label/vtkDynamic2DLabelMapper.cxx +++ b/Rendering/Label/vtkDynamic2DLabelMapper.cxx @@ -275,7 +275,7 @@ void vtkDynamic2DLabelMapper::RenderOpaqueGeometry(vtkViewport *viewport, { case VTK_VOID: FormatString = "0x%x"; break; - // dont use vtkTypeTraits::ParseFormat for character types as parse formats + // don't use vtkTypeTraits::ParseFormat for character types as parse formats // aren't the same as print formats for these types. case VTK_BIT: case VTK_SHORT: diff --git a/Rendering/Label/vtkLabeledDataMapper.cxx b/Rendering/Label/vtkLabeledDataMapper.cxx index 4506b8c0cf2..3f57378afd5 100644 --- a/Rendering/Label/vtkLabeledDataMapper.cxx +++ b/Rendering/Label/vtkLabeledDataMapper.cxx @@ -463,7 +463,7 @@ void vtkLabeledDataMapper::BuildLabelsInternal(vtkDataSet* input) { case VTK_VOID: FormatString = "0x%x"; break; - // dont use vtkTypeTraits::ParseFormat for character types as parse formats + // don't use vtkTypeTraits::ParseFormat for character types as parse formats // aren't the same as print formats for these types. case VTK_BIT: case VTK_SHORT: diff --git a/Rendering/OSPRay/vtkOSPRayRendererNode.h b/Rendering/OSPRay/vtkOSPRayRendererNode.h index ddab40c20d8..fc91787de09 100644 --- a/Rendering/OSPRay/vtkOSPRayRendererNode.h +++ b/Rendering/OSPRay/vtkOSPRayRendererNode.h @@ -61,7 +61,7 @@ class VTKRENDERINGOSPRAY_EXPORT vtkOSPRayRendererNode : virtual void Build(bool prepass); /** - * Traverse graph in ospray's prefered order and render + * Traverse graph in ospray's preferred order and render */ virtual void Render(bool prepass); diff --git a/Rendering/OpenGL/vtkCoincidentTopologyResolutionPainter.h b/Rendering/OpenGL/vtkCoincidentTopologyResolutionPainter.h index 25852a57297..6a617407d8d 100644 --- a/Rendering/OpenGL/vtkCoincidentTopologyResolutionPainter.h +++ b/Rendering/OpenGL/vtkCoincidentTopologyResolutionPainter.h @@ -86,7 +86,7 @@ class VTKRENDERINGOPENGL_EXPORT vtkCoincidentTopologyResolutionPainter : void ProcessInformation(vtkInformation*) VTK_OVERRIDE; // These are method to set ivars. These are purpisefully protected. - // The only means to affect these values is thru information object. + // The only means to affect these values is through information object. vtkSetMacro(ResolveCoincidentTopology, int); vtkSetMacro(ZShift, double); vtkSetMacro(OffsetFaces, int); diff --git a/Rendering/OpenGL/vtkFrameBufferObject.cxx b/Rendering/OpenGL/vtkFrameBufferObject.cxx index e621016a887..6d6035d07f2 100644 --- a/Rendering/OpenGL/vtkFrameBufferObject.cxx +++ b/Rendering/OpenGL/vtkFrameBufferObject.cxx @@ -206,7 +206,7 @@ void vtkFrameBufferObject::SetContext(vtkRenderWindow *renWin) vtkErrorMacro("Context does not support the required extensions"); return; } - // intialize + // initialize this->Context=renWin; this->Context->MakeCurrent(); this->CreateFBO(); diff --git a/Rendering/OpenGL/vtkFrameBufferObject2.cxx b/Rendering/OpenGL/vtkFrameBufferObject2.cxx index 85e1848d845..1678d1fbb0e 100644 --- a/Rendering/OpenGL/vtkFrameBufferObject2.cxx +++ b/Rendering/OpenGL/vtkFrameBufferObject2.cxx @@ -183,7 +183,7 @@ void vtkFrameBufferObject2::SetContext(vtkRenderWindow *renWin) vtkErrorMacro("Context does not support the required extensions"); return; } - // intialize + // initialize this->Context=renWin; this->Context->MakeCurrent(); this->CreateFBO(); diff --git a/Rendering/OpenGL/vtkFrameBufferObject2.h b/Rendering/OpenGL/vtkFrameBufferObject2.h index 6f5e248b5a3..0be555c91a8 100644 --- a/Rendering/OpenGL/vtkFrameBufferObject2.h +++ b/Rendering/OpenGL/vtkFrameBufferObject2.h @@ -247,7 +247,7 @@ class VTKRENDERINGOPENGL_EXPORT vtkFrameBufferObject2 : public vtkObject /** * Copy from the currently bound READ FBO to the currently * bound DRAW FBO. The method is static so that one doesn't - * need to ccreate an instance when transfering between attachments + * need to ccreate an instance when transferring between attachments * in the default FBO. */ static diff --git a/Rendering/OpenGL/vtkLinesPainter.h b/Rendering/OpenGL/vtkLinesPainter.h index 824bb5317d8..1a04af8b2ae 100644 --- a/Rendering/OpenGL/vtkLinesPainter.h +++ b/Rendering/OpenGL/vtkLinesPainter.h @@ -45,7 +45,7 @@ class VTKRENDERINGOPENGL_EXPORT vtkLinesPainter : public vtkPrimitivePainter int RenderPolys; // Flag indicating if the line loops are to be closed. /** - * Overriden to set RenderPolys flag. When set, polys are rendered + * Overridden to set RenderPolys flag. When set, polys are rendered * as line loops. */ void RenderInternal(vtkRenderer* renderer, vtkActor* actor, diff --git a/Rendering/OpenGL/vtkOpenGLError.h.in b/Rendering/OpenGL/vtkOpenGLError.h.in index cf6d080e0c2..910f8f17117 100644 --- a/Rendering/OpenGL/vtkOpenGLError.h.in +++ b/Rendering/OpenGL/vtkOpenGLError.h.in @@ -51,7 +51,7 @@ // makes OpenGL calls, you isolate the code and prevent it from // detecting any preceding errors. By calling vtkOpenGLCheckErrorMacro // at the bottom of the method you clear the error flags and report -// any errors that have occured in the method where they occured. +// any errors that have occurred in the method where they occurred. // // The macros maybe completely disabled via the CMakeLists variable // VTK_REPORT_OPENGL_ERRORS. Note that in that case error flags are diff --git a/Rendering/OpenGL/vtkOpenGLRenderWindow.cxx b/Rendering/OpenGL/vtkOpenGLRenderWindow.cxx index a05ed8f2d73..57de7241b25 100644 --- a/Rendering/OpenGL/vtkOpenGLRenderWindow.cxx +++ b/Rendering/OpenGL/vtkOpenGLRenderWindow.cxx @@ -272,7 +272,7 @@ void vtkOpenGLRenderWindow::SetSize(int x, int y) if (this->Size[0] == x && this->Size[1] == y) { - // Nothing should happend in the superclass but never knows... + // Nothing should've happened in the superclass but one never knows... this->Superclass::SetSize(x, y); return; } diff --git a/Rendering/OpenGL/vtkPixelBufferObject.h b/Rendering/OpenGL/vtkPixelBufferObject.h index 255116257a4..5b8bffb33ad 100644 --- a/Rendering/OpenGL/vtkPixelBufferObject.h +++ b/Rendering/OpenGL/vtkPixelBufferObject.h @@ -17,8 +17,8 @@ * @brief abstracts an OpenGL pixel buffer object. * * Provides low-level access to PBO mapped memory. Used to transfer raw data - * to/from PBO mapped memory and the application. Once data is transfered to - * the PBO it can then be transfered to the GPU (eg texture memory). Data may + * to/from PBO mapped memory and the application. Once data is transferred to + * the PBO it can then be transferred to the GPU (eg texture memory). Data may * be uploaded from the application into a pixel buffer or downloaded from the * pixel bufer to the application. The vtkTextureObject is used to transfer * data from/to the PBO to/from texture memory on the GPU. diff --git a/Rendering/OpenGL/vtkScalarsToColorsPainter.cxx b/Rendering/OpenGL/vtkScalarsToColorsPainter.cxx index 87f6eae795a..7ae489d391a 100644 --- a/Rendering/OpenGL/vtkScalarsToColorsPainter.cxx +++ b/Rendering/OpenGL/vtkScalarsToColorsPainter.cxx @@ -225,7 +225,7 @@ vtkDataObject* vtkScalarsToColorsPainter::NewClone(vtkDataObject* data) vtkDataSet* ds = vtkDataSet::SafeDownCast(data); vtkDataSet* clone = ds->NewInstance(); clone->ShallowCopy(ds); - // scalars passed thru this filter are colors, which will be buit in + // scalars passed through this filter are colors, which will be buit in // the pre-rendering stage. clone->GetCellData()->SetActiveAttribute(-1, vtkDataSetAttributes::SCALARS); clone->GetPointData()->SetActiveAttribute(-1, vtkDataSetAttributes::SCALARS); @@ -789,7 +789,7 @@ void CreateColorTextureCoordinates(T* input, float* output, bool use_log_scale) { // We have to change the range used for computing texture - // coordinates slightly to accomodate the special above- and + // coordinates slightly to accommodate the special above- and // below-range colors that are the first and last texels, // respectively. double scalar_texel_width = (range[1] - range[0]) / static_cast(tableNumberOfColors); diff --git a/Rendering/OpenGL/vtkShaderProgram2.cxx b/Rendering/OpenGL/vtkShaderProgram2.cxx index b38cd5633c6..6cd37735d0a 100644 --- a/Rendering/OpenGL/vtkShaderProgram2.cxx +++ b/Rendering/OpenGL/vtkShaderProgram2.cxx @@ -229,7 +229,7 @@ void vtkShaderProgram2::SetContext(vtkRenderWindow *renWin) vtkErrorMacro("The context does not support the required extensions."); return; } - // intialize + // initialize this->Context = renWin; this->Context->MakeCurrent(); } diff --git a/Rendering/OpenGL/vtkShaderProgram2.h b/Rendering/OpenGL/vtkShaderProgram2.h index 4950301cf4d..9d6f146744f 100644 --- a/Rendering/OpenGL/vtkShaderProgram2.h +++ b/Rendering/OpenGL/vtkShaderProgram2.h @@ -337,7 +337,7 @@ class VTKRENDERINGOPENGL_EXPORT vtkShaderProgram2 : public vtkObject this is provided as a way to avoid some of the overhead in this class's implementation of SendUniforms. One should use the following API if performance is a concern (eg. uniforms are - set per primative), or if the uniform management is not needed + set per primitive), or if the uniform management is not needed (eg. variables are already managed in other vtkObjects) */ @@ -349,7 +349,7 @@ class VTKRENDERINGOPENGL_EXPORT vtkShaderProgram2 : public vtkObject /** * Set a uniform value directly. The driving use case for this api - * is modifying a uniform per-primative in a loop. In that case + * is modifying a uniform per-primitive in a loop. In that case * we need the minimal implementtion passing the value directly to * the driver. It is an error to specify an invalid location. * Low level API diff --git a/Rendering/OpenGL/vtkTextureObject.h b/Rendering/OpenGL/vtkTextureObject.h index 5eac7937bfe..79db05e01ff 100644 --- a/Rendering/OpenGL/vtkTextureObject.h +++ b/Rendering/OpenGL/vtkTextureObject.h @@ -145,7 +145,7 @@ class VTKRENDERINGOPENGL_EXPORT vtkTextureObject : public vtkObject //@{ /** * Activate the texture. The texture must have been created using Create(). - * A side affect is that tex paramteres are sent. + * A side affect is that tex parameterses are sent. * RenderWindow must be set before calling this. */ void Bind(); diff --git a/Rendering/OpenGL/vtkWin32OpenGLRenderWindow.cxx b/Rendering/OpenGL/vtkWin32OpenGLRenderWindow.cxx index 91e87419621..626b3c02f86 100644 --- a/Rendering/OpenGL/vtkWin32OpenGLRenderWindow.cxx +++ b/Rendering/OpenGL/vtkWin32OpenGLRenderWindow.cxx @@ -839,7 +839,7 @@ LRESULT vtkWin32OpenGLRenderWindow::MessageProc(HWND hWnd, UINT message, { case WM_CREATE: { - // nothing to be done here, opengl is initilized after the call to + // nothing to be done here, opengl is initialized after the call to // create now return 0; } diff --git a/Rendering/OpenGL2/glsl/readme.txt b/Rendering/OpenGL2/glsl/readme.txt index 9538ce98ca2..e89859ae1f9 100644 --- a/Rendering/OpenGL2/glsl/readme.txt +++ b/Rendering/OpenGL2/glsl/readme.txt @@ -20,7 +20,7 @@ For example //VTK::Normal::Dec - declaration any uniforms/varying needed for normals //VTK::Normal::Impl - Implementation of shader code for handling normals -All shaders should start with the folowing line +All shaders should start with the following line //VTK::System::Dec diff --git a/Rendering/OpenGL2/vtkDepthPeelingPass.cxx b/Rendering/OpenGL2/vtkDepthPeelingPass.cxx index e43cd8e773f..5cb607a9249 100644 --- a/Rendering/OpenGL2/vtkDepthPeelingPass.cxx +++ b/Rendering/OpenGL2/vtkDepthPeelingPass.cxx @@ -586,7 +586,7 @@ bool vtkDepthPeelingPass::PostReplaceShaderValues(std::string &, // counting/accumulating pixels of the same surface twice // simply due to this randomness in z values. So we introduce // an epsilon into the transparent test to require some - // minimal z seperation between pixels + // minimal z separation between pixels vtkShaderProgram::Substitute( fragmentShader, "//VTK::DepthPeeling::Impl", "vec2 dpTexCoord = (gl_FragCoord.xy - vpOrigin) / vpSize;\n" diff --git a/Rendering/OpenGL2/vtkOpenGLError.h.in b/Rendering/OpenGL2/vtkOpenGLError.h.in index d521f159fd1..1590cd656cd 100644 --- a/Rendering/OpenGL2/vtkOpenGLError.h.in +++ b/Rendering/OpenGL2/vtkOpenGLError.h.in @@ -52,7 +52,7 @@ * makes OpenGL calls, you isolate the code and prevent it from * detecting any preceding errors. By calling vtkOpenGLCheckErrorMacro * at the bottom of the method you clear the error flags and report - * any errors that have occured in the method where they occured. + * any errors that have occurred in the method where they occurred. * * The macros maybe completely disabled via the CMakeLists variable * VTK_REPORT_OPENGL_ERRORS. Note that in that case error flags are diff --git a/Rendering/OpenGL2/vtkOpenGLFramebufferObject.cxx b/Rendering/OpenGL2/vtkOpenGLFramebufferObject.cxx index 63dd52e91f9..8179abce0aa 100644 --- a/Rendering/OpenGL2/vtkOpenGLFramebufferObject.cxx +++ b/Rendering/OpenGL2/vtkOpenGLFramebufferObject.cxx @@ -383,7 +383,7 @@ void vtkOpenGLFramebufferObject::SetContext(vtkRenderWindow *rw) vtkErrorMacro("Context does not support the required extensions"); return; } - // intialize + // initialize this->Context=renWin; this->Context->MakeCurrent(); this->CreateFBO(); diff --git a/Rendering/OpenGL2/vtkOpenGLFramebufferObject.h b/Rendering/OpenGL2/vtkOpenGLFramebufferObject.h index 17f01dcb1a4..c20627e57fe 100644 --- a/Rendering/OpenGL2/vtkOpenGLFramebufferObject.h +++ b/Rendering/OpenGL2/vtkOpenGLFramebufferObject.h @@ -420,7 +420,7 @@ class VTKRENDERINGOPENGL2_EXPORT vtkOpenGLFramebufferObject : public vtkFrameBuf /** * Copy from the currently bound READ FBO to the currently * bound DRAW FBO. The method is static so that one doesn't - * need to ccreate an instance when transfering between attachments + * need to ccreate an instance when transferring between attachments * in the default FBO. */ static int Blit( diff --git a/Rendering/OpenGL2/vtkOpenGLGlyph3DHelper.h b/Rendering/OpenGL2/vtkOpenGLGlyph3DHelper.h index cb9202e38a0..cb6a71a4e58 100644 --- a/Rendering/OpenGL2/vtkOpenGLGlyph3DHelper.h +++ b/Rendering/OpenGL2/vtkOpenGLGlyph3DHelper.h @@ -55,7 +55,7 @@ class VTKRENDERINGOPENGL2_EXPORT vtkOpenGLGlyph3DHelper : public vtkOpenGLPolyDa } /** - * Fast path for rendering glyphs comprised of only one type of primative + * Fast path for rendering glyphs comprised of only one type of primitive * Must set this->CurrentInput explicitly before calling. */ void GlyphRender(vtkRenderer* ren, vtkActor* actor, vtkIdType numPts, diff --git a/Rendering/OpenGL2/vtkOpenGLIndexBufferObject.cxx b/Rendering/OpenGL2/vtkOpenGLIndexBufferObject.cxx index 279dc7808cb..e2c13beac75 100644 --- a/Rendering/OpenGL2/vtkOpenGLIndexBufferObject.cxx +++ b/Rendering/OpenGL2/vtkOpenGLIndexBufferObject.cxx @@ -133,7 +133,7 @@ struct AppendTrianglesWorker } // end anon namespace -// used to create an IBO for triangle primatives +// used to create an IBO for triangle primitives void vtkOpenGLIndexBufferObject::AppendTriangleIndexBuffer( std::vector &indexArray, vtkCellArray *cells, @@ -178,7 +178,7 @@ void vtkOpenGLIndexBufferObject::AppendTriangleIndexBuffer( } } -// used to create an IBO for triangle primatives +// used to create an IBO for triangle primitives size_t vtkOpenGLIndexBufferObject::CreateTriangleIndexBuffer( vtkCellArray *cells, vtkPoints *points) @@ -195,7 +195,7 @@ size_t vtkOpenGLIndexBufferObject::CreateTriangleIndexBuffer( return indexArray.size(); } -// used to create an IBO for point primatives +// used to create an IBO for point primitives void vtkOpenGLIndexBufferObject::AppendPointIndexBuffer( std::vector &indexArray, vtkCellArray *cells, @@ -224,7 +224,7 @@ void vtkOpenGLIndexBufferObject::AppendPointIndexBuffer( } } -// used to create an IBO for triangle primatives +// used to create an IBO for triangle primitives size_t vtkOpenGLIndexBufferObject::CreatePointIndexBuffer(vtkCellArray *cells) { if (!cells->GetNumberOfCells()) @@ -240,7 +240,7 @@ size_t vtkOpenGLIndexBufferObject::CreatePointIndexBuffer(vtkCellArray *cells) } -// used to create an IBO for primatives as lines. This method treats each line segment +// used to create an IBO for primitives as lines. This method treats each line segment // as independent. So for a triangle mesh you would get 6 verts per triangle // 3 edges * 2 verts each. With a line loop you only get 3 verts so half the storage. // but... line loops are slower than line segments. @@ -274,7 +274,7 @@ void vtkOpenGLIndexBufferObject::AppendTriangleLineIndexBuffer( } } -// used to create an IBO for primatives as lines. This method treats each line segment +// used to create an IBO for primitives as lines. This method treats each line segment // as independent. So for a triangle mesh you would get 6 verts per triangle // 3 edges * 2 verts each. With a line loop you only get 3 verts so half the storage. // but... line loops are slower than line segments. @@ -293,7 +293,7 @@ size_t vtkOpenGLIndexBufferObject::CreateTriangleLineIndexBuffer( return indexArray.size(); } -// used to create an IBO for primatives as lines. This method treats each +// used to create an IBO for primitives as lines. This method treats each // line segment as independent. So for a line strip you would get multiple // line segments out void vtkOpenGLIndexBufferObject::AppendLineIndexBuffer( @@ -330,7 +330,7 @@ void vtkOpenGLIndexBufferObject::AppendLineIndexBuffer( } } -// used to create an IBO for primatives as lines. This method treats each +// used to create an IBO for primitives as lines. This method treats each // line segment as independent. So for a line strip you would get multiple // line segments out size_t vtkOpenGLIndexBufferObject::CreateLineIndexBuffer(vtkCellArray *cells) @@ -593,7 +593,7 @@ size_t vtkOpenGLIndexBufferObject::CreateEdgeFlagIndexBuffer( return indexArray.size(); } -// used to create an IBO for point primatives +// used to create an IBO for point primitives void vtkOpenGLIndexBufferObject::AppendVertexIndexBuffer( std::vector &indexArray, vtkCellArray **cells, @@ -634,7 +634,7 @@ void vtkOpenGLIndexBufferObject::AppendVertexIndexBuffer( } -// used to create an IBO for triangle primatives +// used to create an IBO for triangle primitives size_t vtkOpenGLIndexBufferObject::CreateVertexIndexBuffer(vtkCellArray **cells) { unsigned long totalCells = 0; diff --git a/Rendering/OpenGL2/vtkOpenGLIndexBufferObject.h b/Rendering/OpenGL2/vtkOpenGLIndexBufferObject.h index 7803a3c25b0..16b5a71f39e 100644 --- a/Rendering/OpenGL2/vtkOpenGLIndexBufferObject.h +++ b/Rendering/OpenGL2/vtkOpenGLIndexBufferObject.h @@ -37,12 +37,12 @@ class VTKRENDERINGOPENGL2_EXPORT vtkOpenGLIndexBufferObject : size_t IndexCount; // Number of indices in the VBO // Description: - // used to create an IBO for triangle primatives + // used to create an IBO for triangle primitives size_t CreateTriangleIndexBuffer(vtkCellArray *cells, vtkPoints *points); // Description: - // used to create an IBO for triangle primatives + // used to create an IBO for triangle primitives static void AppendTriangleIndexBuffer( std::vector &indexArray, vtkCellArray *cells, @@ -54,7 +54,7 @@ class VTKRENDERINGOPENGL2_EXPORT vtkOpenGLIndexBufferObject : size_t CreateTriangleLineIndexBuffer(vtkCellArray *cells); // Description: - // used to create an IBO for line primatives + // used to create an IBO for line primitives static void AppendLineIndexBuffer( std::vector &indexArray, vtkCellArray *cells, @@ -72,11 +72,11 @@ class VTKRENDERINGOPENGL2_EXPORT vtkOpenGLIndexBufferObject : vtkIdType vertexOffset); // Description: - // used to create an IBO for primatives as points + // used to create an IBO for primitives as points size_t CreatePointIndexBuffer(vtkCellArray *cells); // Description: - // used to create an IBO for primatives as points + // used to create an IBO for primitives as points static void AppendPointIndexBuffer( std::vector &indexArray, vtkCellArray *cells, @@ -121,7 +121,7 @@ class VTKRENDERINGOPENGL2_EXPORT vtkOpenGLIndexBufferObject : size_t CreateVertexIndexBuffer(vtkCellArray **cells); // Description: - // used to create an IBO for primatives as points + // used to create an IBO for primitives as points static void AppendVertexIndexBuffer( std::vector &indexArray, vtkCellArray **cells, diff --git a/Rendering/OpenGL2/vtkOpenGLLabeledContourMapper.h b/Rendering/OpenGL2/vtkOpenGLLabeledContourMapper.h index f952fdc91a8..0952e201781 100644 --- a/Rendering/OpenGL2/vtkOpenGLLabeledContourMapper.h +++ b/Rendering/OpenGL2/vtkOpenGLLabeledContourMapper.h @@ -45,7 +45,7 @@ class VTKRENDERINGOPENGL2_EXPORT vtkOpenGLLabeledContourMapper vtkOpenGLLabeledContourMapper(); ~vtkOpenGLLabeledContourMapper() VTK_OVERRIDE; - // We override this for compatibilty with the OpenGL backend: + // We override this for compatibility with the OpenGL backend: // The old backend pushes actor matrices onto the matrix stack, so the text // actors already accounted for any transformations on this mapper's actor. // The new backend passes each actor's matrix to the shader individually, and diff --git a/Rendering/OpenGL2/vtkOpenGLPolyDataMapper.cxx b/Rendering/OpenGL2/vtkOpenGLPolyDataMapper.cxx index 5b7761a3d6d..3ae28edd2d8 100644 --- a/Rendering/OpenGL2/vtkOpenGLPolyDataMapper.cxx +++ b/Rendering/OpenGL2/vtkOpenGLPolyDataMapper.cxx @@ -1629,7 +1629,7 @@ bool vtkOpenGLPolyDataMapper::GetNeedToRebuildShaders( int lightComplexity = 0; // wacky backwards compatibility with old VTK lighting - // soooo there are many factors that determine if a primative is lit or not. + // soooo there are many factors that determine if a primitive is lit or not. // three that mix in a complex way are representation POINT, Interpolation FLAT // and having normals or not. bool needLighting = false; @@ -2739,7 +2739,7 @@ void vtkOpenGLPolyDataMapper::AppendCellTextures( this->HavePickScalars = true; } - // handle composite ID point picking seperately as the data is on Cells + // handle composite ID point picking separately as the data is on Cells if (this->HavePickScalars && selector->GetFieldAssociation() == vtkDataObject::FIELD_ASSOCIATION_POINTS && selector->GetCurrentPass() == vtkHardwareSelector::COMPOSITE_INDEX_PASS) diff --git a/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx b/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx index 353b8077693..15f5536419f 100644 --- a/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx +++ b/Rendering/OpenGL2/vtkOpenGLRenderWindow.cxx @@ -410,7 +410,7 @@ void vtkOpenGLRenderWindow::SetSize(int x, int y) if (this->Size[0] == x && this->Size[1] == y) { - // Nothing should happend in the superclass but never knows... + // Nothing should've happened in the superclass but one never knows... this->Superclass::SetSize(x, y); return; } @@ -1173,7 +1173,7 @@ void vtkOpenGLRenderWindow::DrawPixels( NULL, NULL); } -// less generic verison, old API +// less generic version, old API void vtkOpenGLRenderWindow::DrawPixels(int x1, int y1, int x2, int y2, int numComponents, int dataType, void *data) { int y_low, y_hi; diff --git a/Rendering/OpenGL2/vtkOpenGLVertexArrayObject.cxx b/Rendering/OpenGL2/vtkOpenGLVertexArrayObject.cxx index 86cc41b075b..3d9c80a37d4 100644 --- a/Rendering/OpenGL2/vtkOpenGLVertexArrayObject.cxx +++ b/Rendering/OpenGL2/vtkOpenGLVertexArrayObject.cxx @@ -300,7 +300,7 @@ bool vtkOpenGLVertexArrayObject::AddAttributeArrayWithDivisor(vtkShaderProgram * return false; } - // Perform initalization if necessary, ensure program matches VAOs. + // Perform initialization if necessary, ensure program matches VAOs. if (this->Internal->HandleProgram == 0) { this->Internal->HandleProgram = static_cast(program->GetHandle()); diff --git a/Rendering/OpenGL2/vtkPixelBufferObject.h b/Rendering/OpenGL2/vtkPixelBufferObject.h index 4c1bfc43afa..e6964bb4d0f 100644 --- a/Rendering/OpenGL2/vtkPixelBufferObject.h +++ b/Rendering/OpenGL2/vtkPixelBufferObject.h @@ -17,8 +17,8 @@ * @brief abstracts an OpenGL pixel buffer object. * * Provides low-level access to PBO mapped memory. Used to transfer raw data - * to/from PBO mapped memory and the application. Once data is transfered to - * the PBO it can then be transfered to the GPU (eg texture memory). Data may + * to/from PBO mapped memory and the application. Once data is transferred to + * the PBO it can then be transferred to the GPU (eg texture memory). Data may * be uploaded from the application into a pixel buffer or downloaded from the * pixel bufer to the application. The vtkTextureObject is used to transfer * data from/to the PBO to/from texture memory on the GPU. diff --git a/Rendering/OpenGL2/vtkTextureObject.h b/Rendering/OpenGL2/vtkTextureObject.h index 5367de67be5..daec356168f 100644 --- a/Rendering/OpenGL2/vtkTextureObject.h +++ b/Rendering/OpenGL2/vtkTextureObject.h @@ -179,7 +179,7 @@ class VTKRENDERINGOPENGL2_EXPORT vtkTextureObject : public vtkObject //@{ /** * Bind UnBind The texture must have been created using Create(). - * A side affect is that tex paramteres are sent. + * A side affect is that tex parameterses are sent. * RenderWindow must be set before calling this. */ void Bind(); diff --git a/Rendering/OpenGL2/vtkWin32OpenGLRenderWindow.cxx b/Rendering/OpenGL2/vtkWin32OpenGLRenderWindow.cxx index da9d79cc08a..5f37a4242c9 100644 --- a/Rendering/OpenGL2/vtkWin32OpenGLRenderWindow.cxx +++ b/Rendering/OpenGL2/vtkWin32OpenGLRenderWindow.cxx @@ -800,7 +800,7 @@ LRESULT vtkWin32OpenGLRenderWindow::MessageProc(HWND hWnd, UINT message, { case WM_CREATE: { - // nothing to be done here, opengl is initilized after the call to + // nothing to be done here, opengl is initialized after the call to // create now return 0; } diff --git a/Rendering/ParallelLIC/vtkPPainterCommunicator.cxx b/Rendering/ParallelLIC/vtkPPainterCommunicator.cxx index 1a88743f1e2..f948896f12a 100644 --- a/Rendering/ParallelLIC/vtkPPainterCommunicator.cxx +++ b/Rendering/ParallelLIC/vtkPPainterCommunicator.cxx @@ -59,7 +59,7 @@ void vtkPPainterCommunicatorInternals::SetCommunicator( MPI_Comm comm, bool ownership) { - // avoid uneccessary operations + // avoid unnecessary operations if (this->Communicator == comm) { return; @@ -84,7 +84,7 @@ void vtkPPainterCommunicatorInternals::SetCommunicator( //----------------------------------------------------------------------------- void vtkPPainterCommunicatorInternals::DuplicateCommunicator(MPI_Comm comm) { - // avoid uneccessary operations + // avoid unnecessary operations if (this->Communicator == comm) { return; diff --git a/Rendering/ParallelLIC/vtkParallelTimer.h b/Rendering/ParallelLIC/vtkParallelTimer.h index c9a65142f93..37fef3314ae 100644 --- a/Rendering/ParallelLIC/vtkParallelTimer.h +++ b/Rendering/ParallelLIC/vtkParallelTimer.h @@ -148,7 +148,7 @@ class VTKRENDERINGPARALLELLIC_EXPORT vtkParallelTimer : public vtkObject * When an object is finished writing data to the log * object it must call Update to send the data to the writer * rank. - * This ensures that all data is transfered to the root before + * This ensures that all data is transferred to the root before * MPI_Finalize is called while allowing the write to occur * after Mpi_finalize. Note: This is a collective call. */ diff --git a/Rendering/SceneGraph/vtkPolyDataMapperNode.cxx b/Rendering/SceneGraph/vtkPolyDataMapperNode.cxx index 096010ceb38..3a5fe139431 100644 --- a/Rendering/SceneGraph/vtkPolyDataMapperNode.cxx +++ b/Rendering/SceneGraph/vtkPolyDataMapperNode.cxx @@ -204,7 +204,7 @@ namespace { return; } unsigned int cell_id = 0; - // the folowing are only used if we have to triangulate a polygon + // the following are only used if we have to triangulate a polygon // otherwise they just sit at NULL vtkPolygon *polygon = NULL; vtkIdList *tris = NULL; diff --git a/Rendering/Volume/vtkUnstructuredGridBunykRayCastFunction.cxx b/Rendering/Volume/vtkUnstructuredGridBunykRayCastFunction.cxx index bbf93289a21..0902c14a90b 100644 --- a/Rendering/Volume/vtkUnstructuredGridBunykRayCastFunction.cxx +++ b/Rendering/Volume/vtkUnstructuredGridBunykRayCastFunction.cxx @@ -605,7 +605,7 @@ void *vtkUnstructuredGridBunykRayCastFunction::NewIntersection() } -// The Intialize method is called from the ray caster at the start of +// The Initialize method is called from the ray caster at the start of // rendering. In this method we check if the render is valid (there is // a renderer, a volume, a mapper, input, etc). We build the basic // structured if necessary. Then we compute the view dependent information diff --git a/Rendering/Volume/vtkUnstructuredGridPreIntegration.h b/Rendering/Volume/vtkUnstructuredGridPreIntegration.h index 35bdc1627ba..45280586ed8 100644 --- a/Rendering/Volume/vtkUnstructuredGridPreIntegration.h +++ b/Rendering/Volume/vtkUnstructuredGridPreIntegration.h @@ -119,7 +119,7 @@ class VTKRENDERINGVOLUME_EXPORT vtkUnstructuredGridPreIntegration : public vtkUn /** * Get an entry (RGBA) in one of the pre-integration tables. The tables - * are built when Intialize is called. + * are built when Initialize is called. */ float *GetTableEntry(double scalar_front, double scalar_back, double lenth, int component = 0); diff --git a/Rendering/VolumeAMR/vtkAMRVolumeMapper.cxx b/Rendering/VolumeAMR/vtkAMRVolumeMapper.cxx index df24d27d484..c4aaa8662e8 100644 --- a/Rendering/VolumeAMR/vtkAMRVolumeMapper.cxx +++ b/Rendering/VolumeAMR/vtkAMRVolumeMapper.cxx @@ -569,7 +569,7 @@ void vtkAMRVolumeMapper::UpdateGrid() #if PRINTSTATS this->Grid->GetDimensions(gridDim); this->Grid->GetOrigin(gridOrigin); - std::cerr << "Grid Dimenions: (" << gridDim[0] << ", " << gridDim[1] << ", " + std::cerr << "Grid Dimensions: (" << gridDim[0] << ", " << gridDim[1] << ", " << gridDim[2] << ") Origin:(" << gridOrigin[0] << ", "<< gridOrigin[1] << ", " << gridOrigin[2] << ")\n"; diff --git a/Rendering/VolumeOpenGL/vtkOpenGLGPUVolumeRayCastMapper.cxx b/Rendering/VolumeOpenGL/vtkOpenGLGPUVolumeRayCastMapper.cxx index ddbfefdca2b..b6a2ad545c5 100644 --- a/Rendering/VolumeOpenGL/vtkOpenGLGPUVolumeRayCastMapper.cxx +++ b/Rendering/VolumeOpenGL/vtkOpenGLGPUVolumeRayCastMapper.cxx @@ -704,7 +704,7 @@ class vtkKWScalarField arrayId,arrayName, this->LoadedCellFlag); - // DONT USE GetScalarType() or GetNumberOfScalarComponents() on + // DON'T USE GetScalarType() or GetNumberOfScalarComponents() on // ImageData as it deals only with point data... int scalarType=scalars->GetDataType(); @@ -1251,7 +1251,7 @@ class vtkKWMask arrayId,arrayName, this->LoadedCellFlag); - // DONT USE GetScalarType() or GetNumberOfScalarComponents() on + // DON'T USE GetScalarType() or GetNumberOfScalarComponents() on // ImageData as it deals only with point data... int scalarType=scalars->GetDataType(); diff --git a/Rendering/VolumeOpenGL2/vtkOpenGLGPUVolumeRayCastMapper.cxx b/Rendering/VolumeOpenGL2/vtkOpenGLGPUVolumeRayCastMapper.cxx index 666c0e10bd1..b7fc5986690 100644 --- a/Rendering/VolumeOpenGL2/vtkOpenGLGPUVolumeRayCastMapper.cxx +++ b/Rendering/VolumeOpenGL2/vtkOpenGLGPUVolumeRayCastMapper.cxx @@ -556,7 +556,7 @@ void vtkOpenGLGPUVolumeRayCastMapper::vtkInternal::Initialize( } } - // We support upto four components + // We support up to four components if (noOfComponents > 1 && independentComponents) { this->OpacityTables = new vtkOpenGLVolumeOpacityTables(noOfComponents); @@ -3311,7 +3311,7 @@ void vtkOpenGLGPUVolumeRayCastMapper::DoGPURender(vtkRenderer* ren, prog->SetUniformi("in_independentComponents", independentComponents); // LargeDataTypes have been already biased and scaled so in those cases 0s - // and 1s are passed repectively. + // and 1s are passed respectively. float tscale[4] = {1.0, 1.0, 1.0, 1.0}; float tbias[4] = {0.0, 0.0, 0.0, 0.0}; float (*scalePtr) [4] = &tscale; diff --git a/Rendering/VolumeOpenGL2/vtkVolumeMask.h b/Rendering/VolumeOpenGL2/vtkVolumeMask.h index eaaefb8f568..a121a7e60c5 100644 --- a/Rendering/VolumeOpenGL2/vtkVolumeMask.h +++ b/Rendering/VolumeOpenGL2/vtkVolumeMask.h @@ -124,7 +124,7 @@ class vtkVolumeMask arrayId,arrayName, this->LoadedCellFlag); - // DONT USE GetScalarType() or GetNumberOfScalarComponents() on + // DON'T USE GetScalarType() or GetNumberOfScalarComponents() on // ImageData as it deals only with point data... int scalarType = scalars->GetDataType(); if(scalarType != VTK_UNSIGNED_CHAR) diff --git a/Utilities/Doxygen/doc_contributors.pl b/Utilities/Doxygen/doc_contributors.pl index 8564d47fad4..de383b1712e 100755 --- a/Utilities/Doxygen/doc_contributors.pl +++ b/Utilities/Doxygen/doc_contributors.pl @@ -457,7 +457,7 @@ sub get_short_relative_name { $intermediate_time = time(); my $nb_removed = 0; -# Remove these changes that have been commited to more than 'n' files +# Remove these changes that have been committed to more than 'n' files # in the same day by the same author with same log message (= signature) foreach my $signature (sort { (scalar keys %{$log_revision_by_signature_file{$b}}) <=> (scalar keys %{$log_revision_by_signature_file{$a}}) } diff --git a/Views/Infovis/vtkDendrogramItem.h b/Views/Infovis/vtkDendrogramItem.h index 6d788caca27..99ff3a2c2b9 100644 --- a/Views/Infovis/vtkDendrogramItem.h +++ b/Views/Infovis/vtkDendrogramItem.h @@ -121,7 +121,7 @@ class VTKVIEWSINFOVIS_EXPORT vtkDendrogramItem : public vtkContextItem double GetAngleForOrientation(int orientation); /** - * Get the angle that vertex labels should be rotated for the correponding + * Get the angle that vertex labels should be rotated for the corresponding * tree orientation. For the default orientation (LEFT_TO_RIGHT), this * is 0 degrees. */ diff --git a/Views/Infovis/vtkGraphItem.h b/Views/Infovis/vtkGraphItem.h index b61f71dc702..567c09959d7 100644 --- a/Views/Infovis/vtkGraphItem.h +++ b/Views/Infovis/vtkGraphItem.h @@ -122,7 +122,7 @@ class VTKVIEWSINFOVIS_EXPORT vtkGraphItem : public vtkContextItem /** * Returns the number of edge control points for a particular edge. The * implementation returns GetNumberOfEdgePoints(edge) + 2 for the specified edge - * to incorporate the source and target vertex positions as intial + * to incorporate the source and target vertex positions as initial * and final edge points. */ virtual vtkIdType NumberOfEdgePoints(vtkIdType edge); diff --git a/Views/Infovis/vtkHeatmapItem.h b/Views/Infovis/vtkHeatmapItem.h index 3f68dd9653f..3e865cc8c53 100644 --- a/Views/Infovis/vtkHeatmapItem.h +++ b/Views/Infovis/vtkHeatmapItem.h @@ -92,7 +92,7 @@ class VTKVIEWSINFOVIS_EXPORT vtkHeatmapItem : public vtkContextItem int GetOrientation(); /** - * Get the angle that row labels should be rotated for the correponding + * Get the angle that row labels should be rotated for the corresponding * heatmap orientation. For the default orientation (LEFT_TO_RIGHT), this * is 0 degrees. */ diff --git a/Views/Infovis/vtkParallelCoordinatesRepresentation.cxx b/Views/Infovis/vtkParallelCoordinatesRepresentation.cxx index 6e383eac55e..922c8292c47 100644 --- a/Views/Infovis/vtkParallelCoordinatesRepresentation.cxx +++ b/Views/Infovis/vtkParallelCoordinatesRepresentation.cxx @@ -845,7 +845,7 @@ int vtkParallelCoordinatesRepresentation::UpdatePlotProperties(vtkStringArray* i } //------------------------------------------------------------------------------ -// Clear out all of the arrays and intialize them to defaults where appropriate. +// Clear out all of the arrays and initialize them to defaults where appropriate. int vtkParallelCoordinatesRepresentation::ReallocateInternals() { delete [] this->Maxs; diff --git a/Views/Infovis/vtkRenderView.cxx b/Views/Infovis/vtkRenderView.cxx index 962ab47dc13..444abff8ac7 100644 --- a/Views/Infovis/vtkRenderView.cxx +++ b/Views/Infovis/vtkRenderView.cxx @@ -97,7 +97,7 @@ vtkRenderView::vtkRenderView() this->LabelRenderer->SetActiveCamera(this->Renderer->GetActiveCamera()); this->RenderWindow->AddRenderer(this->LabelRenderer); - // Intialize the selector and listen to render events to help Selector know + // Initialize the selector and listen to render events to help Selector know // when to update the full-screen hardware pick. this->Selector->SetRenderer(this->Renderer); this->Selector->SetFieldAssociation(vtkDataObject::FIELD_ASSOCIATION_CELLS); diff --git a/Web/Core/vtkObjectIdMap.h b/Web/Core/vtkObjectIdMap.h index 766bce5efbf..3f2718a3857 100644 --- a/Web/Core/vtkObjectIdMap.h +++ b/Web/Core/vtkObjectIdMap.h @@ -15,7 +15,7 @@ /** * @class vtkObjectIdMap * @brief class used to assign Id to any VTK object and be able - * to retreive it base on its id. + * to retrieve it base on its id. */ #ifndef vtkObjectIdMap_h @@ -32,26 +32,26 @@ class VTKWEBCORE_EXPORT vtkObjectIdMap : public vtkObject void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE; /** - * Retreive a unique identifier for the given object or generate a new one + * Retrieve a unique identifier for the given object or generate a new one * if its global id was never requested. */ vtkTypeUInt32 GetGlobalId(vtkObject* obj); /** - * Retreive a vtkObject based on its global id. If not found return NULL + * Retrieve a vtkObject based on its global id. If not found return NULL */ vtkObject* GetVTKObject(vtkTypeUInt32 globalId); /** * Assign an active key (string) to an existing object. * This is usually used to provide another type of access to specific - * vtkObject that we want to retreive easily using a string. + * vtkObject that we want to retrieve easily using a string. * Return the global Id of the given registered object */ vtkTypeUInt32 SetActiveObject(const char* objectType, vtkObject* obj); /** - * Retreive a previously stored object based on a name + * Retrieve a previously stored object based on a name */ vtkObject* GetActiveObject(const char* objectType); diff --git a/Web/Python/vtk/web/testing.py b/Web/Python/vtk/web/testing.py index 3eabcceab34..76394b94106 100644 --- a/Web/Python/vtk/web/testing.py +++ b/Web/Python/vtk/web/testing.py @@ -309,7 +309,7 @@ def compare_images(test_img, baseline_img, tmp_dir="."): image as well as any other images in the same directory as the baseline image which follow the naming pattern: 'img.png', 'img_1.png', ... , 'img_N.png' - test_img: File name of output image to be compared agains baseline. + test_img: File name of output image to be compared against baseline. baseline_img: Fully qualified path to first of the baseline images. diff --git a/Web/WebGLExporter/vtkWebGLPolyData.cxx b/Web/WebGLExporter/vtkWebGLPolyData.cxx index a34d01f44d3..926669d6d17 100644 --- a/Web/WebGLExporter/vtkWebGLPolyData.cxx +++ b/Web/WebGLExporter/vtkWebGLPolyData.cxx @@ -536,7 +536,7 @@ void vtkWebGLPolyData::GetPolygonsFromPointData(vtkTriangleFilter* polydata, vtk for (int i=0; iGetNumberOfPoints()*3; i++) vertices[i] = data->GetPoint(i/3)[i%3]; //Index // ndata contain 4 values for the normal: [number of values per index, index[3]] - // We dont need the first value + // We don't need the first value int* indexes = new int[ndata->GetSize()*3/4]; for (int i=0; iGetSize(); i++) if (i%4 != 0) indexes[i*3/4] = ndata->GetValue(i); diff --git a/Wrapping/Python/vtk/gtk/GtkVTKRenderWindow.py b/Wrapping/Python/vtk/gtk/GtkVTKRenderWindow.py index cdcf0e1eb46..5519ca8143c 100644 --- a/Wrapping/Python/vtk/gtk/GtkVTKRenderWindow.py +++ b/Wrapping/Python/vtk/gtk/GtkVTKRenderWindow.py @@ -26,9 +26,9 @@ Bugs: (*) There is a focus related problem. Tkinter has a focus object - that handles focus events. I dont know of an equivalent object + that handles focus events. I don't know of an equivalent object under GTK. So, when an 'enter_notify_event' is received on the - GtkVTKRenderWindow I grab the focus but I dont know what to do when + GtkVTKRenderWindow I grab the focus but I don't know what to do when I get a 'leave_notify_event'. (*) Will not work under Win32 because it uses the XID of a window in diff --git a/Wrapping/Python/vtk/gtk/GtkVTKRenderWindowInteractor.py b/Wrapping/Python/vtk/gtk/GtkVTKRenderWindowInteractor.py index c706c2da865..f79a66530bd 100644 --- a/Wrapping/Python/vtk/gtk/GtkVTKRenderWindowInteractor.py +++ b/Wrapping/Python/vtk/gtk/GtkVTKRenderWindowInteractor.py @@ -16,9 +16,9 @@ Bugs: (*) There is a focus related problem. Tkinter has a focus object - that handles focus events. I dont know of an equivalent object + that handles focus events. I don't know of an equivalent object under GTK. So, when an 'enter_notify_event' is received on the - GtkVTKRenderWindow I grab the focus but I dont know what to do when + GtkVTKRenderWindow I grab the focus but I don't know what to do when I get a 'leave_notify_event'. (*) Will not work under Win32 because it uses the XID of a window in diff --git a/Wrapping/Python/vtk/qt/QVTKRenderWindowInteractor.py b/Wrapping/Python/vtk/qt/QVTKRenderWindowInteractor.py index ded9b701d23..9b56ce2d7a8 100644 --- a/Wrapping/Python/vtk/qt/QVTKRenderWindowInteractor.py +++ b/Wrapping/Python/vtk/qt/QVTKRenderWindowInteractor.py @@ -486,7 +486,7 @@ def QVTKRenderWidgetConeExample(): widget = QVTKRenderWindowInteractor() widget.Initialize() widget.Start() - # if you dont want the 'q' key to exit comment this. + # if you don't want the 'q' key to exit comment this. widget.AddObserver("ExitEvent", lambda o, e, a=app: a.quit()) ren = vtk.vtkRenderer() diff --git a/Wrapping/Python/vtk/test/Testing.py b/Wrapping/Python/vtk/test/Testing.py index 7e4de1ade66..696fa588656 100644 --- a/Wrapping/Python/vtk/test/Testing.py +++ b/Wrapping/Python/vtk/test/Testing.py @@ -87,7 +87,7 @@ class vtkTest: _VERBOSE = 0 # Determines if it is necessary to interact with the user. If zero -# dont interact if 1 interact. Set via command line args +# don't interact if 1 interact. Set via command line args _INTERACT = 0 # This will be set to 1 when the image test will not be performed. diff --git a/Wrapping/Python/vtk/tk/vtkTkRenderWidget.py b/Wrapping/Python/vtk/tk/vtkTkRenderWidget.py index 05161ec09f2..bc290b352cd 100644 --- a/Wrapping/Python/vtk/tk/vtkTkRenderWidget.py +++ b/Wrapping/Python/vtk/tk/vtkTkRenderWidget.py @@ -3,7 +3,7 @@ Created by David Gobbi, April 1999 -May ??, 1999 - Modifications peformed by Heather Drury, +May ??, 1999 - Modifications performed by Heather Drury, to rewrite _pan to match method in TkInteractor.tcl May 11, 1999 - Major rewrite by David Gobbi to make the interactor bindings identical to the TkInteractor.tcl diff --git a/Wrapping/Python/vtk/util/misc.py b/Wrapping/Python/vtk/util/misc.py index c4151fc562d..1c686d877f7 100644 --- a/Wrapping/Python/vtk/util/misc.py +++ b/Wrapping/Python/vtk/util/misc.py @@ -1,4 +1,4 @@ -"""Miscellaneous functions and classes that dont fit into specific +"""Miscellaneous functions and classes that don't fit into specific categories.""" import sys, os, vtk diff --git a/Wrapping/Tcl/vtkinteraction/bindings.tcl b/Wrapping/Tcl/vtkinteraction/bindings.tcl index 61975339dd2..e7d640f6487 100644 --- a/Wrapping/Tcl/vtkinteraction/bindings.tcl +++ b/Wrapping/Tcl/vtkinteraction/bindings.tcl @@ -254,7 +254,7 @@ namespace eval ::vtk { # window and that an interactive frame rate may be used. If it is not, # it uses the still update rate to render the scene with full details. # The timer itself is a call to the ExposeEvent observer, which will - # finaly render the window using a still update rate. + # finally render the window using a still update rate. proc cb_iren_configure_event {iren} { # Cancel the previous timer if any diff --git a/Wrapping/Tools/vtkParseData.h b/Wrapping/Tools/vtkParseData.h index 7b3602dd8d6..4abf5c8aed7 100644 --- a/Wrapping/Tools/vtkParseData.h +++ b/Wrapping/Tools/vtkParseData.h @@ -150,7 +150,7 @@ struct _ValueInfo parse_access_t Access; const char *Name; const char *Comment; - const char *Value; /* for vars or default paramter values */ + const char *Value; /* for vars or default parameters values */ unsigned int Type; /* as defined in vtkParseType.h */ const char *Class; /* classname for type */ int Count; /* total number of values, if known */ diff --git a/Wrapping/Tools/vtkParseJava.c b/Wrapping/Tools/vtkParseJava.c index fa0ae5ef83a..81b6fff099d 100644 --- a/Wrapping/Tools/vtkParseJava.c +++ b/Wrapping/Tools/vtkParseJava.c @@ -505,7 +505,7 @@ int checkFunctionSignature(ClassInfo *data) return 0; } - /* The GetInput() in vtkMapper cannot be overriden with a + /* The GetInput() in vtkMapper cannot be overridden with a * different return type, Java doesn't allow this */ if (strcmp(data->Name, "vtkMapper") == 0 && strcmp(currentFunction->Name, "GetInput") == 0) diff --git a/Wrapping/Tools/vtkParseJavaBeans.c b/Wrapping/Tools/vtkParseJavaBeans.c index 59d94eefe89..9e65b5cedd2 100644 --- a/Wrapping/Tools/vtkParseJavaBeans.c +++ b/Wrapping/Tools/vtkParseJavaBeans.c @@ -338,7 +338,7 @@ int checkFunctionSignature(ClassInfo *data) return 0; } - /* The GetInput() in vtkMapper cannot be overriden with a + /* The GetInput() in vtkMapper cannot be overridden with a * different return type, Java doesn't allow this */ if (strcmp(data->Name, "vtkMapper") == 0 && strcmp(currentFunction->Name, "GetInput") == 0) diff --git a/Wrapping/Tools/vtkParseMerge.h b/Wrapping/Tools/vtkParseMerge.h index 0f84950917b..a6b751c50e3 100644 --- a/Wrapping/Tools/vtkParseMerge.h +++ b/Wrapping/Tools/vtkParseMerge.h @@ -36,7 +36,7 @@ */ typedef struct _MergeInfo { - int NumberOfClasses; /* number of classes in geneology */ + int NumberOfClasses; /* number of classes in genealogy */ const char **ClassNames; /* class name */ int NumberOfFunctions; /* must match FunctionInfo */ int *NumberOfOverrides; /* n classes that define this function */ diff --git a/Wrapping/Tools/vtkWrapJava.c b/Wrapping/Tools/vtkWrapJava.c index 27597fbf6b2..86f11bf6586 100644 --- a/Wrapping/Tools/vtkWrapJava.c +++ b/Wrapping/Tools/vtkWrapJava.c @@ -837,7 +837,7 @@ int checkFunctionSignature(ClassInfo *data) return 0; } - /* The GetInput() in vtkMapper cannot be overriden with a + /* The GetInput() in vtkMapper cannot be overridden with a * different return type, Java doesn't allow this */ if (strcmp(data->Name, "vtkMapper") == 0 && strcmp(currentFunction->Name, "GetInput") == 0) diff --git a/Wrapping/Tools/vtkWrapTcl.c b/Wrapping/Tools/vtkWrapTcl.c index adfef8e1532..8d35c831321 100644 --- a/Wrapping/Tools/vtkWrapTcl.c +++ b/Wrapping/Tools/vtkWrapTcl.c @@ -878,7 +878,7 @@ int checkFunctionSignature(ClassInfo *data) args_ok = 0; } - /* watch out for functions that dont have enough info */ + /* watch out for functions that don't have enough info */ switch (baseType) { case VTK_PARSE_FLOAT: @@ -915,7 +915,7 @@ int checkFunctionSignature(ClassInfo *data) args_ok = 0; } - /* check for methods that will be overriden especially for Tcl */ + /* check for methods that will be overridden especially for Tcl */ if (!strcmp("vtkObject",data->Name)) { if (!strcmp(currentFunction->Name,"AddObserver"))