Commit 3357136e authored by Kunda's avatar Kunda Committed by Cory Quammen

doxygen and misc. typos

fixes some doxy typos
fixes misc. comment typos
parent 3f76ead6
......@@ -167,7 +167,7 @@ macro(crosscompile target toolchain_file archs)
${ios_cmake_flags}
)
#
# add an INSTALL_ALLWAYS since we want it and cmake lacks it
# add an INSTALL_ALWAYS since we want it and cmake lacks it
#
ExternalProject_Get_Property(${target} binary_dir)
_ep_get_build_command(${target} INSTALL cmd)
......
......@@ -98,7 +98,7 @@ int TestQuadraticPolygonFilters(int argc, char* argv[])
delete[] connectivityQuadPoly2;
delete[] connectivityQuads;
// to get the cell id whith the picker
// to get the cell id with the picker
vtkNew<vtkIdTypeArray> id;
id->SetName("CellID");
id->SetNumberOfComponents(1);
......
......@@ -379,7 +379,7 @@ public:
//@{
/**
* Normally called by pipeline executives or algoritms only. This method
* Normally called by pipeline executives or algorithms only. This method
* computes the ghost arrays for a given dataset. The zeroExt argument
* specifies the extent of the region which ghost type = 0.
*/
......
......@@ -3620,7 +3620,7 @@ void vtkHyperOctree::TraverseDualRecursively(
}
//----------------------------------------------------------------------------
// Contour the cell assocaited with the center point.
// Contour the cell associated with the center point.
// if it has not already been contoured.
void vtkHyperOctree::EvaluateDualCorner(
vtkHyperOctreeLightWeightCursor* neighborhood)
......
......@@ -178,7 +178,7 @@ public:
//@{
/**
* Check whether the data set is internally consistent, e.g.
* whether the meta data and acutal data blocks match.
* whether the meta data and actual data blocks match.
* Incorrectness will be reported as error messages
*/
void Audit();
......
......@@ -76,7 +76,7 @@ inline vtkIdType FindNextValidSegment(vtkPoints *points, vtkIdList *pointIds,
// normals, they are "orientation" normals used by classes like vtkTubeFilter
// that control the rotation around the line. The normals try to stay pointing
// in the same direction as much as possible (i.e., minimal rotation) w.r.t the
// firstNormal (computed if NULL). Allways returns 1 (success).
// firstNormal (computed if NULL). Always returns 1 (success).
int vtkPolyLine::GenerateSlidingNormals(vtkPoints *pts, vtkCellArray *lines,
vtkDataArray *normals,
double* firstNormal)
......
......@@ -46,7 +46,7 @@ public:
* normals, they are "orientation" normals used by classes like vtkTubeFilter
* that control the rotation around the line. The normals try to stay pointing
* in the same direction as much as possible (i.e., minimal rotation) w.r.t the
* firstNormal (computed if NULL). Allways returns 1 (success).
* firstNormal (computed if NULL). Always returns 1 (success).
*/
static int GenerateSlidingNormals(vtkPoints *, vtkCellArray *, vtkDataArray *);
static int GenerateSlidingNormals(vtkPoints *, vtkCellArray *, vtkDataArray *,
......
......@@ -74,7 +74,7 @@ public:
* it. Note that the indices are in sorted (ascending) order, and indicate
* the final sorted position of the sort. So for example indices[0]=10
* indicates that the original data in position 10 in the field, was moved
* to postion 0 after the sort. By default, returnIndices=0. (Other notes:
* to position 0 after the sort. By default, returnIndices=0. (Other notes:
* if any array is not the same length as the sorting array, then it will
* be skipped and not sorted.)
*/
......@@ -94,7 +94,7 @@ public:
* the user takes ownership of the data and must delete it. Note that the
* indices are always in sorted (ascending) order, and indicate the final
* sorted position of the sort. So for example indices[0]=10 indicates that
* the original data in position 10 in the field, was moved to postion 0
* the original data in position 10 in the field, was moved to position 0
* after the sort (i.e., position 0 is the smallest value). However, if
* sort direction dir=1, the indices do not change but the final shuffle of
* the data is in reverse order (note idx[n-1] for n keys is the largest
......
......@@ -1449,7 +1449,7 @@ void vtkStaticPointLocator::BuildLocator()
}
}
// Clamp the i-j-k coords withing allowable range. We clamp the upper range
// Clamp the i-j-k coords within allowable range. We clamp the upper range
// because we want the total number of buckets to lie within an "int" value.
for (i=0; i<3; i++)
{
......
......@@ -404,7 +404,7 @@ vtkQuaternionOperatorDivideScalar(quaternionType, type)
//
// .SECTION Description
// This class is uses vtkQuaternion with float type data.
// For futher description, see the templated class vtkQuaternion.
// For further description, see the templated class vtkQuaternion.
// @sa vtkQuaterniond vtkQuaternion
class vtkQuaternionf : public vtkQuaternion<float>
{
......@@ -421,7 +421,7 @@ public:
//
// .SECTION Description
// This class is uses vtkQuaternion with double type data.
// For futher description, seethe templated class vtkQuaternion.
// For further description, seethe templated class vtkQuaternion.
// @sa vtkQuaternionf vtkQuaternion
class vtkQuaterniond : public vtkQuaternion<double>
{
......
......@@ -129,7 +129,7 @@ vtkw.pack(side="top", fill='both', expand=1)
def quit(obj=root):
obj.quit()
# We handle the WM_DELETE_WINDOW protocal request. This request is
# We handle the WM_DELETE_WINDOW protocol request. This request is
# triggered when the widget is closed using the standard window
# manager icons or buttons. In this case the quit function will be
# called and it will free up any objects we created then exit the
......
......@@ -148,7 +148,7 @@ pack $vtkw -side top -fill both -expand yes
#
# We set the window manager (wm command) so that it registers a
# command to handle the WM_DELETE_WINDOW protocal request. This
# command to handle the WM_DELETE_WINDOW protocol request. This
# request is triggered when the widget is closed using the standard
# window manager icons or buttons. In this case the exit callback
# will be called and it will free up any objects we created then exit
......
......@@ -24,7 +24,7 @@ VTK_DATA_ROOT = vtkGetDataRoot()
# accordingly.
# 6) ctrl key + right button down on any handle will erase it. Any existing
# snap line segments are updated accordingly. If the line was formed by
# continous tracing, the line is deleted leaving one handle.
# continuous tracing, the line is deleted leaving one handle.
# 7) shift key + right button down on any snap line segment will insert a
# handle at the cursor position. The snap line segment is split accordingly.
#
......
......@@ -18,7 +18,7 @@ package require vtkinteraction
# accordingly.
# 6) ctrl key + right button down on any handle will erase it. Any existing
# snap line segments are updated accordingly. If the line was formed by
# continous tracing, the line is deleted leaving one handle.
# continuous tracing, the line is deleted leaving one handle.
# 7) shift key + right button down on any snap line segment will insert a
# handle at the cursor position. The snap line segment is split accordingly.
#
......
......@@ -236,7 +236,7 @@ pack $vtkw .params -side top -fill both -expand yes
#
# We set the window manager (wm command) so that it registers a
# command to handle the WM_DELETE_WINDOW protocal request. This
# command to handle the WM_DELETE_WINDOW protocol request. This
# request is triggered when the widget is closed using the standard
# window manager icons or buttons. In this case the exit callback
# will be called and it will free up any objects we created then exit
......
......@@ -38,7 +38,7 @@ wm withdraw .
toplevel .top
# Set the window manager (wm command) so that it registers a
# command to handle the WM_DELETE_WINDOW protocal request. This
# command to handle the WM_DELETE_WINDOW protocol request. This
# request is triggered when the widget is closed using the standard
# window manager icons or buttons. In this case the exit callback
# will be called and it will free up any objects we created then exit
......
......@@ -83,7 +83,7 @@ outline.GetProperty().SetColor(0, 0, 0)
# Now we are creating three orthogonal planes passing through the
# volume. Each plane uses a different texture map and therefore has
# diferent coloration.
# different coloration.
# Start by creatin a black/white lookup table.
bwLut = vtk.vtkLookupTable()
......
......@@ -84,7 +84,7 @@ vtkActor outline
# Now we are creating three orthogonal planes passing through the
# volume. Each plane uses a different texture map and therefore has
# diferent coloration.
# different coloration.
# Start by creatin a black/white lookup table.
vtkLookupTable bwLut
......
......@@ -55,7 +55,7 @@ outlineActor.SetMapper(outlineMapper)
# This creates a blue to red lut.
##lut.SetHueRange(0.667, 0.0)
# This creates a wierd effect. The Build() method causes the lookup
# This creates a weird effect. The Build() method causes the lookup
# table to allocate memory and create a table based on the currect
# hue, saturation, value, and alpha (transparency) range. Here we then
# manually overwrite the values generated by the Build() method.
......
......@@ -60,7 +60,7 @@ vtkActor outlineActor
# This creates a blue to red lut.
# lut SetHueRange 0.667 0.0
# This creates a wierd effect. The Build() method causes the lookup table
# This creates a weird effect. The Build() method causes the lookup table
# to allocate memory and create a table based on the currect hue, saturation,
# value, and alpha (transparency) range. Here we then manually overwrite the
# values generated by the Build() method.
......
......@@ -440,7 +440,7 @@ pack $gui -side top -anchor s -fill x -expand yes
#
# We set the window manager (wm command) so that it registers a
# command to handle the WM_DELETE_WINDOW protocal request..
# command to handle the WM_DELETE_WINDOW protocol request..
#
wm title . "Texture mapper/transform demo"
wm protocol . WM_DELETE_WINDOW ::vtk::cb_exit
......
......@@ -175,7 +175,7 @@ public:
//@{
/**
* Set/get the desired precision for the output types. See the documentation
* for the vtkAlgorithm::DesiredOutputPrecision enum for an explaination of
* for the vtkAlgorithm::DesiredOutputPrecision enum for an explanation of
* the available precision settings.
*/
void SetOutputPointsPrecision(int precision);
......
......@@ -38,7 +38,7 @@
*
* Regardless of inter-cell or global search, vtkPointLocator is employed
* as a crucial tool underlying the cell locator. The use of vtkPointLocator
* casues vtkInterpolatedVelocityField to return false target cells for
* causes vtkInterpolatedVelocityField to return false target cells for
* datasets defined on complex grids.
*
* @warning
......
......@@ -318,7 +318,7 @@ public:
* xcur is the current particle variables
* xnext is the next particle variable
* t is the current integration time
* delT is the timeStep, wich is also an output for adaptative algorithm
* delT is the timeStep, which is also an output for adaptative algorithm
* delTActual is the time step output corresponding to the actual movement of the particle
* minStep is the minimum step time for adaptative algorithm
* maxStep is the maximum step time for adaptative algorithm
......
......@@ -38,7 +38,7 @@
* with the same composite layout of surface input if any, showing all
* interactions between particles and the surface input
*
* It has a parallel implementation wich streams particle between domains.
* It has a parallel implementation which streams particle between domains.
*
* The most important parameters of this filter is it's integrationModel.
* Only one integration model implementation exist currently in ParaView
......
......@@ -857,7 +857,7 @@ vtkPolyData* vtkParticleTracerBase::Execute(vtkInformationVector** inputVector)
ParticleListIterator it_next;
//
// Perform mulitple passes. The number of passes is equal to one more than
// Perform multiple passes. The number of passes is equal to one more than
// the maximum times a particle gets migrated between processes.
bool continueExecuting = true;
int pass = 0; // really just for debugging
......
......@@ -47,7 +47,7 @@ ugrid_hex.GetPointData().SetActiveVectors("displacement")
# Test a few deformation gradients
F_lst = []
# Simple extentions
# Simple extensions
F_lst += [numpy.array([[2,0,0],
[0,1,0],
[0,0,1]])]
......
......@@ -201,7 +201,7 @@ int vtkImageDataToUniformGrid::Process(
}
else
{
vtkErrorMacro("Wrong assocation type: " << association);
vtkErrorMacro("Wrong association type: " << association);
return VTK_ERROR;
}
......
......@@ -356,7 +356,7 @@ void vtkImplicitModellerAppendExecute(vtkImplicitModeller *self,
//----------------------------------------------------------------------------
// This is the multithreaded piece of the append when doing per voxel
// processing - it is called once for each thread, with each thread
// taking a different slab of the output to work on. The acutal work is done
// taking a different slab of the output to work on. The actual work is done
// in vtkImplicitModellerAppendExecute; here we just setup for the per voxel
// processing.
static VTK_THREAD_RETURN_TYPE vtkImplicitModeller_ThreadedAppend( void *arg )
......
......@@ -313,7 +313,7 @@ void vtkHyperOctreeDualGridContourFilter::TraverseNeighborhoodRecursively(
}
//----------------------------------------------------------------------------
// Contour the cell assocaited with the center point.
// Contour the cell associated with the center point.
// if it has not already been contoured.
void vtkHyperOctreeDualGridContourFilter::EvaluatePoint(
vtkHyperOctreeLightWeightCursor* neighborhood,
......
......@@ -23,8 +23,8 @@
* data arrays from an original data array.
* The generated dataset is of the same type than the input (float or double).
* To compute the rotation this filter needs
* i) a number of periods, wich can be the maximum, i.e. a full period,
* ii) an angle, wich can be fetched from a field data array in radian or directly
* i) a number of periods, which can be the maximum, i.e. a full period,
* ii) an angle, which can be fetched from a field data array in radian or directly
* in degrees; iii) the axis (X, Y or Z) and the center of rotation.
* Point coordinates are transformed, as well as all vectors (3-components) and
* tensors (9 components) in points and cell data arrays.
......
......@@ -63,7 +63,7 @@ public:
//@{
/**
* This duplicate filter works in client server mode when this
* controller is set. We have a client flag to diferentiate the
* controller is set. We have a client flag to differentiate the
* client and server because the socket controller is odd:
* Proth processes think their id is 0.
*/
......
......@@ -22,7 +22,7 @@
* Generate periodic dataset by transforming points, vectors, tensors
* data arrays from an original data array.
* The generated dataset is of the same type than the input (float or double).
* This is an abstract class wich do not implement the actual transformation.
* This is an abstract class which do not implement the actual transformation.
* Point coordinates are transformed, as well as all vectors (3-components) and
* tensors (9 components) in points and cell data arrays.
* The generated multiblock will have the same tree architecture than the input,
......
......@@ -85,7 +85,7 @@ public:
//@{
/**
* Retuns the number of points in a bin.
* Returns the number of points in a bin.
*/
vtkIdType GetNumberOfIdsInBucket(vtkIdType idx)
{
......@@ -99,7 +99,7 @@ public:
//@}
/**
* Retuns the number of bins.
* Returns the number of bins.
*/
vtkIdType GetNumberOfBuckets() VTK_OVERRIDE
{
......
......@@ -24,7 +24,7 @@
*
*
*
* This class defines a VTK interface to an embedded GNU R intepreter instance. An
* This class defines a VTK interface to an embedded GNU R interpreter instance. An
* instance of the R interpreter is created when this class is instantiated. Additional
* instances of this class will share access the same R interpreter. The R interpreter will
* be shutdown when the application using this class exits.
......
......@@ -57,11 +57,11 @@ public:
const std::vector<const Attribute*>& GetAttributes() const;
// Description:
// Retrieve a list of scalars and thier associated metadata
// Retrieve a list of scalars and their associated metadata
const std::vector<const Scalar*>& GetScalars() const;
// Description:
// Retrieve a list of arrays and thier associated metadata
// Retrieve a list of arrays and their associated metadata
const std::vector<const VarInfo*>& GetArrays() const;
// Description:
......
......@@ -40,7 +40,7 @@ void Tokenize(const std::string& str, std::vector<std::string> &tok,
posPrev = posCur;
}
if(posPrev != str.size()-1) // Only add teh last component if it's non-empty
if(posPrev != str.size()-1) // Only add the last component if it's non-empty
{
tok.push_back(str.substr(posPrev+1, str.size()-posPrev-1));
}
......
......@@ -161,7 +161,7 @@ protected:
// Index information for independently stepped variables
// Map variable names to thier position in the block step index
// Map variable names to their position in the block step index
// [BlockId][VarName] = IndexId
std::vector<std::map<std::string, size_t> > BlockStepIndexIdMap;
......@@ -193,7 +193,7 @@ protected:
* junk data and scheduled to be filled, but they cannot be safely assigned
* to a VTK object until the data contained in them is valid, e.g. through
* a call to vtkUnstructuredGrid::SetPoints or similar. Similary,
* they cannot have thier reference cound safely decremented until after
* they cannot have their reference cound safely decremented until after
* they have been assigned to a vtk object. To work around this, a generic
* action queue is created to hold a list of arbitrary functions that need
* to be called in a particular order after the reads have been
......
......@@ -147,7 +147,7 @@ bool vtkADIOSWriter::DefineAndWrite(vtkDataObject *input)
// Things to do on the first step, before writing any data
if(this->CurrentStep == 0)
{
// Before any data can be writen, it's structure must be declared
// Before any data can be written, it's structure must be declared
this->Define("", data);
if(localProc == 0)
......
......@@ -600,7 +600,7 @@ bool vtkGDALRasterReader::vtkGDALRasterReaderInternal::GetGeoCornerPoint(
}
else
{
// 1st pass: we should realy have a call to the reader that returns
// 1st pass: we should really have a call to the reader that returns
// the homography, but for now, look for mathcing corner and pass back
// the matching corner point ("0" pixel on input means "0.5" as far as
// GDAL goes
......
......@@ -177,7 +177,7 @@ RequestData(vtkInformation *vtkNotUsed(request),
for (numPts = -1; !file.eof();)
{
getline(file, buffer);
// Scanf should match the interger part but not the string
// Scanf should match the integer part but not the string
int numArgs = sscanf(buffer.c_str(), "%d%s", &tempNumPts, junk);
if (numArgs == 1)
{
......
......@@ -816,7 +816,7 @@ int vtkNrrdReader::ReadDataAscii(vtkImageData *output)
output,
(VTK_TT *)(outBuffer)));
default:
vtkErrorMacro("Unkown data type");
vtkErrorMacro("Unknown data type");
return 0;
}
......
......@@ -153,7 +153,7 @@ public:
//Description:
//Setup reading of a number of words to be split across multiple
//bufferChunk. This is used to read really large buffer sections
//in more reasonable sizes. The paramters are used to specify the total buffer
//in more reasonable sizes. The parameters are used to specify the total buffer
//size. The buffer size will always be evenly divisable by numComps and total
//word size of all buffers will be numTuples*numComps
vtkIdType InitPartialChunkBuffering(const vtkIdType& numTuples, const vtkIdType& numComps );
......
......@@ -54,7 +54,7 @@ POSSIBILITY OF SUCH DAMAGES.
* VTK and then write it out again, you can use
* writer->SetImageAttributes(reader->GetImageAttributes) to
* ensure that all of the medical information contained in the
* file is tranferred from the reader to the writer. If you
* file is transferred from the reader to the writer. If you
* want to change any of the header information, you must
* use ShallowCopy to make a copy of the reader's attributes
* and then modify only the copy.
......
......@@ -672,7 +672,7 @@ int vtkXMLUnstructuredDataReader::ReadCellArray(vtkIdType numberOfCells,
if (this->Piece > this->StartPiece && outCells->GetData())
{
// Refer to BUG #12202 and BUG #12690. The (this->Piece > this->StartPiece)
// check ensures that when we are reading mulitple timesteps, we don't end
// check ensures that when we are reading multiple timesteps, we don't end
// up appending to existing cell arrays infinitely. An earlier version of
// the fix assumed that vtkXMLUnstructuredDataReader read only 1 piece at a
// time, which was incorrect (and hence BUG #12690).
......
......@@ -1486,7 +1486,7 @@ void vtkXdmf3DataSet::CopyShape(
if (unknownCell)
{
// encountered an unknown cell.
cerr << "Unkown cell type." << endl;
cerr << "Unknown cell type." << endl;
vCells->Delete();
delete [] cell_types;
vtkXdmf3DataSet_ReleaseIfNeeded(xTopology.get(), freeMe);
......
......@@ -40,7 +40,7 @@ cursor SetCursorValue 255
cursor SetCursorRadius [expr 50 * $IMAGE_MAG_X]
# stream to increase coverage of in place filter.
# put thge two together in one image
# put the two together in one image
vtkImageAppend imageAppend
imageAppend SetAppendAxis 0
imageAppend AddInputConnection [magnify2 GetOutputPort]
......
......@@ -117,7 +117,7 @@ void vtkImagePointDataIterator::Initialize(
(this->Extent[2] - dataExtent[2])*this->RowIncrement +
(this->Extent[4] - dataExtent[4])*this->SliceIncrement;
// Compute the end increments (continous increments).
// Compute the end increments (continuous increments).
this->RowEndIncrement = this->RowIncrement - rowSpan;
this->SliceEndIncrement = this->RowEndIncrement +
this->SliceIncrement - this->RowIncrement*sliceSpan;
......
......@@ -133,7 +133,7 @@ void vtkOpenGLImageGradient::ThreadedRequestData(
vtkOpenGLGradientCB cb;
cb.Spacing = inData[0][0]->GetSpacing();
// build the fragement shader for 2D or 3D gradient
// build the fragment shader for 2D or 3D gradient
std::string fragShader =
"//VTK::System::Dec\n"
"varying vec2 tcoordVSOutput;\n"
......
......@@ -512,7 +512,7 @@ int ImagePlaneWidget( int argc, char *argv[] )
ren1->SetViewport(0,0,0.58333,1);
ren2->SetViewport(0.58333,0,1,1);
// Set the actors' postions
// Set the actors' positions
//
renWin->Render();
iren->SetEventPosition( 175,175);
......
......@@ -520,7 +520,7 @@ int TestOrthoPlanes( int argc, char *argv[] )
ren1->SetViewport(0,0,0.58333,1);
ren2->SetViewport(0.58333,0,1,1);
// Set the actors' postions
// Set the actors' positions
//
renWin->Render();
iren->SetEventPosition( 175,175);
......
......@@ -288,7 +288,7 @@ int TestResliceCursorWidget2( int argc, char *argv[] )
ren[2]->SetViewport(0,0.5,0.5,1);
ren[3]->SetViewport(0.5,0.5,1,1);
// Set the actors' postions
// Set the actors' positions
//
renWin->Render();
......
......@@ -287,7 +287,7 @@ int TestResliceCursorWidget3( int argc, char *argv[] )
ren[2]->SetViewport(0,0.5,0.5,1);
ren[3]->SetViewport(0.5,0.5,1,1);
// Set the actors' postions
// Set the actors' positions
//
renWin->Render();
......
......@@ -31,7 +31,7 @@ class TestImagePlaneWidget(Testing.vtkTest):
img_data = v16.GetOutput()
# **************************************************
# Look here for wierdness.
# Look here for weirdness.
# Lets create this data using the data from the reader.
my_img_data = vtk.vtkImageData()
......
......@@ -101,7 +101,7 @@ public:
//@{
/**
* Set view angle LOD threshold (0.0 - 1.0).This determines at what view
* angle to geometry will make the geometry not visibile.
* angle to geometry will make the geometry not visible.
* Default is 0.34.
*/
vtkSetClampMacro(ViewAngleLODThreshold, double, 0.0, 1.0);
......
......@@ -703,7 +703,7 @@ protected:
int EnableViewAngleLOD;
/**
* This determines at what view angle to geometry will make the geometry not visibile.
* This determines at what view angle to geometry will make the geometry not visible.
* Default is 0.3.
*/
double ViewAngleLODThreshold;
......
......@@ -780,7 +780,7 @@ protected:
std::string FindExponentAndAdjustValues(std::list<double>& valuesList);
/**
* Yield a string array whith the float part of each values. 0.01e-2 -> 0.0001
* Yield a string array with the float part of each values. 0.01e-2 -> 0.0001
*/
void GetSignificantPartFromValues(vtkStringArray* valuesStr, std::list<double>& valuesList);
......@@ -978,7 +978,7 @@ protected:
int EnableViewAngleLOD;
/**
* This determines at what view angle to geometry will make the geometry not visibile.
* This determines at what view angle to geometry will make the geometry not visible.
* Default is 0.3.
*/
double ViewAngleLODThreshold;
......
......@@ -105,7 +105,7 @@ class VTKRENDERINGANNOTATION_EXPORT vtkProp3DAxisFollower
//@{
/**
* Set view angle LOD threshold (0.0 - 1.0).This determines at what view
* angle to geometry will make the geometry not visibile.
* angle to geometry will make the geometry not visible.
* Default is 0.34.
*/
vtkSetClampMacro(ViewAngleLODThreshold, double, 0.0, 1.0);
......
......@@ -70,7 +70,7 @@ int TestGlyph3DMapper(int argc, char *argv[])
squad->Delete();
// Useful code should you want to test clipping planes
// with a glyph mapper, might shoudl just uncomment
// with a glyph mapper, might should just uncomment
// this and add a new valid image
// vtkPlane *cplane = vtkPlane::New();
// cplane->SetNormal(-0.5,0.5,0);
......
......@@ -783,7 +783,7 @@ double vtkCellPicker::IntersectVolumeWithLine(const double p1[3],
lodVolume->GetLODProperty(lodId, &property);
}
// Get the theshold for the opacity
// Get the threshold for the opacity
double opacityThreshold = this->VolumeOpacityIsovalue;
// Compute the length of the line intersecting the volume
......
......@@ -436,7 +436,7 @@ public:
//@{
/**
* Get the net paramters for handlig coincident topology
* Get the net parameters for handlig coincident topology
* obtained by summing the global values with the relative values.
*/
void GetCoincidentTopologyPolygonOffsetParameters(
......
......@@ -73,7 +73,7 @@ public:
void *clientData,
void *callData);
// Select the best picker based on various criterias such as z-depth,
// Select the best picker based on various criteria such as z-depth,
// 2D overlay and/or distance to picked point.
vtkAbstractPicker* SelectPicker();
......@@ -124,7 +124,7 @@ public:
// Predicate comparing a vtkAbstractPicker*
// and a vtkSmartPointer<vtkAbstractPicker> using the PickerObjectsType.
// As we use a vtkSmartPointer, this predicate allows to compare the equality
// of a pointer on a vtkAbstractPicker with the adress contained in
// of a pointer on a vtkAbstractPicker with the address contained in
// a corresponding vtkSmartPointer.
struct equal_smartPtrPicker
{
......@@ -245,7 +245,7 @@ vtkAbstractPicker* vtkPickingManager::vtkInternal::SelectPicker()
vtkAbstractPicker* selectedPicker =
this->ComputePickerSelection(X, Y, 0., renderer);
// Keep track of the lastet picker choosen & last picking time.
// Keep track of the lastet picker chosen & last picking time.
this->LastSelectedPicker = selectedPicker;
this->LastPickingTime = this->CurrentInteractionTime;
......
......@@ -214,7 +214,7 @@ public:
//@{
/**
* If this property is on, text is alligned to drawn pixels not to font metrix.
* If this property is on, text is aligned to drawn pixels not to font metrix.
* If the text does not include descents, the bounding box will not extend below
* the baseline. This option can be used to get centered labels. It does not
* work well if the string changes as the string position will move around.
......
......@@ -119,7 +119,7 @@ public:
//@{
/**
* Set/Get the rendering context. A reference is not explicity held,
* thus refernce to the context must be held externally.
* thus reference to the context must be held externally.
*/
void SetContext(vtkRenderWindow *context);
vtkRenderWindow *GetContext();
......
......@@ -76,7 +76,7 @@ void vtkSurfaceLICComposite::Initialize(
// TODO -- FIXME