Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Michael Migliore
VTK
Commits
16f2bfea
Commit
16f2bfea
authored
Oct 24, 2017
by
luz.paz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Misc. doxy and comment typo fixes
Typos fixes for documentation and source code comments. This commit is a follow up to:
!3424
parent
6536b81a
Changes
139
Hide whitespace changes
Inline
Side-by-side
Showing
75 changed files
with
96 additions
and
96 deletions
+96
-96
Accelerators/Vtkm/CMakeLists.txt
Accelerators/Vtkm/CMakeLists.txt
+1
-1
CMake/FindOSPRay.cmake
CMake/FindOSPRay.cmake
+1
-1
CMake/FindTCL.cmake
CMake/FindTCL.cmake
+1
-1
CMakeLists.txt
CMakeLists.txt
+1
-1
Charts/Core/vtkAxis.cxx
Charts/Core/vtkAxis.cxx
+2
-2
Charts/Core/vtkCompositeControlPointsItem.h
Charts/Core/vtkCompositeControlPointsItem.h
+1
-1
Charts/Core/vtkPlotBag.h
Charts/Core/vtkPlotBag.h
+1
-1
Common/Core/Testing/Cxx/TestDataArrayAPI.cxx.in
Common/Core/Testing/Cxx/TestDataArrayAPI.cxx.in
+1
-1
Common/Core/vtkEventForwarderCommand.h
Common/Core/vtkEventForwarderCommand.h
+1
-1
Common/Core/vtkPoints.h
Common/Core/vtkPoints.h
+1
-1
Common/Core/vtkTypeTraits.h
Common/Core/vtkTypeTraits.h
+1
-1
Common/DataModel/vtkAMRInformation.h
Common/DataModel/vtkAMRInformation.h
+1
-1
Common/DataModel/vtkBoundingBox.cxx
Common/DataModel/vtkBoundingBox.cxx
+1
-1
Common/DataModel/vtkBoundingBox.h
Common/DataModel/vtkBoundingBox.h
+1
-1
Common/DataModel/vtkCellType.h
Common/DataModel/vtkCellType.h
+1
-1
Common/DataModel/vtkDataSet.h
Common/DataModel/vtkDataSet.h
+1
-1
Common/DataModel/vtkHyperTreeGrid.cxx
Common/DataModel/vtkHyperTreeGrid.cxx
+1
-1
Common/DataModel/vtkHyperTreeGridCursor.cxx
Common/DataModel/vtkHyperTreeGridCursor.cxx
+2
-2
Common/DataModel/vtkInformationQuadratureSchemeDefinitionVectorKey.h
...Model/vtkInformationQuadratureSchemeDefinitionVectorKey.h
+1
-1
Common/DataModel/vtkLagrangeTetra.cxx
Common/DataModel/vtkLagrangeTetra.cxx
+1
-1
Common/DataModel/vtkPointLocator.cxx
Common/DataModel/vtkPointLocator.cxx
+1
-1
Common/DataModel/vtkSimpleCellTessellator.cxx
Common/DataModel/vtkSimpleCellTessellator.cxx
+3
-3
Common/DataModel/vtkTree.cxx
Common/DataModel/vtkTree.cxx
+2
-2
Common/DataModel/vtkUnstructuredGrid.h
Common/DataModel/vtkUnstructuredGrid.h
+1
-1
Common/DataModel/vtkUnstructuredGridBase.h
Common/DataModel/vtkUnstructuredGridBase.h
+1
-1
Common/DataModel/vtkVector.h
Common/DataModel/vtkVector.h
+1
-1
Common/ExecutionModel/vtkSpanSpace.cxx
Common/ExecutionModel/vtkSpanSpace.cxx
+1
-1
Common/Math/vtkQuaternion.h
Common/Math/vtkQuaternion.h
+1
-1
Common/Math/vtkTuple.h
Common/Math/vtkTuple.h
+1
-1
Common/Misc/vtkHeap.cxx
Common/Misc/vtkHeap.cxx
+1
-1
Common/System/vtkTimerLog.cxx
Common/System/vtkTimerLog.cxx
+1
-1
Examples/GUI/Tcl/AngleWidget.tcl
Examples/GUI/Tcl/AngleWidget.tcl
+1
-1
Examples/HyperTree/Cxx/Sphere/HyperTreeGridSphere.cxx
Examples/HyperTree/Cxx/Sphere/HyperTreeGridSphere.cxx
+5
-5
Examples/Rendering/Python/Cylinder.py
Examples/Rendering/Python/Cylinder.py
+1
-1
Examples/Rendering/Tcl/Cylinder.tcl
Examples/Rendering/Tcl/Cylinder.tcl
+1
-1
Filters/AMR/vtkImageToAMR.cxx
Filters/AMR/vtkImageToAMR.cxx
+1
-1
Filters/Core/vtkMergeFields.h
Filters/Core/vtkMergeFields.h
+1
-1
Filters/Extraction/vtkExtractSelectedThresholds.h
Filters/Extraction/vtkExtractSelectedThresholds.h
+1
-1
Filters/FlowPaths/vtkEvenlySpacedStreamlines2D.cxx
Filters/FlowPaths/vtkEvenlySpacedStreamlines2D.cxx
+2
-2
Filters/FlowPaths/vtkLagrangianBasicIntegrationModel.h
Filters/FlowPaths/vtkLagrangianBasicIntegrationModel.h
+1
-1
Filters/FlowPaths/vtkLagrangianParticleTracker.h
Filters/FlowPaths/vtkLagrangianParticleTracker.h
+4
-4
Filters/General/vtkDataSetGradientPrecompute.h
Filters/General/vtkDataSetGradientPrecompute.h
+1
-1
Filters/General/vtkDeformPointSet.cxx
Filters/General/vtkDeformPointSet.cxx
+1
-1
Filters/General/vtkGraphWeightEuclideanDistanceFilter.h
Filters/General/vtkGraphWeightEuclideanDistanceFilter.h
+1
-1
Filters/General/vtkLoopBooleanPolyDataFilter.h
Filters/General/vtkLoopBooleanPolyDataFilter.h
+1
-1
Filters/General/vtkYoungsMaterialInterface.h
Filters/General/vtkYoungsMaterialInterface.h
+4
-4
Filters/Geometry/Testing/Cxx/TestStructuredAMRNeighbor.cxx
Filters/Geometry/Testing/Cxx/TestStructuredAMRNeighbor.cxx
+1
-1
Filters/Geometry/Testing/Cxx/TestStructuredGridConnectivity.cxx
...s/Geometry/Testing/Cxx/TestStructuredGridConnectivity.cxx
+1
-1
Filters/Geometry/vtkDataSetRegionSurfaceFilter.cxx
Filters/Geometry/vtkDataSetRegionSurfaceFilter.cxx
+1
-1
Filters/Hybrid/vtkImplicitModeller.h
Filters/Hybrid/vtkImplicitModeller.h
+1
-1
Filters/Hybrid/vtkTemporalArrayOperatorFilter.h
Filters/Hybrid/vtkTemporalArrayOperatorFilter.h
+1
-1
Filters/HyperTree/vtkHyperTreeGridAxisClip.cxx
Filters/HyperTree/vtkHyperTreeGridAxisClip.cxx
+4
-4
Filters/HyperTree/vtkHyperTreeGridAxisCut.cxx
Filters/HyperTree/vtkHyperTreeGridAxisCut.cxx
+2
-2
Filters/HyperTree/vtkHyperTreeGridPlaneCutter.h
Filters/HyperTree/vtkHyperTreeGridPlaneCutter.h
+1
-1
Filters/HyperTree/vtkHyperTreeGridThreshold.cxx
Filters/HyperTree/vtkHyperTreeGridThreshold.cxx
+1
-1
Filters/Modeling/vtkDijkstraGraphInternals.h
Filters/Modeling/vtkDijkstraGraphInternals.h
+1
-1
Filters/Modeling/vtkQuadRotationalExtrusionFilter.cxx
Filters/Modeling/vtkQuadRotationalExtrusionFilter.cxx
+1
-1
Filters/Modeling/vtkRuledSurfaceFilter.h
Filters/Modeling/vtkRuledSurfaceFilter.h
+2
-2
Filters/OpenTurns/vtkOTDensityMap.cxx
Filters/OpenTurns/vtkOTDensityMap.cxx
+1
-1
Filters/Parallel/vtkAngularPeriodicFilter.cxx
Filters/Parallel/vtkAngularPeriodicFilter.cxx
+1
-1
Filters/Parallel/vtkCollectGraph.h
Filters/Parallel/vtkCollectGraph.h
+1
-1
Filters/Parallel/vtkCollectPolyData.h
Filters/Parallel/vtkCollectPolyData.h
+1
-1
Filters/Parallel/vtkCollectTable.h
Filters/Parallel/vtkCollectTable.h
+1
-1
Filters/Parallel/vtkDuplicatePolyData.h
Filters/Parallel/vtkDuplicatePolyData.h
+1
-1
Filters/Parallel/vtkProcessIdScalars.h
Filters/Parallel/vtkProcessIdScalars.h
+1
-1
Filters/Parallel/vtkTransmitPolyDataPiece.h
Filters/Parallel/vtkTransmitPolyDataPiece.h
+1
-1
Filters/Parallel/vtkTransmitStructuredDataPiece.h
Filters/Parallel/vtkTransmitStructuredDataPiece.h
+1
-1
Filters/Parallel/vtkTransmitUnstructuredGridPiece.h
Filters/Parallel/vtkTransmitUnstructuredGridPiece.h
+1
-1
Filters/ParallelDIY2/vtkPResampleToImage.h
Filters/ParallelDIY2/vtkPResampleToImage.h
+1
-1
Filters/ParallelDIY2/vtkPResampleWithDataSet.cxx
Filters/ParallelDIY2/vtkPResampleWithDataSet.cxx
+1
-1
Filters/ParallelDIY2/vtkPResampleWithDataSet.h
Filters/ParallelDIY2/vtkPResampleWithDataSet.h
+1
-1
Filters/ParallelImaging/vtkMemoryLimitImageDataStreamer.h
Filters/ParallelImaging/vtkMemoryLimitImageDataStreamer.h
+1
-1
Filters/Points/vtkSignedDistance.h
Filters/Points/vtkSignedDistance.h
+1
-1
Filters/Points/vtkUnsignedDistance.h
Filters/Points/vtkUnsignedDistance.h
+1
-1
Filters/Statistics/Testing/Cxx/TestContingencyStatistics.cxx
Filters/Statistics/Testing/Cxx/TestContingencyStatistics.cxx
+1
-1
No files found.
Accelerators/Vtkm/CMakeLists.txt
View file @
16f2bfea
...
...
@@ -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
}
...
...
CMake/FindOSPRay.cmake
View file @
16f2bfea
...
...
@@ -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 in
s
tall location."
)
endif
()
if
(
OSPRAY_INSTALL_DIR
)
...
...
CMake/FindTCL.cmake
View file @
16f2bfea
...
...
@@ -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/develop
p
ers, 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.
...
...
CMakeLists.txt
View file @
16f2bfea
...
...
@@ -294,7 +294,7 @@ if(APPLE)
if
(
CMAKE_OSX_DEPLOYMENT_TARGET AND
CMAKE_OSX_DEPLOYMENT_TARGET VERSION_LESS 10.7
)
message
(
FATAL_ERROR
"Minimu
n
OS X deployment target is 10.7, please update CMAKE_OSX_DEPLOYMENT_TARGET."
)
message
(
FATAL_ERROR
"Minimu
m
OS X deployment target is 10.7, please update CMAKE_OSX_DEPLOYMENT_TARGET."
)
endif
()
endif
()
...
...
Charts/Core/vtkAxis.cxx
View file @
16f2bfea
...
...
@@ -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 retri
e
ve 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 retri
e
ve 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
);
...
...
Charts/Core/vtkCompositeControlPointsItem.h
View file @
16f2bfea
...
...
@@ -68,7 +68,7 @@ public:
};
//@{
/**
* PointsFunction controls wether the points represent the
* PointsFunction controls w
h
ether the points represent the
* ColorTransferFunction, OpacityTransferFunction or both.
* If ColorPointsFunction, only the points of the ColorTransfer function are
* used.
...
...
Charts/Core/vtkPlotBag.h
View file @
16f2bfea
...
...
@@ -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
* param
a
ters.
* param
e
ters.
*/
void
SetInputData
(
vtkTable
*
table
)
override
;
void
SetInputData
(
vtkTable
*
table
,
const
vtkStdString
&
yColumn
,
...
...
Common/Core/Testing/Cxx/TestDataArrayAPI.cxx.in
View file @
16f2bfea
...
...
@@ -1498,7 +1498,7 @@ int Test_void_Reset()
vtkIdType tuples = 0;
array->SetNumberOfComponents(comps);
// Reseting a new array shouldn't cause issues
// Reset
t
ing a new array shouldn't cause issues
array->Reset();
DataArrayAPIAssert(array->GetMaxId() == -1,
"Invalid MaxId (" << array->GetMaxId() << ").");
...
...
Common/Core/vtkEventForwarderCommand.h
View file @
16f2bfea
...
...
@@ -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 comm
m
and was attached to using AddObserver.
* of the object this command was attached to using AddObserver.
*
* @sa
* vtkCommand
...
...
Common/Core/vtkPoints.h
View file @
16f2bfea
...
...
@@ -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 Modif
i
ed as well.
*/
void
Modified
()
override
;
...
...
Common/Core/vtkTypeTraits.h
View file @
16f2bfea
...
...
@@ -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 format
t
ing integers with char.
#define VTK_TYPE_NAME_CHAR char
#if VTK_TYPE_CHAR_IS_SIGNED
# define VTK_TYPE_SIZED_CHAR INT8
...
...
Common/DataModel/vtkAMRInformation.h
View file @
16f2bfea
...
...
@@ -165,7 +165,7 @@ public:
void
GenerateRefinementRatio
();
/**
* Returns
W
ether refinement ratio has been set (either by calling
* Returns
wh
ether refinement ratio has been set (either by calling
* GenerateRefinementRatio() or by calling SetRefinementRatio()
*/
bool
HasRefinementRatio
();
...
...
Common/DataModel/vtkBoundingBox.cxx
View file @
16f2bfea
...
...
@@ -502,7 +502,7 @@ ComputeDivisions(vtkIdType totalBins, double bounds[6], int divs[3]) const
}
// ---------------------------------------------------------------------------
// Desciption:
// Desc
r
iption:
// 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
...
...
Common/DataModel/vtkBoundingBox.h
View file @
16f2bfea
...
...
@@ -111,7 +111,7 @@ public:
//@}
/**
* Change the bouding box to be the union of itself and bbox.
* Change the bou
n
ding box to be the union of itself and bbox.
*/
void
AddBox
(
const
vtkBoundingBox
&
bbox
);
...
...
Common/DataModel/vtkCellType.h
View file @
16f2bfea
...
...
@@ -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)
// Arbit
r
ary order Lagrange elements (formulated separated from generic higher order cells)
VTK_LAGRANGE_CURVE
=
68
,
VTK_LAGRANGE_TRIANGLE
=
69
,
VTK_LAGRANGE_QUADRILATERAL
=
70
,
...
...
Common/DataModel/vtkDataSet.h
View file @
16f2bfea
...
...
@@ -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 information
s
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
...
...
Common/DataModel/vtkHyperTreeGrid.cxx
View file @
16f2bfea
...
...
@@ -1315,7 +1315,7 @@ public:
cursorIdx
=
CornerNeighborCursorsTable3D
[
c
][
l
];
break
;
default:
vtkErrorMacro
(
"unexpected neigborhood"
);
vtkErrorMacro
(
"unexpected neig
h
borhood"
);
return
false
;
}
// switch ( N )
...
...
Common/DataModel/vtkHyperTreeGridCursor.cxx
View file @
16f2bfea
...
...
@@ -34,10 +34,10 @@ vtkHyperTreeGridCursor::vtkHyperTreeGridCursor()
// No tree is given by default
this
->
Tree
=
0
;
// Defaut cursor level
// Defau
l
t cursor level
this
->
Level
=
0
;
// Defaut index
// Defau
l
t index
this
->
Index
=
0
;
// Cursor is not at leaf by default
...
...
Common/DataModel/vtkInformationQuadratureSchemeDefinitionVectorKey.h
View file @
16f2bfea
...
...
@@ -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 def
u
alt implementation that did nothing. but we decided that
// with a defa
u
lt 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.
...
...
Common/DataModel/vtkLagrangeTetra.cxx
View file @
16f2bfea
...
...
@@ -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 relev
e
nt indices within the four-component
// triangle system. These are the relev
a
nt 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
},
...
...
Common/DataModel/vtkPointLocator.cxx
View file @
16f2bfea
...
...
@@ -1221,7 +1221,7 @@ int vtkPointLocator::InitPointInsertion(vtkPoints *newPts,
// Incrementally insert a point into search structure. The method returns
// the insertion location (i.e., point id). You should use the method
// IsInsertedPoint() to see whether this point has already been
// inserted (that is, if you desire to prevent dulicate points).
// inserted (that is, if you desire to prevent du
p
licate points).
// Before using this method you must make sure that newPts have been
// supplied, the bounds has been set properly, and that divs are
// properly set. (See InitPointInsertion().)
...
...
Common/DataModel/vtkSimpleCellTessellator.cxx
View file @
16f2bfea
...
...
@@ -49,7 +49,7 @@ static int TRIANGLE_EDGES_TABLE[3][2] = {{0, 1}, {1, 2}, {2, 0}};
#define NO_TRIAN {-1,-1,-1}
// Each edge can either be split or not therefore there is
// 2^3 = 8 different
s
cases of tessellation
// 2^3 = 8 different cases of tessellation
// The last case is only a sentinel to avoid stepping out of table
// If we consider edge 3 the first edge, 4 the second and 5 the last one
// 'Index' can be computed by the decimal evaluation of the binary representing
...
...
@@ -90,7 +90,7 @@ static int TETRA_EDGES_TABLE[6][2] = {
// Each edge can either be split or not therefore there is
// 2^6 = 64 different
s
cases of tessellation
// 2^6 = 64 different cases of tessellation
// The last case is only a sentinel to avoid stepping out of table
// [case][tetra][vertex]
static
signed
char
vtkTessellatorTetraCasesRight
[
65
][
8
][
4
]
=
{
...
...
@@ -895,7 +895,7 @@ public:
}
// Description:
// Return if the four corner points of the tetra are all different
s
// Return if the four corner points of the tetra are all different
#ifndef NDEBUG
int
PointsDifferents
()
{
...
...
Common/DataModel/vtkTree.cxx
View file @
16f2bfea
...
...
@@ -124,7 +124,7 @@ bool vtkTree::IsStructureValid(vtkGraph *g)
vtkTree
*
tree
=
vtkTree
::
SafeDownCast
(
g
);
if
(
tree
)
{
// Since a tree has the additional root propery, we need
// Since a tree has the additional root proper
t
y, we need
// to set that here.
this
->
Root
=
tree
->
Root
;
return
true
;
...
...
@@ -202,7 +202,7 @@ bool vtkTree::IsStructureValid(vtkGraph *g)
}
}
// Since a tree has the additional root propery, we need
// Since a tree has the additional root proper
t
y, we need
// to set that here.
this
->
Root
=
root
;
...
...
Common/DataModel/vtkUnstructuredGrid.h
View file @
16f2bfea
...
...
@@ -123,7 +123,7 @@ public:
*/
vtkIdType
InsertNextCell
(
int
type
,
vtkIdList
*
ptIds
)
override
;
// Desciption:
// Desc
r
iption:
// Insert/create a polyhedron cell. npts is the number of unique points in
// the cell. pts is the list of the unique cell point Ids. nfaces is the
// number of faces in the cell. faces is the face-stream
...
...
Common/DataModel/vtkUnstructuredGridBase.h
View file @
16f2bfea
...
...
@@ -74,7 +74,7 @@ public:
*/
virtual
vtkIdType
InsertNextCell
(
int
type
,
vtkIdList
*
ptIds
)
=
0
;
// Desciption:
// Desc
r
iption:
// Insert/create a polyhedron cell. npts is the number of unique points in
// the cell. pts is the list of the unique cell point Ids. nfaces is the
// number of faces in the cell. faces is the face-stream
...
...
Common/DataModel/vtkVector.h
View file @
16f2bfea
...
...
@@ -49,7 +49,7 @@ public:
}
/**
* Initalize the vector's elements with the elements of the supplied array.
* Init
i
alize the vector's elements with the elements of the supplied array.
* Note that the supplied pointer must contain at least as many elements as
* the vector, or it will result in access to out of bounds memory.
*/
...
...
Common/ExecutionModel/vtkSpanSpace.cxx
View file @
16f2bfea
...
...
@@ -78,7 +78,7 @@ public:
void
Build
();
// Given a scalar value, return a rectangle in span space. This
// rectangle is used subsequently for extracing individual
// rectangle is used subsequently for extrac
t
ing individual
// rows. rMin is the lower (i,j) lower-left corner of the rectangle;
// rMax is the upper-right corner (i,j) position of the
// rectangle.
...
...
Common/Math/vtkQuaternion.h
View file @
16f2bfea
...
...
@@ -49,7 +49,7 @@ public:
explicit
vtkQuaternion
(
const
T
&
scalar
)
:
vtkTuple
<
T
,
4
>
(
scalar
)
{}
/**
* Initalize the quaternion's elements with the elements of the supplied array.
* Init
i
alize the quaternion's elements with the elements of the supplied array.
* Note that the supplied pointer must contain at least as many elements as
* the quaternion, or it will result in access to out of bounds memory.
*/
...
...
Common/Math/vtkTuple.h
View file @
16f2bfea
...
...
@@ -56,7 +56,7 @@ public:
}
/**
* Initalize the tuple's elements with the elements of the supplied array.
* Init
i
alize the tuple's elements with the elements of the supplied array.
* Note that the supplied pointer must contain at least as many elements as
* the tuple, or it will result in access to out of bounds memory.
*/
...
...
Common/Misc/vtkHeap.cxx
View file @
16f2bfea
...
...
@@ -75,7 +75,7 @@ void vtkHeap::SetBlockSize(size_t _arg)
void
*
vtkHeap
::
AllocateMemory
(
size_t
n
)
{
if
(
n
%
this
->
Alignment
)
//4-byte word align
e
ment
if
(
n
%
this
->
Alignment
)
//4-byte word alignment
{
n
+=
this
->
Alignment
-
(
n
%
this
->
Alignment
);
}
...
...
Common/System/vtkTimerLog.cxx
View file @
16f2bfea
...
...
@@ -503,7 +503,7 @@ void vtkTimerLog::DumpLogWithIndentsAndPercentages(std::ostream *os)
continue
;
}
else
if
(
logEntryType
==
vtkTimerLogEntry
::
STANDALONE
)
{
// Skip this event if it is just to mark that an event occured
{
// Skip this event if it is just to mark that an event occur
r
ed
continue
;
}
...
...
Examples/GUI/Tcl/AngleWidget.tcl
View file @
16f2bfea
...
...
@@ -66,7 +66,7 @@ vtkAngleRepresentation2D rep
[
rep GetRay2
]
AutoLabelOn
[
rep GetRay2
]
SetLabelFormat
"%-#7.1lf"
# Do some additional formating of the text font.
# Do some additional format
t
ing of the text font.
#
set textProp
[[
rep GetRay1
]
GetLabelTextProperty
]
$textProp SetColor 1 0 0
...
...
Examples/HyperTree/Cxx/Sphere/HyperTreeGridSphere.cxx
View file @
16f2bfea
...
...
@@ -40,11 +40,11 @@ using namespace std;
void
usage
()
{
cout
<<
"Usage : amr [-level <int>] [-refine <int>] [-nx <int>] [-ny <int>] [-nz <int>] [-write <file>] [-shrink] [-help]"
<<
endl
;
cout
<<
" -depth : Number of refinement levels. Defaut = 3"
<<
endl
;
cout
<<
" -factor : Refinement branching factor. Defaut = 3"
<<
endl
;
cout
<<
" -n[xyz] : Number of grid points in each direction. Defaut = 5"
<<
endl
;
cout
<<
" -write : Output mesh in a VTK unstructured grid file. Defaut = no output"
<<
endl
;
cout
<<
" -shrink : Apply shrink filter before rendering geometry. Defaut = do not shrink"
<<
endl
;
cout
<<
" -depth : Number of refinement levels. Defau
l
t = 3"
<<
endl
;
cout
<<
" -factor : Refinement branching factor. Defau
l
t = 3"
<<
endl
;
cout
<<
" -n[xyz] : Number of grid points in each direction. Defau
l
t = 5"
<<
endl
;
cout
<<
" -write : Output mesh in a VTK unstructured grid file. Defau
l
t = no output"
<<
endl
;
cout
<<
" -shrink : Apply shrink filter before rendering geometry. Defau
l
t = do not shrink"
<<
endl
;
cout
<<
" -help : Print available options"
<<
endl
;
exit
(
0
);
}
...
...
Examples/Rendering/Python/Cylinder.py
View file @
16f2bfea
...
...
@@ -42,7 +42,7 @@ ren.AddActor(cylinderActor)
ren
.
SetBackground
(
0.1
,
0.2
,
0.4
)
renWin
.
SetSize
(
200
,
200
)
# This allows the interactor to initalize itself. It has to be
# This allows the interactor to init
i
alize itself. It has to be
# called before an event loop.
iren
.
Initialize
()
...
...
Examples/Rendering/Tcl/Cylinder.tcl
View file @
16f2bfea
...
...
@@ -54,7 +54,7 @@ renWin SetSize 200 200
#
"package require vtkinteraction"
.
iren AddObserver UserEvent
{
wm deiconify .vtkInteract
}
# This allows the interactor to initalize itself. It has to be
# This allows the interactor to init
i
alize itself. It has to be
# called before an event loop. In this example, we allow Tk to
# start the event loop
(
this is done automatically by Tk after
# the user script is executed
)
.
...
...
Filters/AMR/vtkImageToAMR.cxx
View file @
16f2bfea
...
...
@@ -99,7 +99,7 @@ namespace
//split the blocks into a tree that starts out as a single stem
//than turn a full tree. This shape is designed so that numLevels and maxNumBlocks
//constraint can be satis
i
fed
//constraint can be satisf
i
ed
void
Split
(
const
vtkAMRBox
&
rootBox
,
int
numLevels
,
int
refinementRatio
,
int
maxNumBlocks
,
std
::
vector
<
std
::
vector
<
vtkAMRBox
>
>&
out
)
{
...
...
Filters/Core/vtkMergeFields.h
View file @
16f2bfea
...
...
@@ -16,7 +16,7 @@
* @class vtkMergeFields
* @brief Merge multiple fields into one.
*
* vtkMergeFields is used to merge mu
t
liple field into one.
* vtkMergeFields is used to merge mul
t
iple field into one.
* The new field is put in the same field data as the original field.
* For example
* @verbatim
...
...
Filters/Extraction/vtkExtractSelectedThresholds.h
View file @
16f2bfea
...
...
@@ -22,7 +22,7 @@
* values that lie within a vtkSelection's THRESHOLD contents. The selecion
* can specify to threshold a particular array within either the point or cell
* attribute data of the input. This is similar to vtkThreshold
* but allows mu
t
liple thresholds ranges.
* but allows mul
t
iple thresholds ranges.
* This filter adds a scalar array called vtkOriginalCellIds that says what
* input cell produced each output cell. This is an example of a Pedigree ID
* which helps to trace back results.
...
...
Filters/FlowPaths/vtkEvenlySpacedStreamlines2D.cxx
View file @
16f2bfea
...
...
@@ -127,7 +127,7 @@ int vtkEvenlySpacedStreamlines2D::RequestData(
{
this
->
InputData
->
UnRegister
(
this
);
vtkErrorMacro
(
"vtkEvenlySpacedStreamlines2D does not support planes not al
l
igned with XY."
);
"vtkEvenlySpacedStreamlines2D does not support planes not aligned with XY."
);
return
0
;
}
std
::
array
<
double
,
3
>
v
=
{{
bounds
[
1
]
-
bounds
[
0
],
bounds
[
3
]
-
bounds
[
2
],
...
...
@@ -260,7 +260,7 @@ int vtkEvenlySpacedStreamlines2D::ComputeCellLength(
vtkDataSet
*
input
;
auto
cell
=
vtkSmartPointer
<
vtkGenericCell
>::
New
();
double
velocity
[
3
];
// access the start postion
// access the start pos
i
tion
if
(
!
func
->
FunctionValues
(
this
->
StartPosition
,
velocity
))
{
func
->
Delete
();
...
...
Filters/FlowPaths/vtkLagrangianBasicIntegrationModel.h
View file @
16f2bfea
...
...
@@ -436,7 +436,7 @@ protected:
/**
* Given a particle, check if it perforate a surface cell
* ie : interact with next step after inter
r
acting with it
* ie : interact with next step after interacting with it
*/
virtual
bool
CheckSurfacePerforation
(
vtkLagrangianParticle
*
particle
,
vtkDataSet
*
surface
,
vtkIdType
cellId
);
...
...
Filters/FlowPaths/vtkLagrangianParticleTracker.h
View file @
16f2bfea
...
...
@@ -42,7 +42,7 @@
*
* The most important parameters of this filter is it's integrationModel.
* Only one integration model implementation exist currently in ParaView
* ,vtkLagrangianMatidaIntegrationModel but the design enables plugin develop
p
ers
* ,vtkLagrangianMatidaIntegrationModel but the design enables plugin developers
* to expand this tracker by creating new models.
* A model can define :
* * The number of integration variable and new user defined integration variable
...
...
@@ -72,11 +72,11 @@
* when the next position is too far
* * Different kind of cell length computation, including a divergence theorem
* based computation
* * Optional lines rendering controlled by a treshold
* * Optional lines rendering controlled by a t
h
reshold
* * Ghost cell support
* * Non planar quad interaction
n
support
* * Non planar quad interaction support
* * Built-in support for surface interaction including, terminate, bounce,
* break-up and pass-trough surface
* break-up and pass-t
h
rough surface
* The serial and parallel filters are fully tested.
*
* @sa
...
...
Filters/General/vtkDataSetGradientPrecompute.h
View file @
16f2bfea
...
...
@@ -18,7 +18,7 @@
*
* Computes a geometry based vector field that the DataSetGradient filter uses to accelerate
* gradient computation. This vector field is added to FieldData since it has a different
* value for each vertex of each cell (a vertex shared by two cell has two different
s
values).
* value for each vertex of each cell (a vertex shared by two cell has two different values).
*
* @par Thanks:
* This file is part of the generalized Youngs material interface reconstruction algorithm contributed by
...
...
Filters/General/vtkDeformPointSet.cxx
View file @
16f2bfea
...
...
@@ -99,7 +99,7 @@ int vtkDeformPointSet::RequestData(
return
0
;
}
// Pass the input attributes to the ouput
// Pass the input attributes to the ou
t
put
output
->
CopyStructure
(
input
);
output
->
GetPointData
()
->
PassData
(
input
->
GetPointData
());
output
->
GetCellData
()
->
PassData
(
input
->
GetCellData
());
...
...
Filters/General/vtkGraphWeightEuclideanDistanceFilter.h
View file @
16f2bfea
...
...
@@ -42,7 +42,7 @@ protected:
/**
* Compute the Euclidean distance between the Points defined for the
* vertic
i
es of a specified 'edge'.
* vertices of a specified 'edge'.
*/
float
ComputeWeight
(
vtkGraph
*
const
graph
,
const
vtkEdgeType
&
edge
)
const
override
;
...
...
Filters/General/vtkLoopBooleanPolyDataFilter.h
View file @
16f2bfea
...
...
@@ -26,7 +26,7 @@
* The filter uses vtkIntersectionPolyDataFilter. Must have information
* about the cells on mesh that the intersection lines touch. Filter assumes
* this information is given.
* The ouput result will have data about the Original Surface,
* The ou
t
put result will have data about the Original Surface,
* BoundaryPoints, Boundary Cells,
* Free Edges, and Bad Triangles
*/
...
...
Filters/General/vtkYoungsMaterialInterface.h
View file @
16f2bfea
...
...
@@ -53,7 +53,7 @@ public:
//@{
/**
* Set/Get wether the normal vector has to be flipped.
* Set/Get w
h
ether the normal vector has to be flipped.
*/
vtkSetMacro
(
InverseNormal
,
int
);
vtkGetMacro
(
InverseNormal
,
int
);
...
...
@@ -137,7 +137,7 @@ public:
//@{
/**
* Only meaningful
l
for LOVE software. returns the maximum number of blocks con
a
tining the same material
* Only meaningful for LOVE software. returns the maximum number of blocks cont
a
ining the same material
*/
vtkGetMacro
(
NumberOfDomains
,
int
);
//@}
...
...
@@ -154,7 +154,7 @@ public:
//@}
/**
* Removes all m
e
terials previously added.
* Removes all m
a
terials previously added.
*/
virtual
void
RemoveAllMaterials
();
...
...
@@ -224,7 +224,7 @@ protected:
*/
int
NumberOfDomains
;
// Desc
t
iption:
// Desc
r
iption:
// Internal data structures
vtkYoungsMaterialInterfaceInternals
*
Internals
;
...
...
Filters/Geometry/Testing/Cxx/TestStructuredAMRNeighbor.cxx
View file @
16f2bfea
...
...
@@ -603,7 +603,7 @@ int TestAssignmentOperator()
++
rc
;
}
// Allocate B and set som ivars arbitrarily
// Allocate B and set som
e
ivars arbitrarily
vtkStructuredAMRNeighbor
B
;
B
.
GridLevel
=
B
.
NeighborLevel
=
100
;
B
.
RelationShip
=
vtkStructuredAMRNeighbor
::
SAME_LEVEL_SIBLING
;
...
...
Filters/Geometry/Testing/Cxx/TestStructuredGridConnectivity.cxx
View file @
16f2bfea
...
...
@@ -832,7 +832,7 @@ int SimpleTest( int argc, char **argv )
if
(
!
success
)
{
std
::
cerr
<<
"FIELD COMPARIS
S
ON FAILED!
\n
"
;
std
::
cerr
<<
"FIELD COMPARISON FAILED!
\n
"
;
}
gmbds
->
Delete
();
...
...
Filters/Geometry/vtkDataSetRegionSurfaceFilter.cxx
View file @
16f2bfea
...
...
@@ -1021,7 +1021,7 @@ void vtkDataSetRegionSurfaceFilter::InsertTriInHash(vtkIdType a, vtkIdType b,
b
=
tmp
;
}
// We can't put the second smnallest in b because it might change the order
// of the vertic
i
es in the final triangle.
// of the vertices in the final triangle.
// Look for existing tri in the hash;
end
=
this
->
QuadHash
+
a
;
...
...
Filters/Hybrid/vtkImplicitModeller.h
View file @
16f2bfea
...
...
@@ -279,7 +279,7 @@ public:
*/
void
EndAppend
();
// See the vtkAlgorithm for a desciption of what these do
// See the vtkAlgorithm for a desc
r
iption of what these do
int
ProcessRequest
(
vtkInformation
*
,
vtkInformationVector
**
,
vtkInformationVector
*
)
override
;
...
...
Filters/Hybrid/vtkTemporalArrayOperatorFilter.h
View file @
16f2bfea
...
...
@@ -72,7 +72,7 @@ public:
//@{
/**