Commit 84960d64 authored by luz.paz's avatar luz.paz

Misc. typos

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