Commit 22db1b9d authored by bonnell's avatar bonnell
Browse files

Clean up some Fix_Me notes leftover from vtk-6 port

git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@23215 18c085ea-50e0-402c-830e-de6fd14e8384
parent 21596850
......@@ -1801,10 +1801,6 @@ avtTransformManager::CSGToDiscrete(avtDatabaseMetaData *md,
}
}
// FIX_ME_VTK6.0, ESB, I assume this needs to be done for VTK based
// readers. Can we eliminate this or do we need to move it somewhere
// else. All the tests pass with this commented out.
// dgrid->Update();
//
// Cache the discretized mesh for this timestep
......
......@@ -2840,9 +2840,7 @@ avtStructuredDomainBoundaries::CreateGhostZones(vtkDataSet *outMesh,
outMesh->GetCellData()->AddArray(ghostCells);
ghostCells->Delete();
// FIX_ME_VTK6.0, ESB, is this correct?
vtkStreamingDemandDrivenPipeline::SetUpdateGhostLevel(outMesh->GetInformation(), 0);
//outMesh->SetUpdateGhostLevel(0);
//
// Create a field-data array indicating the extents of real zones.
......
......@@ -532,9 +532,7 @@ avtUnstructuredDomainBoundaries::ExchangeMeshT(vector<int> domainNum,
}
outm->GetCellData()->AddArray(ghostCells);
ghostCells->Delete();
// FIX_ME_VTK6.0, ESB, is this correct?
vtkStreamingDemandDrivenPipeline::SetUpdateGhostLevel(outm->GetInformation(), 0);
//outm->SetUpdateGhostLevel(0);
// This call is in lieu of "BuildLinks", which has a memory leak.
// This should be the non-leaking equivalent.
......
......@@ -192,9 +192,7 @@ avtRevolvedSurfaceArea::DeriveVariable(vtkDataSet *in_ds, int currentDomainsInde
boundaryFilter->ColoringOff();
boundaryFilter->SetInputConnection(geomFilter->GetOutputPort());
// FIX_ME_VTK6.0, ESB, is this correct?
vtkStreamingDemandDrivenPipeline::SetUpdateGhostLevel(boundaryFilter->GetInformation(), 2);
//boundaryFilter->GetOutput()->SetUpdateGhostLevel(2);
boundaryFilter->Update();
allLines = boundaryFilter->GetOutput();
......
......@@ -812,8 +812,6 @@ avtLineoutFilter::Sampling(vtkDataSet *in_ds, int domain)
{
vtkDataSetRemoveGhostCells *ghosts = vtkDataSetRemoveGhostCells::New();
ghosts->SetInputData(in_ds);
// FIX_ME_VTK6.0, ksb, is this update necessary?
ghosts->Update();
vtkLineoutFilter *filter = vtkLineoutFilter::New();
......@@ -821,7 +819,6 @@ avtLineoutFilter::Sampling(vtkDataSet *in_ds, int domain)
filter->SetPoint1(point1);
filter->SetPoint2(point2);
filter->SetNumberOfSamplePoints(numberOfSamplePoints);
// FIX_ME_VTK6.0, ESB, is this correct?
vtkStreamingDemandDrivenPipeline::SetUpdateGhostLevel(filter->GetInformation(), 0);
filter->Update();
vtkPolyData *outPolys = filter->GetOutput();
......
......@@ -910,8 +910,7 @@ VisitPointTool::UpdateSphere()
source->SetThetaResolution(15);
vtkPolyDataNormals *pdn = vtkPolyDataNormals::New();
// FIX_ME_VTK6.0, ESB, should this be a AddInputConnection?
pdn->AddInputData(source->GetOutput());
pdn->SetInputConnection(source->GetOutputPort());
pdn->Update();
sphereData = pdn->GetOutput();
sphereData->Register(NULL);
......
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