Commit df04eedb authored by luz.paz's avatar luz.paz
Browse files

follow-up typos

parent cfafe70b
/*=========================================================================
Program: Visualization Toolkit
Module: TestParallelCoodinatesDouble.cxx
Module: TestParallelCoordinatesDouble.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
......
......@@ -329,7 +329,7 @@ public:
//@{
/**
* Set the x, y, z and w components of a 3D vector in homogeneous coodinates.
* Set the x, y, z and w components of a 3D vector in homogeneous coordinates.
*/
void Set(const T& x, const T& y, const T& z, const T& w)
{
......
......@@ -946,7 +946,7 @@ int vtkCompositeDataPipeline::CheckCompositeData(
vtkCompositeDataSet::SafeDownCast(this->GetInputData(compositePort, 0, inInfoVec)),
compositePort, outInfoVec->GetNumberOfInformationObjects());
// For each port, assgin the created output object back to the output information
// For each port, assign the created output object back to the output information
for (int port = 0; port < outInfoVec->GetNumberOfInformationObjects(); ++port)
{
vtkInformation* outInfo = outInfoVec->GetInformationObject(port);
......
#!/usr/bin/env python
# Python examples script that uses the R calculator filter to find the
# maxiumum spanning tree of a random input graph by inverting the edge
# maximum spanning tree of a random input graph by inverting the edge
# weights of the graph in R. The MST algorithm then finds the maximum
# spanning tree instead of the minimum spanning tree.
......
......@@ -299,7 +299,7 @@ void vtkRenderLargeImage::RequestData(
}
rowSize = colEnd - colStart + 1;
// get the output pointer and do arith on it if necc
// get the output pointer and do arith on it if necessary
outPtr =
(unsigned char *)data->GetScalarPointer(inExtent[0],inExtent[2],0);
outPtr = outPtr + (x*size[0] - inExtent[0])*inIncr[0] +
......
......@@ -403,7 +403,7 @@ GetNeighborCount(vtkPolyData *input, vtkIdType inCellId,
//----------------------------------------------------------------------------
// Somehwat modified from vtkLinearExtrusionFilter
// Somewhat modified from vtkLinearExtrusionFilter
void vtkTrimmedExtrusionFilter::
ExtrudeEdges(vtkPolyData *input, vtkPolyData *output,
vtkIdType numPts, vtkIdType numCells)
......
......@@ -146,7 +146,7 @@ int vtkMCubesReader::RequestData(
return 0;
}
// do swapping if necc
// do swapping if necessary
if (byteOrder == VTK_FILE_BYTE_ORDER_BIG_ENDIAN)
{
vtkByteSwap::Swap4BERange(fbounds,6);
......@@ -170,12 +170,12 @@ int vtkMCubesReader::RequestData(
else // read data to get bounds
{
fseek (fp, this->HeaderSize, 0);
// cannot use vtkMath uninitialze bounds for this computation
// cannot use vtkMath uninitialize bounds for this computation
bounds[0] = bounds[2] = bounds[4] = VTK_DOUBLE_MAX;
bounds[1] = bounds[3] = bounds[5] = VTK_DOUBLE_MIN;
for (i=0; fread(&point, sizeof(pointType), 1, fp); i++)
{
// swap bytes if necc
// swap bytes if necessary
if (byteOrder == VTK_FILE_BYTE_ORDER_BIG_ENDIAN)
{
vtkByteSwap::Swap4BERange((float *) (&point),6);
......@@ -238,7 +238,7 @@ int vtkMCubesReader::RequestData(
<< " (" << numTris << "), point/normal " << j);
}
// swap bytes if necc
// swap bytes if necessary
if (byteOrder == VTK_FILE_BYTE_ORDER_BIG_ENDIAN)
{
vtkByteSwap::Swap4BERange((float *) (&point),6);
......
......@@ -2191,7 +2191,7 @@ int vtkDataWriter::WriteCells(ostream *fp, vtkCellArray *cells, const char *labe
}
else
{
// swap the bytes if necc
// swap the bytes if necessary
// currently writing vtkIdType as int
vtkIdType *tempArray = cells->GetPointer();
int arraySize = cells->GetNumberOfConnectivityEntries();
......
......@@ -123,7 +123,7 @@ void vtkUnstructuredGridWriter::WriteData()
}
else
{
// swap the bytes if necc
// swap the bytes if necessary
vtkByteSwap::SwapWrite4BERange(types,ncells,fp);
}
*fp << "\n";
......
......@@ -473,7 +473,7 @@ public:
}
// Description:
// Remove input/output bufers used for computing the LIC.
// Remove input/output buffers used for computing the LIC.
void DettachLICBuffers(vtkOpenGLFramebufferObject *vtkNotUsed(fbo))
{
vtkOpenGLStaticCheckErrorMacro("failed at glDrawBuffers");
......
......@@ -30,7 +30,7 @@ your fragment shader) is
//VTK::Output::Dec
which VTK uses to map shader outputs to the framebufer.
which VTK uses to map shader outputs to the framebuffer.
All vertex shaders should name their outputs with a postfix of VSOutput All
geometry shaders should name their outputs with a postfix of GSOutput All
......
......@@ -20,7 +20,7 @@
* 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
* pixel buffer to the application. The vtkTextureObject is used to transfer
* data from/to the PBO to/from texture memory on the GPU.
* @sa
* OpenGL Pixel Buffer Object Extension Spec (ARB_pixel_buffer_object):
......
......@@ -44,7 +44,7 @@
* convolution with (1 2 1).
* The second pass has two inputs, Gx1 and Gy1. Kernel (1 2 1)^T is applied
* to Gx1 and kernel (-1 0 1)^T is applied to Gx2. It gives the values for
* Gx and Gy. Thoses values are then used to compute the magnitude of the
* Gx and Gy. Those values are then used to compute the magnitude of the
* gradient which is stored in the render target.
* The gradient computation happens per component (R,G,B). A is arbitrarly set
* to 1 (full opacity).
......
......@@ -292,7 +292,7 @@ public:
unsigned int const depth, int const numComps, int const dataType);
/**
* This is used to download raw data from the texture into a pixel bufer. The
* This is used to download raw data from the texture into a pixel buffer. The
* pixel buffer API can then be used to download the pixel buffer data to CPU
* arrays. The caller takes on the responsibility of deleting the returns
* vtkPixelBufferObject once it done with it.
......
......@@ -336,7 +336,7 @@ void vtkOpenVRInteractorStyle::StartPositionProp(vtkEventDataDevice3D *edata)
this->InteractionState[static_cast<int>(edata->GetDevice())] = VTKIS_POSITION_PROP;
this->InteractionProps[static_cast<int>(edata->GetDevice())] = this->InteractionProp;
//Don't start action if a controller is already positionning the prop
//Don't start action if a controller is already positioning the prop
int rc = static_cast<int>(vtkEventDataDevice::RightController);
int lc = static_cast<int>(vtkEventDataDevice::LeftController);
if (this->InteractionProps[rc] == this->InteractionProps[lc])
......
......@@ -59,7 +59,7 @@ public:
{ return this->ColorBuffer; }
/**
* Get the most recent zbufer buffer
* Get the most recent zbuffer buffer
*/
virtual vtkFloatArray *GetZBuffer()
{ return this->ZBuffer; }
......
......@@ -184,7 +184,7 @@ int TestGPURayCastMultiVolumeAddRemove(int argc, char* argv[])
mapper->SetUseJittering(0);
overlappingVol->SetMapper(mapper);
// Paramters that are global to all of the inputs are currently
// Parameters that are global to all of the inputs are currently
// set through the vtkVolumeProperty corresponding to the required
// input port (port 0)
vol->GetProperty()->SetInterpolationType(VTK_LINEAR_INTERPOLATION);
......
......@@ -1554,7 +1554,7 @@ class vtkSpan
public:
// Initialize the span from the left abcissa x0 and the right absissa x1 and
// from 1/W, the projected values and the z coordinate in view space at
// thoses points. Set the current state to the left point.
// those points. Set the current state to the left point.
void Init(int x0,
double invW0,
double pValues0[VTK_VALUES_SIZE], // projected values
......
......@@ -141,7 +141,7 @@ void vtkRTTestSequence::Run()
chart->GetAxis(vtkAxis::LEFT)->LogScaleOn();
chart->GetAxis(vtkAxis::BOTTOM)->SetTitle(this->Test->GetSecondSummaryResultName());
chart->GetAxis(vtkAxis::BOTTOM)->LogScaleOn();
results->SetNumberOfRows(100); // have to initialze this or it fails
results->SetNumberOfRows(100); // have to initialize this or it fails
}
double remainingTime = this->TargetTime;
......@@ -343,7 +343,7 @@ int vtkRenderTimings::ParseCommandLineArguments( int argc, char *argv[] )
this->Arguments.AddArgument("-se", argT::SPACE_ARGUMENT, &this->SequenceEnd,
"Specify an ending index for test sequences. Even if there is time remaining "
"a test sequence will not go beyond this value. You can combine this option "
"with -ss to run just one iteration of a sequece. For example you can "
"with -ss to run just one iteration of a sequence. For example you can "
"use -ss 6 -se 6 to only run the 6th sequence. A value of 0 means that "
"there is no limit (the time limit will still stop the tests).");
this->Arguments.AddBooleanArgument("-list", &this->ListTests,
......
......@@ -236,7 +236,7 @@ class DICOM_EXPORT DICOMFile
dicom_stream::ifstream InputStream;
//
// Flag for swaping bytes.
// Flag for swapping bytes.
//
bool PlatformIsBigEndian;
......
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