Commit 5f5e3c0d authored by bonnell's avatar bonnell

Fix some compile errors on Windows (functions needing to return a value, missing code).

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@20091 18c085ea-50e0-402c-830e-de6fd14e8384
parent d4a72a98
......@@ -485,6 +485,7 @@ int vtkUniqueFeatureEdges::RequestUpdateExtent(
{
input->SetUpdateGhostLevel(ghostLevel + 1);
}
return 1;
}
void vtkUniqueFeatureEdges::PrintSelf(ostream& os, vtkIndent indent)
......
......@@ -225,6 +225,7 @@ vtkVertexFilter::RequestData(
}
output->SetPoints(outPts);
outPts->Delete();
return 1;
}
// ****************************************************************************
......
......@@ -456,6 +456,7 @@ int vtkVisItFeatureEdges::RequestUpdateExtent(
{
input->SetUpdateGhostLevel(ghostLevel + 1);
}
return 1;
}
void vtkVisItFeatureEdges::PrintSelf(ostream& os, vtkIndent indent)
......
......@@ -881,6 +881,33 @@ vtkVisItGlyph3D::RequestData(
return 1;
}
//----------------------------------------------------------------------------
// Specify a source object at a specified table location.
void vtkVisItGlyph3D::SetSourceConnection(int id, vtkAlgorithmOutput* algOutput)
{
if (id < 0)
{
vtkErrorMacro("Bad index " << id << " for source.");
return;
}
int numConnections = this->GetNumberOfInputConnections(1);
if (id < numConnections)
{
this->SetNthInputConnection(1, id, algOutput);
}
else if (id == numConnections && algOutput)
{
this->AddInputConnection(1, algOutput);
}
else if (algOutput)
{
vtkWarningMacro("The source id provided is larger than the maximum "
"source id, using " << numConnections << " instead.");
this->AddInputConnection(1, algOutput);
}
}
// ****************************************************************************
// Method: vtkVisItGlyph3D::RequestUpdateExtent
//
......
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