| 226 | vtkSetMacro(IntegrationTime, double); |
| 227 | |
| 228 | void Reseed(double* seed, double* normal, vtkPolyData* poly, int id, double propagation, |
| 229 | double integrationTime) |
| 230 | { |
| 231 | memcpy(this->Seed, seed, 3 * sizeof(double)); |
| 232 | memcpy(this->Normal, normal, 3 * sizeof(double)); |
| 233 | |
| 234 | this->AllocateTail(poly->GetPointData()); |
| 235 | double x[3]; |
| 236 | poly->GetPoints()->GetPoint(id, x); |
| 237 | this->Tail->GetPoints()->SetPoint(0, x); |
| 238 | this->Tail->GetPointData()->CopyData(poly->GetPointData(), id, 0); |
| 239 | this->Rank = -1; // someone else figure this out |
| 240 | this->IntegrationTime = integrationTime; |
| 241 | this->Propagation = propagation; |
| 242 | } |
| 243 | |
| 244 | vtkPolyData* GetTail() { return this->Tail; } |
| 245 |
no test coverage detected