Skip to content
  • brugger's avatar
    · 41b02b4c
    brugger authored
    I made some more changes for VTK 6.0. Most of the changes work with VTK
    5.8 and 6.0, but a few don't and those are conditionaly compiled. My
    plan is to remove the VTK 5.8 cases once we have switched, but this allows
    the changes to be tested.
    
    The types of changes made were:
    
    1) filter->SetInput(vtkDataObject);
       filter->AddInput(vtkDataObvect);
       filter->RemoveInput(vtkDataObvect);
    
         to
    
       filter->SetInputData(vtkDataObject);
       filter->AddInputData(vtkDataObvect);
       filter->RemoveInputData(vtkDataObvect);
    
    2) filter1->SetInput(filter2->GetOutput());
    
         to
    
       filter1->SetInputConnection(filter2->GetOutputPort());
    
     3) output->GetUpdateGhostLevel();
        output->GetUpdateNumberOfPieces();
    
          to
    
        outInfo->Get(
          vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_GHOST_LEVELS());
        outInfo->Get(
          vtkStreamingDemandDrivenPipeline::UPDATE_NUMBER_OF_PIECES());
    
     4) virtual void WriteFile(ofstream *, vtkImageData, int ext[6]);
        virtual void WriteFileHeader(ofstream *, vtkImageData *);
    
          to
    
        virtual void WriteFile(ofstream *, vtkImageData *, int ext[6], int wExt[6]);
        virtual void WriteFileHeader(ofstream *, vtkImageData *, int wExt[6]);
    
    
    
    git-svn-id: http://visit.ilight.com/svn/visit/trunk/src@20178 18c085ea-50e0-402c-830e-de6fd14e8384
    41b02b4c