VMTK
vtkvmtkStreamlineToParticlesFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: VMTK
4 Module: $RCSfile: vtkvmtkStreamlineToParticlesFilter.h,v $
5 Language: C++
6 
7  Copyright (c) Luca Antiga, David Steinman. All rights reserved.
8  See LICENSE file for details.
9 
10  Portions of this code are covered under the VTK copyright.
11  See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm
12  for details.
13 
14  This software is distributed WITHOUT ANY WARRANTY; without even
15  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16  PURPOSE. See the above copyright notices for more information.
17 
18 =========================================================================*/
28 #ifndef __vtkvmtkStreamlineToParticlesFilter_h
29 #define __vtkvmtkStreamlineToParticlesFilter_h
30 
31 #include "vtkPolyDataAlgorithm.h"
32 #include "vtkvmtkWin32Header.h"
33 
34 class VTK_VMTK_MISC_EXPORT vtkvmtkStreamlineToParticlesFilter : public vtkPolyDataAlgorithm
35 {
36  public:
37  vtkTypeMacro(vtkvmtkStreamlineToParticlesFilter,vtkPolyDataAlgorithm);
38  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
39 
41 
42  vtkSetMacro(NumberOfInjections,int);
43  vtkGetMacro(NumberOfInjections,int);
44 
45  vtkSetMacro(NumberOfParticlesPerInjection,int);
46  vtkGetMacro(NumberOfParticlesPerInjection,int);
47 
48  vtkSetMacro(InjectionStart,double);
49  vtkGetMacro(InjectionStart,double);
50 
51  vtkSetMacro(InjectionEnd,double);
52  vtkGetMacro(InjectionEnd,double);
53 
54  vtkSetMacro(TracingEnd,double);
55  vtkGetMacro(TracingEnd,double);
56 
57  vtkSetMacro(DeltaT,double);
58  vtkGetMacro(DeltaT,double);
59 
60  vtkSetStringMacro(IntegrationTimeArrayName);
61  vtkGetStringMacro(IntegrationTimeArrayName);
62 
63  vtkSetStringMacro(TimeArrayName);
64  vtkGetStringMacro(TimeArrayName);
65 
66  vtkSetStringMacro(VelocityArrayName);
67  vtkGetStringMacro(VelocityArrayName);
68 
69  protected:
72 
73  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
74 
77 
79  double InjectionEnd;
80  double TracingEnd;
81  double DeltaT;
82 
86 
87  private:
89  void operator=(const vtkvmtkStreamlineToParticlesFilter&); // Not implemented.
90 };
91 
92 #endif
Cluster streamlines based on Mahalanobis distance metric and K-Means clustering.