Evita  0.16
evFeatureDetectorSwirl.h
Go to the documentation of this file.
1 /*
2  *
3  * EVITA: Efficient Visualization of Terascale Datasets
4  * Copyright (C) 2000-2016 Team Evita
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Library General Public
8  * License as published by the Free Software Foundation; either
9  * version 2 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Library General Public License for more details.
15  *
16  * You should have received a copy of the GNU Library General Public
17  * License along with this library; if not, write to the
18  * Free Software Foundation, Inc., 675 Mass Ave, Cambridge,
19  * MA 02139, USA.
20  *
21  */
22 
23 
24 #ifndef __evFeatureDetectorSwirl_h
25 #define __evFeatureDetectorSwirl_h
26 
27 
28 #include "evFeatureDetector.h"
29 
30 
32 {
33  public:
35  virtual ~evFeatureDetectorSwirl(void);
36 
37  virtual const evString GetClassName(void) const
38  {
39  return(evString("evFeatureDetectorSwirl"));
40  }
41 
42  int DetectFeatures(const evDataset &dataset,
43  evScalarField &significance_map) const;
44 
45  protected:
46 
47  private:
48 
49  void Initialize(void);
50  int CalculateSwirlParameter(const evVectorField &velocity,
51  const evVectorField &velocity_gradient_u,
52  const evVectorField &velocity_gradient_w,
53  evScalarField &significance_map) const;
54  double ComputeCompressibleTauBar(const double velocity_u,
55  const double velocity_v,
56  const double velocity_w,
57  const evVector
58  &velocity_gradient_u,
59  const evVector
60  &velocity_gradient_v,
61  const evVector
62  &velocity_gradient_w) const;
63  double Determinant(const evVector &velocity_gradient_u,
64  const evVector &velocity_gradient_v,
65  const evVector &velocity_gradient_w) const;
66 
67  int VectorCoreDenoising(const evVectorField &velocity,
68  evScalarField &significance_map) const;
69  bool Sperner(const evVectorField &velocity, const evAddress &address) const;
70  unsigned int GetQuadrant(const evVector &vector) const;
71 
72 };
73 
74 
75 #endif
virtual const evString GetClassName(void) const
Definition: evFeatureDetectorSwirl.h:37
Definition: evFeatureDetector.h:50
Definition: evVector.h:36
Definition: evDataset.h:34
Definition: evAddress.h:37
double ComputeCompressibleTauBar(const double velocity_u, const double velocity_v, const double velocity_w, const evVector &velocity_gradient_u, const evVector &velocity_gradient_v, const evVector &velocity_gradient_w) const
double Determinant(const evVector &velocity_gradient_u, const evVector &velocity_gradient_v, const evVector &velocity_gradient_w) const
Definition: evVectorField.h:32
unsigned int GetQuadrant(const evVector &vector) const
int VectorCoreDenoising(const evVectorField &velocity, evScalarField &significance_map) const
int CalculateSwirlParameter(const evVectorField &velocity, const evVectorField &velocity_gradient_u, const evVectorField &velocity_gradient_w, evScalarField &significance_map) const
int DetectFeatures(const evDataset &dataset, evScalarField &significance_map) const
Definition: evFeatureDetectorSwirl.h:31
Definition: evScalarField.h:31
virtual ~evFeatureDetectorSwirl(void)
bool Sperner(const evVectorField &velocity, const evAddress &address) const
Definition: evString.h:30