VTK  9.2.6
vtkLagrangianThreadedData.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkLagrangianParticleTracker.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
23 #ifndef vtkLagrangianThreadedData_h
24 #define vtkLagrangianThreadedData_h
25 
27 #include "vtkFiltersFlowPathsModule.h" // For export macro
28 #include "vtkGenericCell.h"
29 #include "vtkIdList.h"
30 #include "vtkPolyData.h"
31 
32 class vtkDataObject;
34 
35 struct VTKFILTERSFLOWPATHS_EXPORT vtkLagrangianThreadedData
36 {
40 
41  // FindInLocators cache data
42  int LastDataSetIndex = -1;
43  vtkIdType LastCellId = -1;
44  double LastCellPosition[3];
45  std::vector<double> LastWeights;
46 
50 
52  {
53  this->BilinearQuadIntersection = new vtkBilinearQuadIntersection;
54  this->IdList->Allocate(10);
55  }
56 
57  ~vtkLagrangianThreadedData() { delete this->BilinearQuadIntersection; }
58 };
59 
60 #endif // vtkLagrangianThreadedData_h
61 // VTK-HeaderTest-Exclude: vtkLagrangianThreadedData.h
vtkNew< vtkPolyData > ParticlePathsOutput
int Allocate(const vtkIdType sz, const int strategy=0)
Allocate a capacity for sz ids in the list and set the number of stored ids in the list to 0...
vtkInitialValueProblemSolver * Integrator
struct to hold a user data
int vtkIdType
Definition: vtkType.h:332
vtkNew< vtkGenericCell > GenericCell
vtkBilinearQuadIntersection * BilinearQuadIntersection
general representation of visualization data
Definition: vtkDataObject.h:65
Class to perform non planar quad intersection.
Integrate a set of ordinary differential equations (initial value problem) in time.