VTK  9.3.20240328
vtkLagrangianThreadedData.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
11 #ifndef vtkLagrangianThreadedData_h
12 #define vtkLagrangianThreadedData_h
13 
15 #include "vtkFiltersFlowPathsModule.h" // For export macro
16 #include "vtkGenericCell.h"
17 #include "vtkIdList.h"
18 #include "vtkPolyData.h"
19 
20 VTK_ABI_NAMESPACE_BEGIN
21 class vtkDataObject;
23 
24 struct VTKFILTERSFLOWPATHS_EXPORT vtkLagrangianThreadedData
25 {
29 
30  // FindInLocators cache data
31  int LastDataSetIndex = -1;
32  vtkIdType LastCellId = -1;
33  double LastCellPosition[3];
34  std::vector<double> LastWeights;
35 
39 
41  {
42  this->BilinearQuadIntersection = new vtkBilinearQuadIntersection;
43  this->IdList->Allocate(10);
44  }
45 
46  ~vtkLagrangianThreadedData() { delete this->BilinearQuadIntersection; }
47 };
48 
49 VTK_ABI_NAMESPACE_END
50 #endif // vtkLagrangianThreadedData_h
51 // VTK-HeaderTest-Exclude: vtkLagrangianThreadedData.h
Class to perform non planar quad intersection.
general representation of visualization data
int Allocate(vtkIdType sz, int strategy=0)
Allocate a capacity for sz ids in the list and set the number of stored ids in the list to 0.
Integrate a set of ordinary differential equations (initial value problem) in time.
struct to hold a user data
vtkInitialValueProblemSolver * Integrator
vtkBilinearQuadIntersection * BilinearQuadIntersection
vtkNew< vtkGenericCell > GenericCell
vtkNew< vtkPolyData > ParticlePathsOutput
int vtkIdType
Definition: vtkType.h:315