Commit 16f2bfea authored by Unknown's avatar Unknown
Browse files

Misc. doxy and comment typo fixes

Typos fixes for documentation and source code comments. This commit is a follow up to:   !3424
parent 6536b81a
......@@ -195,7 +195,7 @@ if(VTKm_ENABLE_CUDA)
# CUDA doesn't obey usage requirements so we have to use
# CUDA_INCLUDE_DIRECTORIES, but do get the proper list of
# include dirs I need to query the module system, which
# doesnt exist currently, so we manually call vtk_module_impl
# doesn't exist currently, so we manually call vtk_module_impl
vtk_module_impl()
cuda_include_directories(${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
......
......@@ -29,7 +29,7 @@ mark_as_advanced(OSPRAY_INSTALL_DIR)
set(OSPRAY_BUILD_DIR "" CACHE PATH "build location of ospray")
mark_as_advanced(OSPRAY_BUILD_DIR)
if (OSPRAY_INSTALL_DIR AND OSPRAY_BUILD_DIR)
message("Ignoring the ospray build location in favor of the intall location.")
message("Ignoring the ospray build location in favor of the install location.")
endif()
if (OSPRAY_INSTALL_DIR)
......
......@@ -13,7 +13,7 @@
# TK_WISH = full path to the wish executable
#
# In an effort to remove some clutter and clear up some issues for people
# who are not necessarily Tcl/Tk gurus/developpers, some variables were
# who are not necessarily Tcl/Tk gurus/developers, some variables were
# moved or removed. Changes compared to CMake 2.4 are:
# - The stub libraries are now found in FindTclStub.cmake
# => they were only useful for people writing Tcl/Tk extensions.
......
......@@ -294,7 +294,7 @@ if(APPLE)
if (CMAKE_OSX_DEPLOYMENT_TARGET AND
CMAKE_OSX_DEPLOYMENT_TARGET VERSION_LESS 10.7)
message(FATAL_ERROR "Minimun OS X deployment target is 10.7, please update CMAKE_OSX_DEPLOYMENT_TARGET.")
message(FATAL_ERROR "Minimum OS X deployment target is 10.7, please update CMAKE_OSX_DEPLOYMENT_TARGET.")
endif ()
endif()
......
......@@ -1673,10 +1673,10 @@ double vtkAxis::LogScaleTickMark(double number,
bool &niceValue,
int &order)
{
// We need to retrive the order of our number.
// We need to retrieve the order of our number.
order = static_cast<int>(floor(log10(number)));
// We retrive the basis of our number depending on roundUp and return it as
// We retrieve the basis of our number depending on roundUp and return it as
// result.
number = number * pow(10.0, static_cast<double>(order*(-1)));
double result = roundUp ? ceil(number) : floor(number);
......
......@@ -68,7 +68,7 @@ public:
};
//@{
/**
* PointsFunction controls wether the points represent the
* PointsFunction controls whether the points represent the
* ColorTransferFunction, OpacityTransferFunction or both.
* If ColorPointsFunction, only the points of the ColorTransfer function are
* used.
......
......@@ -90,7 +90,7 @@ public:
* column and the second represent the x,y position . The five others
* columns represent the quartiles used to display the box.
* Inherited method will call the last SetInputData method with default
* paramaters.
* parameters.
*/
void SetInputData(vtkTable *table) override;
void SetInputData(vtkTable *table, const vtkStdString &yColumn,
......
......@@ -1498,7 +1498,7 @@ int Test_void_Reset()
vtkIdType tuples = 0;
array->SetNumberOfComponents(comps);
// Reseting a new array shouldn't cause issues
// Resetting a new array shouldn't cause issues
array->Reset();
DataArrayAPIAssert(array->GetMaxId() == -1,
"Invalid MaxId (" << array->GetMaxId() << ").");
......
......@@ -19,7 +19,7 @@
* Use vtkEventForwarderCommand to forward an event to a new object.
* This command will intercept the event, and use InvokeEvent
* on a 'target' as if that object was the one that invoked the event instead
* of the object this commmand was attached to using AddObserver.
* of the object this command was attached to using AddObserver.
*
* @sa
* vtkCommand
......
......@@ -240,7 +240,7 @@ public:
/**
* Update the modification time for this object and its Data.
* As this object acts as a shell around a DataArray and
* forwards Set methods it needs to forward Modifed as well.
* forwards Set methods it needs to forward Modified as well.
*/
void Modified() override;
......
......@@ -73,7 +73,7 @@ VTK_TYPE_TRAITS(float, FLOAT, 1, Float32, float, "%f");
VTK_TYPE_TRAITS(double, DOUBLE, 1, Float64, double, "%lf");
// Define traits for char types.
// Note the print type is short because not all platforms support formating integers with char.
// Note the print type is short because not all platforms support formatting integers with char.
#define VTK_TYPE_NAME_CHAR char
#if VTK_TYPE_CHAR_IS_SIGNED
# define VTK_TYPE_SIZED_CHAR INT8
......
......@@ -165,7 +165,7 @@ public:
void GenerateRefinementRatio();
/**
* Returns Wether refinement ratio has been set (either by calling
* Returns whether refinement ratio has been set (either by calling
* GenerateRefinementRatio() or by calling SetRefinementRatio()
*/
bool HasRefinementRatio();
......
......@@ -502,7 +502,7 @@ ComputeDivisions(vtkIdType totalBins, double bounds[6], int divs[3]) const
}
// ---------------------------------------------------------------------------
// Desciption:
// Description:
// Intersect this box with the half space defined by plane.
// Returns 1 if there is intersection---which implies that the box has been modified
// Returns 0 otherwise
......
......@@ -111,7 +111,7 @@ public:
//@}
/**
* Change the bouding box to be the union of itself and bbox.
* Change the bounding box to be the union of itself and bbox.
*/
void AddBox(const vtkBoundingBox &bbox);
......
......@@ -104,7 +104,7 @@ typedef enum {
VTK_HIGHER_ORDER_PYRAMID = 66,
VTK_HIGHER_ORDER_HEXAHEDRON = 67,
// Arbitary order Lagrange elements (formulated separated from generic higher order cells)
// Arbitrary order Lagrange elements (formulated separated from generic higher order cells)
VTK_LAGRANGE_CURVE = 68,
VTK_LAGRANGE_TRIANGLE = 69,
VTK_LAGRANGE_QUADRILATERAL = 70,
......
......@@ -17,7 +17,7 @@
* @brief abstract class to specify dataset behavior
*
* vtkDataSet is an abstract class that specifies an interface for dataset
* objects. vtkDataSet also provides methods to provide informations about
* objects. vtkDataSet also provides methods to provide information about
* the data, such as center, bounding box, and representative length.
*
* In vtk a dataset consists of a structure (geometry and topology) and
......
......@@ -1315,7 +1315,7 @@ public:
cursorIdx = CornerNeighborCursorsTable3D[c][l];
break;
default:
vtkErrorMacro("unexpected neigborhood");
vtkErrorMacro("unexpected neighborhood");
return false;
} // switch ( N )
......
......@@ -34,10 +34,10 @@ vtkHyperTreeGridCursor::vtkHyperTreeGridCursor()
// No tree is given by default
this->Tree = 0;
// Defaut cursor level
// Default cursor level
this->Level = 0;
// Defaut index
// Default index
this->Index = 0;
// Cursor is not at leaf by default
......
......@@ -122,7 +122,7 @@ public:
void Print(ostream& os, vtkInformation* info) override;
// note: I had wanted to make the following interface in vtkInformationKey
// with a defualt implementation that did nothing. but we decided that
// with a default implementation that did nothing. but we decided that
// vtkInformationKey class is too important a class to add such an interface
// without a thorough design review. we don't have budget for such a review.
......
......@@ -46,7 +46,7 @@ namespace
// When describing a linearized tetra face, there is a mapping between the
// four-component barycentric tetra system and the three-component barycentric
// triangle system. These are the relevent indices within the four-component
// triangle system. These are the relevant indices within the four-component
// system for each face (e.g. face 0 varies across the barycentric tetra
// coordinates 0, 2 and 3).
static const vtkIdType FaceBCoords[4][3] = {{0,2,3}, {2,0,1},
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment