Commit eeab1ea8 authored by luz.paz's avatar luz.paz

./Rendering/ typo fixes

parent 50ecde7d
......@@ -424,7 +424,7 @@ int vtkLeaderActor2D::SetFontSize(vtkViewport *viewport, vtkTextMapper *textMapp
int vtkLeaderActor2D::ClipLeader(double center[3], int box[2], double p1[3],
double ray[3], double c1[3], double c2[3])
{
// Separately compute the parametric coordintes due to x-line and y-line
// Separately compute the parametric coordinates due to x-line and y-line
// intersections. Take the coordinate closest to the center of the line.
double tx, ty, t;
double x = center[0] + box[0];
......
......@@ -382,7 +382,7 @@ double *vtkAssembly::GetBounds()
{
continue;
}
// Only set the prop as visibile if atleast one prop has a valid bounds
// Only set the prop as visible if at least one prop has a valid bounds
propVisible = 1;
double bbox[24];
......
......@@ -56,7 +56,7 @@ std::ostream& PrintCoords(const std::string &label,
// Used to convert WorldCoords <--> DisplayCoords.
// Required because vtkCoordinate doesn't support depth values for DC.
// Here, we use homogenous 3D coordinates. This is so a DC's x/y values may be
// Here, we use homogeneous 3D coordinates. This is so a DC's x/y values may be
// modified and passed back to DisplayToWorld to produce an World-space point
// at the same view depth as another.
class FastDepthAwareCoordinateConverter
......
......@@ -64,7 +64,7 @@
* It is really important to note that a null object is different from one
* to an other !!
* This has been done to allow adding multiple times the same picker to the manager
* by not passing the referenced object to not force the supression of all pickers
* by not passing the referenced object to not force the suppression of all pickers
*/
#ifndef vtkPickingManager_h
......
......@@ -1101,7 +1101,7 @@ void vtkRenderer::ResetCamera(double bounds[6])
}
else
{
vtkErrorMacro(<< "Trying to reset non-existant camera");
vtkErrorMacro(<< "Trying to reset non-existent camera");
return;
}
......@@ -1221,7 +1221,7 @@ void vtkRenderer::ResetCameraClippingRange( double bounds[6] )
this->GetActiveCameraAndResetIfCreated();
if ( this->ActiveCamera == nullptr )
{
vtkErrorMacro(<< "Trying to reset clipping range of non-existant camera");
vtkErrorMacro(<< "Trying to reset clipping range of non-existent camera");
return;
}
......
......@@ -570,7 +570,7 @@ public:
* Compute the aspect ratio of this renderer for the current tile. When
* tiled displays are used the aspect ratio of the renderer for a given
* tile may be different that the aspect ratio of the renderer when rendered
* in it entirity
* in it entirety
*/
double GetTiledAspectRatio();
......
......@@ -617,7 +617,7 @@ float vtkTextActor::GetFontScale(vtkViewport *viewport)
int viewportWidth
= (viewportSize[0] > viewportSize[1]) ? viewportSize[0] : viewportSize[1];
// Scale based on the assumtion of a 6 inch wide image at 72 DPI.
// Scale based on the assumption of a 6 inch wide image at 72 DPI.
return static_cast<double>(viewportWidth)/(6*72);
}
......
......@@ -2039,7 +2039,7 @@ vtkTextureObject *vtkLineIntegralConvolution2D::Execute(
vtkErrorMacro(
<< comm->GetRank()
<< " : Invalid intensity range " << grayMin << ", " << grayMax
<< "for contrast ehancement");
<< "for contrast enhancement");
grayMin = 0.0;
grayMax = 1.0;
}
......
......@@ -52,7 +52,7 @@ void main(void)
// compute the convolution but don't use convovled values if
// any masked fragments on the stencil. Fragments outside
// the valid domain are masked during initializaiton, and
// the valid domain are masked during initialization, and
// texture wrap parameters are clamp to border with border
// color that contains masked flag
float conv = 0.0;
......
......@@ -47,7 +47,7 @@ public:
* Initialize the object based on the following description of the
* blocks projected onto the render window. wholeExt describes the
* window size, originalExts describe each block's extent in window
* coords. stepSize is the window coordiniate integration step size.
* coords. stepSize is the window coordinate integration step size.
* when inplace is true compositing happens on the original extent.
*/
void Initialize(
......@@ -196,7 +196,7 @@ public:
/**
* Make a decomposition disjoint with respect to itself. Extents are
* removed from the input array and disjoint extents are appened onto
* removed from the input array and disjoint extents are appended onto
* the output array. This is a local operation.
*/
static
......
......@@ -72,7 +72,7 @@ vtkMatplotlibMathTextUtilities::CheckMPLAvailability()
// VTK_MATPLOTLIB_DEBUG is defined in the process environment.
bool debug = (vtksys::SystemTools::GetEnv("VTK_MATPLOTLIB_DEBUG") != nullptr);
// Initialize the python interpretor if needed
// Initialize the python interpreter if needed
vtkMplStartUpDebugMacro("Initializing Python, if not already.");
vtkPythonInterpreter::Initialize();
vtkMplStartUpDebugMacro("Attempting to import matplotlib.");
......
......@@ -512,7 +512,7 @@ protected:
std::map<std::string,ExtraAttributeValue> ExtraAttributes;
// Store shader properties on this class by legacy shader replacement functions
// This should disapear when the functions are deprecated
// This should disappear when the functions are deprecated
#ifndef VTK_LEGACY_REMOVE
vtkOpenGLShaderProperty * GetLegacyShaderProperty();
vtkSmartPointer<vtkOpenGLShaderProperty> LegacyShaderProperty;
......
......@@ -24,7 +24,7 @@
* and to save and restore OpenGL state that you change. The former
* makes your code work, the latter hels prevent your code from
* breaking something else. The problem is that the former results
* in tons of redundent OpenGL calls and the later is done by querying
* in tons of redundant OpenGL calls and the later is done by querying
* the OpenGL state which can cause a pipeline sync/stall which is
* very slow.
*
......
......@@ -295,7 +295,7 @@ public:
/**
* Set/Get times that can be used to track when a set of
* uniforms was last updated. This can be used to reduce
* redundent SetUniformCalls
* redundant SetUniformCalls
*/
enum UniformGroups {
CameraGroup,
......
......@@ -46,7 +46,7 @@
* to Gx1 and kernel (-1 0 1)^T is applied to Gx2. It gives the values for
* 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
* The gradient computation happens per component (R,G,B). A is arbitrarily set
* to 1 (full opacity).
*
* @par Implementation:
......
......@@ -53,7 +53,7 @@
#include <string>
#include <vector>
// uncomment the folowing line to add in state debugging information
// uncomment the following line to add in state debugging information
//#define USE_STATE_DEBUGGING 1
#ifdef USE_STATE_DEBUGGING
......
......@@ -175,7 +175,7 @@ void vtkOpenVRRenderer::ResetCamera(double bounds[6])
}
else
{
vtkErrorMacro(<< "Trying to reset non-existant camera");
vtkErrorMacro(<< "Trying to reset non-existent camera");
return;
}
......@@ -300,7 +300,7 @@ void vtkOpenVRRenderer::ResetCameraClippingRange( double bounds[6] )
this->GetActiveCameraAndResetIfCreated();
if ( this->ActiveCamera == nullptr )
{
vtkErrorMacro(<< "Trying to reset clipping range of non-existant camera");
vtkErrorMacro(<< "Trying to reset clipping range of non-existent camera");
return;
}
......
......@@ -46,7 +46,7 @@ if (VTK_ENABLE_OSPRAY)
TestPathTracerMaterialLibrary.cxx,NO_VALID
TestPathTracerMaterials.cxx
TestPathTracerShadows.cxx
# Miscelaneous tests
# Miscellaneous tests
TestOSPRayCache.cxx
)
endif()
......
......@@ -68,7 +68,7 @@ class FixedPointRayCasterNearest(object):
iac.AddInputConnection(d.GetOutputPort())
iac.AddInputConnection(ss.GetOutputPort())
# Some more gaussians for the four component indepent case
# Some more gaussians for the four component independent case
gs1 = vtk.vtkImageGaussianSource()
gs1.SetWholeExtent(0, 30, 0, 30, 0, 30)
gs1.SetMaximum(255.0)
......
......@@ -2225,7 +2225,7 @@ int vtkFixedPointVolumeRayCastMapper::ComputeRowBounds(vtkRenderer *ren,
if ( rowBoundsFlag )
{
// Create the row bounds array. This will store the start / stop pixel
// for each row. This helps eleminate work in areas outside the bounding
// for each row. This helps eliminate work in areas outside the bounding
// hexahedron since a bounding box is not very tight. We keep the old ones
// too to help with only clearing where required
this->RowBounds = new int [2*imageMemorySize[1]];
......
......@@ -80,7 +80,7 @@ public:
//@}
/**
* Derived class should implemen this if needed
* Derived class should implement this if needed
*/
virtual void ReleaseGraphicsResources(vtkWindow *) { }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment