Commit 674f69f0 authored by Will Schroeder's avatar Will Schroeder
Browse files

ENH: Added argument to StartMethod/EndMethod functions.

parent 86cca897
......@@ -81,10 +81,10 @@ void vlAppendFilter::Update()
if (mtime > this->GetMTime() || this->GetMTime() > this->ExecuteTime )
{
if ( this->StartMethod ) (*this->StartMethod)();
if ( this->StartMethod ) (*this->StartMethod)(this->StartMethodArg);
this->Execute();
this->ExecuteTime.Modified();
if ( this->EndMethod ) (*this->EndMethod)();
if ( this->EndMethod ) (*this->EndMethod)(this->EndMethodArg);
}
}
......
......@@ -81,10 +81,10 @@ void vlAppendPolyData::Update()
if (mtime > this->GetMTime() || this->GetMTime() > this->ExecuteTime )
{
if ( this->StartMethod ) (*this->StartMethod)();
if ( this->StartMethod ) (*this->StartMethod)(this->StartMethodArg);
this->Execute();
this->ExecuteTime.Modified();
if ( this->EndMethod ) (*this->EndMethod)();
if ( this->EndMethod ) (*this->EndMethod)(this->EndMethodArg);
}
}
......
......@@ -78,10 +78,10 @@ void vlBooleanStructuredPoints::Update()
if (mtime > this->GetMTime() || this->GetMTime() > this->ExecuteTime )
{
if ( this->StartMethod ) (*this->StartMethod)();
if ( this->StartMethod ) (*this->StartMethod)(this->StartMethodArg);
this->Execute();
this->ExecuteTime.Modified();
if ( this->EndMethod ) (*this->EndMethod)();
if ( this->EndMethod ) (*this->EndMethod)(this->EndMethodArg);
}
}
......
......@@ -279,9 +279,9 @@ void vlGlyph3D::Update()
if (this->Input->GetMTime() > this->GetMTime() || this->GetMTime() > this->ExecuteTime )
{
if ( this->StartMethod ) (*this->StartMethod)();
if ( this->StartMethod ) (*this->StartMethod)(this->StartMethodArg);
this->Execute();
this->ExecuteTime.Modified();
if ( this->EndMethod ) (*this->EndMethod)();
if ( this->EndMethod ) (*this->EndMethod)(this->EndMethodArg);
}
}
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