- Timestamp:
- Aug 23, 2015 3:23:12 PM (9 years ago)
- Location:
- vtkvis/branches/1.8
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
vtkvis/branches/1.8/Contour2D.cpp
r5836 r5844 12 12 #include <vtkPointData.h> 13 13 #include <vtkCellData.h> 14 #include <vtkTrivialProducer.h>15 14 #include <vtkCellDataToPointData.h> 16 15 #include <vtkContourFilter.h> … … 127 126 vtkAlgorithmOutput *dsOutput = NULL; 128 127 vtkSmartPointer<vtkCellDataToPointData> cellToPtData; 129 vtkSmartPointer<vtkTrivialProducer> prod;130 128 131 129 if (ds->GetPointData() == NULL || … … 143 141 } 144 142 } else { 145 prod = vtkSmartPointer<vtkTrivialProducer>::New(); 146 prod->SetOutput(ds); 147 dsOutput = prod->GetOutputPort(); 143 dsOutput = _dataSet->getProducerPort(); 148 144 } 149 145 -
vtkvis/branches/1.8/Contour3D.cpp
r5836 r5844 12 12 #include <vtkPointData.h> 13 13 #include <vtkCellData.h> 14 #include <vtkTrivialProducer.h>15 14 #include <vtkCellDataToPointData.h> 16 15 #include <vtkContourFilter.h> … … 122 121 vtkAlgorithmOutput *dsOutput = NULL; 123 122 vtkSmartPointer<vtkCellDataToPointData> cellToPtData; 124 vtkSmartPointer<vtkTrivialProducer> prod;125 123 126 124 if (ds->GetPointData() == NULL || … … 138 136 } 139 137 } else { 140 prod = vtkSmartPointer<vtkTrivialProducer>::New(); 141 prod->SetOutput(ds); 142 dsOutput = prod->GetOutputPort(); 138 dsOutput = _dataSet->getProducerPort(); 143 139 } 144 140 -
vtkvis/branches/1.8/HeightMap.cpp
r5836 r5844 11 11 #include <vtkPointData.h> 12 12 #include <vtkCellData.h> 13 #include <vtkTrivialProducer.h>14 13 #include <vtkCellDataToPointData.h> 15 14 #include <vtkPolyDataMapper.h> … … 230 229 vtkAlgorithmOutput *dsOutput = NULL; 231 230 vtkSmartPointer<vtkCellDataToPointData> cellToPtData; 232 vtkSmartPointer<vtkTrivialProducer> prod;233 231 234 232 if (ds->GetPointData() == NULL || … … 247 245 } 248 246 } else { 249 prod = vtkSmartPointer<vtkTrivialProducer>::New(); 250 prod->SetOutput(ds); 251 dsOutput = prod->GetOutputPort(); 247 dsOutput = _dataSet->getProducerPort(); 252 248 } 253 249 -
vtkvis/branches/1.8/Warp.cpp
r5836 r5844 13 13 #include <vtkPointData.h> 14 14 #include <vtkCellData.h> 15 #include <vtkTrivialProducer.h>16 15 #include <vtkCellDataToPointData.h> 17 16 #include <vtkPolyDataMapper.h> … … 112 111 vtkAlgorithmOutput *dsOutput = NULL; 113 112 vtkSmartPointer<vtkCellDataToPointData> cellToPtData; 114 vtkSmartPointer<vtkTrivialProducer> prod;115 113 if (ds->GetPointData() == NULL || 116 114 ds->GetPointData()->GetVectors() == NULL) { … … 128 126 } 129 127 } else { 130 prod = vtkSmartPointer<vtkTrivialProducer>::New(); 131 prod->SetOutput(ds); 132 dsOutput = prod->GetOutputPort(); 128 dsOutput = _dataSet->getProducerPort(); 133 129 } 134 130
Note: See TracChangeset
for help on using the changeset viewer.