| 141 | } |
| 142 | |
| 143 | bool vtkCellGrid::CopyStructure(vtkCellGrid* other, bool byReference) |
| 144 | { |
| 145 | this->Initialize(); |
| 146 | vtkNew<vtkCellGridCopyQuery> copier; |
| 147 | copier->SetSource(other); |
| 148 | copier->SetTarget(this); |
| 149 | copier->CopyOnlyShapeOn(); |
| 150 | copier->SetDeepCopyArrays(!byReference); |
| 151 | if (other->Query(copier)) |
| 152 | { |
| 153 | return true; |
| 154 | } |
| 155 | return false; |
| 156 | } |
| 157 | |
| 158 | vtkDataSetAttributes* vtkCellGrid::GetAttributes(int type) |
| 159 | { |
nothing calls this directly
no test coverage detected