VTK  9.1.0
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
26#ifndef __VTK_WRAP__
27
29#include "vtkFiltersFlowPathsModule.h" // For export macro
30#include "vtkGenericCell.h"
31#include "vtkIdList.h"
32#include "vtkPolyData.h"
33
34class vtkDataObject;
36
37struct VTKFILTERSFLOWPATHS_EXPORT vtkLagrangianThreadedData
38{
42
43 // FindInLocators cache data
44 int LastDataSetIndex = -1;
45 vtkIdType LastCellId = -1;
46 double LastCellPosition[3];
47 std::vector<double> LastWeights;
48
52
54 {
55 this->BilinearQuadIntersection = new vtkBilinearQuadIntersection;
56 this->IdList->Allocate(10);
57 }
58
59 ~vtkLagrangianThreadedData() { delete this->BilinearQuadIntersection; }
60};
61
62#endif // __VTK_WRAP__
63
64#endif // vtkLagrangianThreadedData_h
65// VTK-HeaderTest-Exclude: vtkLagrangianThreadedData.h
Class to perform non planar quad intersection.
general representation of visualization data
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.
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:332