Commit c65105cc authored by David Gobbi's avatar David Gobbi

Remove the default from vtkAlgorithm::UpdateExtent().

The default NULL value for UpdateExtent(const int extent[6]) was a typo.
parent 840d2f59
......@@ -40,13 +40,6 @@ class TestDefaultArgs(Testing.vtkTest):
ipi.Initialize(image, (0,9,0,9,0,9))
# call this method without extent parameter
ipi.Initialize(image)
# do another method for good measure
source = vtk.vtkImageGridSource()
source.SetDataExtent((0,99,0,99,0,0))
# set the parameter
source.UpdateExtent((0,50,0,50,0,0))
# use default parameter value
source.UpdateExtent()
def testDefaultPointer(self):
"""Test a POD pointer arg with default value of 0."""
......
......@@ -500,7 +500,7 @@ public:
// Convenience method to update an algorithm after passing requests
// to its first output port.
// Supports extent request.
virtual int UpdateExtent(const int extents[6]=0);
virtual int UpdateExtent(const int extents[6]);
// Description:
// Convenience method to update an algorithm after passing requests
......
Changes in VTK 7.1 {#VTK-7-1-Changes}
==================
This pages documents API and behavior changes between VTK 7.0 and
This page documents API and behavior changes between VTK 7.0 and
VTK 7.1
Pipeline Update Methods
......@@ -44,7 +44,7 @@ The following new methods were added:
int Update(int port, vtkInformationVector* requests);
int Update(vtkInformation* requests);
int UpdatePiece(int piece, int numPieces, int ghostLevels, const int extents[6]=0);
int UpdateExtent(const int extents[6]=0);
int UpdateExtent(const int extents[6]);
int UpdateTimeStep(double time,
int piece=-1, int numPieces=1, int ghostLevels=0, const int extents[6]=0);
......
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