VTK  9.2.5
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
32class vtkDataObject;
34
35struct 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
Class to perform non planar quad intersection.
general representation of visualization data
Definition: vtkDataObject.h:66
Integrate a set of ordinary differential equations (initial value problem) in time.
Allocate and hold a VTK object.
Definition: vtkNew.h:62
struct to hold a user data
vtkInitialValueProblemSolver * Integrator
vtkBilinearQuadIntersection * BilinearQuadIntersection
vtkNew< vtkGenericCell > GenericCell
vtkNew< vtkPolyData > ParticlePathsOutput
int vtkIdType
Definition: vtkType.h:332