Commit d28a2cc0 authored by luz.paz's avatar luz.paz Committed by luz paz

Added more typos

parent 5475d5e8
......@@ -69,7 +69,7 @@ public:
// Description:
// Returns an object of type T that is local to the current thread.
// This needs to be called mainly within a threaded execution path.
// It will create a new object (local to the tread so each thread
// It will create a new object (local to the thread so each thread
// get their own when calling Local) which is a copy of exemplar as passed
// to the constructor (or a default object if no exemplar was provided)
// the first time it is called. After the first time, it will return
......
......@@ -66,7 +66,7 @@ public:
// Description:
// Returns an object of type T that is local to the current thread.
// This needs to be called mainly within a threaded execution path.
// It will create a new object (local to the tread so each thread
// It will create a new object (local to the thread so each thread
// get their own when calling Local) which is a copy of exemplar as passed
// to the constructor (or a default object if no exemplar was provided)
// the first time it is called. After the first time, it will return
......
......@@ -98,7 +98,7 @@ public:
// Description:
// Returns an object of type T that is local to the current thread.
// This needs to be called mainly within a threaded execution path.
// It will create a new object (local to the tread so each thread
// It will create a new object (local to the thread so each thread
// get their own when calling Local) which is a copy of exemplar as passed
// to the constructor (or a default object if no exemplar was provided)
// the first time it is called. After the first time, it will return
......
......@@ -475,7 +475,7 @@ int vtkMath::InvertMatrix(double **A, double **AI, int size)
}
//----------------------------------------------------------------------------
// Factor linear equations Ax = b using LU decompostion A = LU where L is
// Factor linear equations Ax = b using LU decomposition A = LU where L is
// lower triangular matrix and U is upper triangular matrix. Input is
// square matrix A, integer array of pivot indices index[0->n-1], and size
// of square matrix n. Output factorization LU is in matrix A. If error is
......@@ -581,7 +581,7 @@ int vtkMath::LUFactorLinearSystem(double **A, int *index, int size)
}
//----------------------------------------------------------------------------
// Solve linear equations Ax = b using LU decompostion A = LU where L is
// Solve linear equations Ax = b using LU decomposition A = LU where L is
// lower triangular matrix and U is upper triangular matrix. Input is
// factored matrix A=LU, integer array of pivot indices index[0->n-1],
// load vector x[0->n-1], and size of square matrix n. Note that A=LU and
......@@ -1270,7 +1270,7 @@ int vtkMath::InvertMatrix(double **A, double **AI, int size,
// Factor linear equations Ax = b using LU decompostion A = LU where L is
// Factor linear equations Ax = b using LU decomposition A = LU where L is
// lower triangular matrix and U is upper triangular matrix. Input is
// square matrix A, integer array of pivot indices index[0->n-1], and size
// of square matrix n. Output factorization LU is in matrix A. If error is
......
......@@ -113,7 +113,7 @@ void vtkAMRUtilities::CopyFieldData(
vtkDataArray *srcArray = source->GetArray( arrayIdx );
assert( "pre: target array is nullptr!" && (targetArray != nullptr) );
assert( "pre: source array is nullptr!" && (srcArray != nullptr) );
assert( "pre: targer/source array number of components mismatch!" &&
assert( "pre: target/source array number of components mismatch!" &&
(targetArray->GetNumberOfComponents()==
srcArray->GetNumberOfComponents() ) );
assert( "pre: target/source array names mismatch!" &&
......
......@@ -87,7 +87,7 @@ void vtkAnimationScene::SetTimeMode(int mode)
{
if (mode == vtkAnimationCue::TIMEMODE_NORMALIZED)
{
// If noralized time mode is being set on the scene,
// If normalized time mode is being set on the scene,
// ensure that none of the contained cues need relative times.
vtkCollectionIterator *it = this->AnimationCuesIterator;
for (it->InitTraversal(); !it->IsDoneWithTraversal(); it->GoToNextItem())
......@@ -97,7 +97,7 @@ void vtkAnimationScene::SetTimeMode(int mode)
if (cue && cue->GetTimeMode() != vtkAnimationCue::TIMEMODE_NORMALIZED)
{
vtkErrorMacro("Scene contains a cue in relative mode. It must be removed "
"or chaged to normalized mode before changing the scene time mode");
"or changed to normalized mode before changing the scene time mode");
return;
}
}
......@@ -108,7 +108,7 @@ void vtkAnimationScene::SetTimeMode(int mode)
//----------------------------------------------------------------------------
void vtkAnimationScene::InitializeChildren()
{
// run thr all the cues and init them.
// run through all the cues and init them.
vtkCollectionIterator *it = this->AnimationCuesIterator;
for (it->InitTraversal(); !it->IsDoneWithTraversal(); it->GoToNextItem())
{
......
......@@ -184,7 +184,7 @@ public:
/**
* Divide the extent in half in the given direction. The
* operation is done in-place the other half of the split
* extent is returned. The retunr will be empty if the split
* extent is returned. The return will be empty if the split
* could not be made.
*/
vtkPixelExtent Split(int dir);
......
......@@ -210,8 +210,8 @@ class vtkSelection::vtkInternals
return false;
}
// higher the value, higher the precendence.
inline int precendence(char op) const
// higher the value, higher the precedence.
inline int precedence(char op) const
{
switch (op)
{
......@@ -303,7 +303,7 @@ public:
}
else if (term[0] == '&' || term[0] == '|' || term[0] == '!')
{
while (op_stack.size() > 0 && (precendence(term[0]) < precendence(op_stack.back())) &&
while (op_stack.size() > 0 && (precedence(term[0]) < precedence(op_stack.back())) &&
this->ApplyBack(op_stack, var_stack))
{
}
......
......@@ -56,7 +56,7 @@ outlineActor.SetMapper(outlineMapper)
##lut.SetHueRange(0.667, 0.0)
# This creates a weird effect. The Build() method causes the lookup
# table to allocate memory and create a table based on the currect
# table to allocate memory and create a table based on the correct
# hue, saturation, value, and alpha (transparency) range. Here we then
# manually overwrite the values generated by the Build() method.
lut.SetNumberOfColors(256)
......
......@@ -294,7 +294,7 @@ void vtkAMRResampleFilter::CopyData(
vtkDataArray *srcArray = src->GetArray( arrayIdx );
assert( "pre: target array is nullptr!" && (targetArray != nullptr) );
assert( "pre: source array is nullptr!" && (srcArray != nullptr) );
assert( "pre: targer/source array number of components mismatch!" &&
assert( "pre: target/source array number of components mismatch!" &&
(targetArray->GetNumberOfComponents()==
srcArray->GetNumberOfComponents() ) );
assert( "pre: target/source array names mismatch!" &&
......
......@@ -564,7 +564,7 @@ void vtkCutter::DataSetCutter(vtkDataSet *input, vtkPolyData *output)
// loop over all cells.
//
// This is going to have a problem if the input has 2D and 3D cells.
// I am fixing a bug where cell data is scrambled becauses with
// I am fixing a bug where cell data is scrambled because with
// vtkPolyData output, verts and lines have lower cell ids than triangles.
for (iter=0; iter < numContours && !abortExecute; iter++)
{
......
......@@ -188,7 +188,7 @@ public:
* For most applications, the default order is fine (and faster).
* Sort by cell is going to have a problem if the input has 2D and 3D cells.
* Cell data will be scrambled becauses with
* Cell data will be scrambled because with
* vtkPolyData output, verts and lines have lower cell ids than triangles.
*/
vtkSetClampMacro(SortBy,int,VTK_SORT_BY_VALUE,VTK_SORT_BY_CELL);
......
......@@ -22,7 +22,7 @@
* This class can be used as a superclass for filters that want to
* stream their input pipeline by making multiple execution passes.
* The subclass needs to set NumberOfPasses to > 1 before execution (
* usuall in the constructor or in RequestInformation) to initiate
* usual in the constructor or in RequestInformation) to initiate
* streaming. vtkStreamerBase will handle streaming while calling
* ExecutePass() during each pass. CurrentIndex can be used to obtain
* the index for the current pass. Finally, PostExecute() is called
......
......@@ -14,7 +14,7 @@
=========================================================================*/
/**
* @class vtkHierarchicalDataExtractLevel
* @brief extact levels between min and max
* @brief extract levels between min and max
*
* Legacy class. Use vtkExtractLevel instead.
*/
......
......@@ -61,7 +61,7 @@ public:
* the last data set location (this->LastLevel, this->LastId) will be
* set according to where p is found. If it fails, either p is out of
* bound, in which case both the last data set and the last location
* will be invlaid or, in a multi-process setting, p is inbound but not
* will be invalid or, in a multi-process setting, p is inbound but not
* on the processor. In the last case, the last data set location is
* still valid
*/
......
......@@ -94,7 +94,7 @@ int vtkImageDataToPointSet::CopyStructure(vtkStructuredGrid *outData,
if (pointId != points->GetNumberOfPoints())
{
vtkErrorMacro(<< "Somehow misscounted points");
vtkErrorMacro(<< "Somehow miscounted points");
return 0;
}
......
......@@ -266,7 +266,7 @@ int vtkQuadratureSchemeDictionaryGenerator::Generate(
return 0;
}
// The definition must apear in the dictionary associated
// The definition must appear in the dictionary associated
// with the offset array
key->Set(info, def, cellType);
}
......
......@@ -90,7 +90,7 @@ int vtkRectilinearGridToPointSet::CopyStructure(vtkStructuredGrid *outData,
if (pointId != points->GetNumberOfPoints())
{
vtkErrorMacro(<< "Somehow misscounted points");
vtkErrorMacro(<< "Somehow miscounted points");
return 0;
}
......
......@@ -330,7 +330,7 @@ inline void vtkRectilinearGridToTetrahedra::TetrahedralizeAddCenterPoint(
// According to the DivisionType
// There had better be 0..8 voxel corners, though only 0..7 maybe needed.
// Why? This function may add id 8 to VoxelCorners.
// If a point needs to be inserted into the nodelist, itselt
// If a point needs to be inserted into the nodelist, insert
// it at NextPointId. Assume there is space in the nodelist.
// Return the number of Tets Added.
......
......@@ -44,7 +44,7 @@ static void ShowResult(vtkRenderer *renderer, vtkAlgorithmOutput *input,
//-------------------------------------------------------------------------
int TemporalStatistics(int argc, char *argv[])
{
// We have to use a compsite pipeline to handle these composite data
// We have to use a composite pipeline to handle these composite data
// structures.
VTK_CREATE(vtkCompositeDataPipeline, prototype);
vtkAlgorithm::SetDefaultExecutivePrototype(prototype);
......
......@@ -52,7 +52,7 @@ public:
//-------------------------------------------------------------------------
int TestTemporalCacheTemporal(int , char *[])
{
// we have to use a compsite pipeline
// we have to use a composite pipeline
vtkCompositeDataPipeline* prototype = vtkCompositeDataPipeline::New();
vtkAlgorithm::SetDefaultExecutivePrototype(prototype);
prototype->Delete();
......
......@@ -33,7 +33,7 @@
//-------------------------------------------------------------------------
int TestTemporalFractal(int argc, char *argv[])
{
// we have to use a compsite pipeline
// we have to use a composite pipeline
vtkCompositeDataPipeline* prototype = vtkCompositeDataPipeline::New();
vtkAlgorithm::SetDefaultExecutivePrototype(prototype);
prototype->Delete();
......
......@@ -752,7 +752,7 @@ int vtkGreedyTerrainDecimation::RequestData(
newPts->Allocate(numPts);
this->Points = static_cast<vtkDoubleArray *>(newPts->GetData());
// initailize the normals
// initialize the normals
if (this->ComputeNormals)
{
this->Normals = vtkFloatArray::New();
......
......@@ -211,7 +211,7 @@ protected:
vtkIdType MaximumNumberOfTriangles;
double Length;
//Bookeeping arrays
//Bookkeeping arrays
vtkPriorityQueue *TerrainError; //errors for each pt in height field
vtkGreedyTerrainDecimationTerrainInfoType *TerrainInfo; //owning triangle for each pt
vtkGreedyTerrainDecimationPointInfoType *PointInfo; //map mesh pt id to input pt id
......
......@@ -182,7 +182,7 @@ protected:
double HeightTolerance;
vtkIdType MaximumNumberOfLines;
//Bookeeping arrays
//Bookkeeping arrays
int Dimensions[3];
int Extent[6];
double Origin[3];
......
......@@ -874,7 +874,7 @@ namespace {
// Insert "INSIDE" or "ON" edge segments into polydata (polylines) and
// build adjacency information. We are using vtkPolyData because it does
// everythig we want, although there is a lot of allocation / deallocation
// everything we want, although there is a lot of allocation / deallocation
// going on which is a potential area of speed improvement.
vtkNew<vtkPoints> pDataPts;
pDataPts->SetNumberOfPoints(numPts);
......
......@@ -28,7 +28,7 @@
* this filter presumes that P lies on a plane z=0.0, thus z-coordinates
* are set accordingly during the interpolation process.
*
* The optional boolen flag InterpolateZ is provided for convenience. In
* The optional boolean flag InterpolateZ is provided for convenience. In
* effect it turns the source z coordinates into an additional array that is
* interpolated onto the output data. For example, if the source is a x-y-z
* LIDAR point cloud, then z can be interpolated onto the output dataset as a
......
......@@ -219,7 +219,7 @@ public:
/**
* Set/Get the return value for unsupported geometry. Unsupported geometry
* are geometries that are not supported by this filter currently, future
* implementation might include support for them. The defalut value for
* implementation might include support for them. The default value for
* UnsupportedGeometry is -1.
*/
vtkSetMacro(UnsupportedGeometry, double);
......
......@@ -198,7 +198,7 @@ private:
// is accessible through GetTables() method
vtkStringArray *myTables;
// Storing the currect record list from any one
// Storing the correct record list from any one
// of the tables in the database, this array is
// accessible through GetRecord(const char *table)
vtkStringArray *currentRecord;
......
......@@ -4029,10 +4029,10 @@ int vtkEnSightGoldBinaryReader::ReadLine(char result[80])
if (!this->GoldIFile->read(result, 80))
{
// The read fails when reading the last part/array when there are no points.
// I took out the error macro as a tempory fix.
// I took out the error macro as a temporary fix.
// We need to determine what EnSight does when the part with zero point
// is not the last, and change the read array method.
//int fixme; // I do not a file to test with yet.
//int fixme; // I do not have a file to test with yet.
vtkDebugMacro("Read failed");
return 0;
}
......
......@@ -264,7 +264,7 @@ void vtkSingleVTPExporter::ProcessTriangle(
}
// Step 3, neither of the above worked so instead
// subdivide the triangel into 4 and recurse
// subdivide the triangle into 4 and recurse
// add 3 points and interpolated data for them
vtkIdType nptids[3];
for (int i = 0; i < 3; i++)
......@@ -292,7 +292,7 @@ void vtkSingleVTPExporter::ProcessTriangle(
}
// for an input polydata with texture coordinates handle any
// triangels with repeating textures. Basically calls
// triangles with repeating textures. Basically calls
// process triangle for each input triangle.
vtkPolyData *vtkSingleVTPExporter::FixTextureCoordinates(vtkPolyData *ipd)
{
......
......@@ -452,7 +452,7 @@ int vtkGeoJSONReader::RequestData(vtkInformation* vtkNotUsed(request),
// Get the output
vtkPolyData* output = vtkPolyData::SafeDownCast(outInfo->Get(vtkDataObject::DATA_OBJECT()));
// Parse either string input of file, depeding on mode
// Parse either string input of file, depending on mode
Json::Value root;
int parseResult = 0;
if (this->StringInputMode)
......
......@@ -234,7 +234,7 @@ int vtkMCubesReader::RequestData(
fread (&point, static_cast<int>(sizeof(pointType)), 1, fp));
if (val != 1)
{
vtkErrorMacro(<<"Error reading triange " << i
vtkErrorMacro(<<"Error reading triangle " << i
<< " (" << numTris << "), point/normal " << j);
}
......
......@@ -42,7 +42,7 @@ void vtkDIMACSGraphWriter::WriteData()
ostream *fp = this->OpenVTKFile();
if(!fp)
{
vtkErrorMacro("Falied to open output stream");
vtkErrorMacro("Failed to open output stream");
return;
}
......
......@@ -49,7 +49,7 @@ void vtkNewickTreeWriter::WriteData()
ostream *fp = this->OpenVTKFile();
if(!fp)
{
vtkErrorMacro("Falied to open output stream");
vtkErrorMacro("Failed to open output stream");
return;
}
......
......@@ -670,7 +670,7 @@ protected:
void ResetPartsCache();
private:
//Helper templated methods to optimze reading. We cast the entire buffer
//Helper templated methods to optimize reading. We cast the entire buffer
//to a given type instead of casting each element to improve performance
template<typename T>
void FillDeletionArray(T* buffer, vtkUnsignedCharArray* arr, const vtkIdType& start, const vtkIdType& numCells,
......
......@@ -61,7 +61,7 @@ struct Row
Delimiter, Number, Delimiter, Number, Delimiter, Number, star<space>> {};
struct Grammar : star<Row> {};
} // namepsace LegacyPositionFile
} // namespace LegacyPositionFile
//-----------------------------------------------------------------------------
// rules for parsing a position file in orientations formation.
......
......@@ -682,7 +682,7 @@ void vtkPDataSetReader::ReadVTKFileInformation(
}
if (strncmp(str, "DIMENSIONS", 10) != 0)
{
vtkErrorMacro("Expecting 'DIMENSIONS' insted of: " << str);
vtkErrorMacro("Expecting 'DIMENSIONS' instead of: " << str);
return;
}
......@@ -698,7 +698,7 @@ void vtkPDataSetReader::ReadVTKFileInformation(
file->getline(str, 1024, ' ');
if (strncmp(str, "DIMENSIONS", 10) != 0)
{
vtkErrorMacro("Expecting 'DIMENSIONS' insted of: " << str);
vtkErrorMacro("Expecting 'DIMENSIONS' instead of: " << str);
return;
}
*file >> dx;
......
......@@ -114,7 +114,7 @@ for idColumn in range(0, reference.GetNumberOfColumns()):
sys.exit(1)
# Test the rows vlaues
# Test the rows values
for idRow in range(0, reference.GetNumberOfRows()):
for idColumn in range(0, reference.GetNumberOfColumns()):
currentValue = table.GetValue(idRow, idColumn);
......
......@@ -486,7 +486,7 @@ vtkDataObject* vtkXMLCompositeDataReader::ReadDataObject(vtkXMLDataElement* xmlE
// Get the reader for this file
std::string fileName = this->GetFileNameFromXML(xmlElem, filePath);
if (fileName.empty())
{ // No filename in XML element. Not neccessarily an error.
{ // No filename in XML element. Not necessarily an error.
return nullptr;
}
vtkXMLReader* reader = this->GetReaderForFile(fileName);
......@@ -542,7 +542,7 @@ void vtkXMLCompositeDataReader::SyncDataArraySelections(vtkXMLReader *accum,
// Get the reader for this file
std::string fileName = this->GetFileNameFromXML(xmlElem, filePath);
if (fileName.empty())
{ // No filename in XML element. Not neccessarily an error.
{ // No filename in XML element. Not necessarily an error.
return;
}
vtkXMLReader* reader = this->GetReaderForFile(fileName);
......
......@@ -82,7 +82,7 @@ protected:
void ReadTopology(vtkXMLDataElement *elem);
protected:
// Used by ReadTopology to recusively build the tree
// Used by ReadTopology to recursively build the tree
void SubdivideFromDescriptor(
vtkHyperTreeCursor* treeCursor,
vtkHyperTree* tree,
......
......@@ -3,7 +3,7 @@ import vtk
from vtk.util.misc import vtkGetDataRoot
VTK_DATA_ROOT = vtkGetDataRoot()
# This Script test the euclidean to polar by coverting 2D vectors
# This Script test the euclidean to polar by converting 2D vectors
# from a gradient into polar, which is converted into HSV, and then to RGB.
# Image pipeline
gauss = vtk.vtkImageGaussianSource()
......
......@@ -1000,7 +1000,7 @@ void vtkImageStencilData::Replace(vtkImageStencilData *stencil1)
(extent1[2] > extent2[3]) || (extent1[3] < extent2[2]) ||
(extent1[4] > extent2[5]) || (extent1[5] < extent2[4]))
{
// The extents don't intersect.. No subraction needed
// The extents don't intersect.. No subtraction needed
return;
}
......
......@@ -705,7 +705,7 @@ int vtkCheckerboardSplatter::RequestData(
vtkDataArray *inNormals = input->GetPointData()->GetNormals();
// Okay actually execute the algorithm. Manage all the crazy template
// stuff. Note that the output types are currently limitied to
// stuff. Note that the output types are currently limited to
// (float,double) to manage precision. The point type is also limited
// to real types but could be easily extended to other types.
void *ptsPtr = points->GetVoidPointer(0);
......
......@@ -40,7 +40,7 @@
* squared. However, power parameters > 2 can be used which assign higher
* weights for data closer to the interpolated point; or <2 which assigns
* greater weight to points further away. (Note that if p!=2, performance may
* be significantly impacted as the algorihm is tuned for p=2.)
* be significantly impacted as the algorithm is tuned for p=2.)
*
* @warning
* Strictly speaking, this is a modified Shepard's methodsince only points
......
......@@ -158,7 +158,7 @@ void vtkImageMathematicsExecute1(vtkImageMathematics *self,
}
for (idxR = 0; idxR < rowLength; idxR++)
{
// Pixel operaton
// Pixel operation
switch (op)
{
case VTK_INVERT:
......
......@@ -68,7 +68,7 @@ public:
void ThresholdByLower(double thresh);
/**
* Values within this range will be filled, where the range inludes
* Values within this range will be filled, where the range includes
* values that are exactly equal to the lower and upper thresholds.
*/
void ThresholdBetween(double lower, double upper);
......
......@@ -600,7 +600,7 @@ void vtkInteractorStyleJoystickActor::Prop3DTransform(vtkProp3D *prop3D,
newTransform->Translate(boxCenter[0], boxCenter[1], boxCenter[2]);
// now try to get the composit of translate, rotate, and scale
// now try to get the composite of translate, rotate, and scale
newTransform->Translate(-(orig[0]), -(orig[1]), -(orig[2]));
newTransform->PreMultiply();
newTransform->Translate(orig[0], orig[1], orig[2]);
......
......@@ -592,7 +592,7 @@ void vtkInteractorStyleTrackballActor::Prop3DTransform(vtkProp3D *prop3D,
newTransform->Translate(boxCenter[0], boxCenter[1], boxCenter[2]);
// now try to get the composit of translate, rotate, and scale
// now try to get the composite of translate, rotate, and scale
newTransform->Translate(-(orig[0]), -(orig[1]), -(orig[2]));
newTransform->PreMultiply();
newTransform->Translate(orig[0], orig[1], orig[2]);
......
......@@ -186,7 +186,7 @@ int TerrainPolylineEditor(int argc, char * argv[])
<< "\tThe projection mode may optionally be specified. [0-Simple,1-NonOccluded\n"
<< ",2-Hug]. (defaults to Hug)\n"
<< "\tA height offset may be specified. Defaults to 0.0\n"
<< "\tIf a polydata is specified, an initial contour is constucted from\n"
<< "\tIf a polydata is specified, an initial contour is constructed from\n"
<< "the points in the polydata. The polydata is expected to be a polyline\n"
<< "(one cell and two or more points on that cell)."
<< std::endl;
......
......@@ -431,7 +431,7 @@ int vtkAffineRepresentation2D::ComputeInteractionState(int X, int Y, int modify)
// Record the current event position, and the rectilinear wipe position.
void vtkAffineRepresentation2D::StartWidgetInteraction(double startEventPos[2])
{
// Initialize bookeeping variables
// Initialize bookkeeping variables
this->StartEventPosition[0] = startEventPos[0];
this->StartEventPosition[1] = startEventPos[1];
this->StartEventPosition[2] = 0.0;
......
......@@ -19,7 +19,7 @@
* The vtkAxesTransformRepresentation is a representation for the
* vtkAxesTransformWidget. This representation consists of a origin sphere
* with three tubed axes with cones at the end of the axes. In addition an
* optional lable provides delta values of motion. Note that this particular
* optional label provides delta values of motion. Note that this particular
* widget draws its representation in 3D space, so the widget can be
* occluded.
* @sa
......
......@@ -33,7 +33,7 @@
* the event that it handles.
*
* To use this widget, you generally pair it with a vtkBoxRepresentation
* (or a subclass). Variuos options are available in the representation for
* (or a subclass). Various options are available in the representation for
* controlling how the widget appears, and how the widget functions.
*
* @par Event Bindings:
......
......@@ -24,7 +24,7 @@
* actual geometry of the widget.)
*
* To use this widget, you generally pair it with a vtkImplicitCylinderRepresentation
* (or a subclass). Variuos options are available for controlling how the
* (or a subclass). Various options are available for controlling how the
* representation appears, and how the widget functions.
*
* @par Event Bindings:
......
......@@ -23,7 +23,7 @@
* determines the actual geometry of the widget.)
*
* To use this widget, you generally pair it with a vtkImplicitPlaneRepresentation
* (or a subclass). Variuos options are available for controlling how the
* (or a subclass). Various options are available for controlling how the
* representation appears, and how the widget functions.
*
* @par Event Bindings:
......
......@@ -31,7 +31,7 @@
* handles.
*
* To use this widget, you generally pair it with a vtkSphereRepresentation
* (or a subclass). Variuos options are available in the representation for
* (or a subclass). Various options are available in the representation for
* controlling how the widget appears, and how the widget functions.
*
* @par Event Bindings:
......
......@@ -337,7 +337,7 @@ void vtkWidgetRepresentation::UpdatePropPose(
newTransform->Translate(pos1[0], pos1[1], pos1[2]);
// now try to get the composit of translate, rotate, and scale
// now try to get the composite of translate, rotate, and scale
newTransform->Translate(-(orig[0]), -(orig[1]), -(orig[2]));
newTransform->PreMultiply();
newTransform->Translate(orig[0], orig[1], orig[2]);
......
......@@ -260,7 +260,7 @@ public:
void TriggerRMI(int remoteProcessId, void *arg, int argLength, int tag);
/**
* A conveniance method. Called on process 0 to break "ProcessRMIs" loop
* A convenience method. Called on process 0 to break "ProcessRMIs" loop
* on all other processes.
*/
void TriggerBreakRMIs();
......
......@@ -388,7 +388,7 @@ int vtkCornerAnnotation::RenderOpaqueGeometry(vtkViewport *viewport)
// Check to see whether we have to rebuild everything
// If the viewport has changed we may - or may not need
// to rebuild, it depends on if the projected coords chage
// to rebuild, it depends on if the projected coords change
int viewport_size_has_changed = 0;
if (viewport->GetMTime() > this->BuildTime ||
(viewport->GetVTKWindow() &&
......
......@@ -518,7 +518,7 @@ int vtkScalarBarActor::RebuildLayoutIfNeeded(vtkViewport* viewport)
viewport->GetVTKWindow()->GetMTime() > this->BuildTime))
{
// if the viewport has changed we may - or may not need
// to rebuild, it depends on if the projected coords chage
// to rebuild, it depends on if the projected coords change
int size[2];
int* barOrigin;
barOrigin = this->PositionCoordinate->GetComputedViewportValue(viewport);
......
......@@ -56,7 +56,7 @@ public:
//@}
/**
* Returns true if the block with the given flat_index has a visiblity
* Returns true if the block with the given flat_index has a visibility
* set.
*/
bool HasBlockVisibility(unsigned int flat_index) const;
......@@ -88,7 +88,7 @@ public:
//@}
/**
* Returns true if the block with the given flat_index has a visiblity
* Returns true if the block with the given flat_index has a visibility
* set.
*/
bool HasBlockPickability(unsigned int flat_index) const;
......
......@@ -199,7 +199,7 @@ void vtkInteractorStyle3D::Prop3DTransform(vtkProp3D *prop3D,
newTransform->Translate(boxCenter[0], boxCenter[1], boxCenter[2]);
// now try to get the composit of translate, rotate, and scale
// now try to get the composite of translate, rotate, and scale
newTransform->Translate(-(orig[0]), -(orig[1]), -(orig[2]));
newTransform->PreMultiply();
newTransform->Translate(orig[0], orig[1], orig[2]);
......
......@@ -423,7 +423,7 @@ void vtkLabeledContourMapper::PrintSelf(ostream& os, vtkIndent indent)
this->Superclass::PrintSelf(os,indent);
os << indent << "SkipDistance: " << this->SkipDistance << "\n"
<< indent << "LabelVisiblity: " << (this->LabelVisibility ? "On\n"
<< indent << "LabelVisibility: " << (this->LabelVisibility ? "On\n"
: "Off\n")