HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GAS_CorrectByMarkers.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: GAS_CorrectByMarkers.h ( GAS Library, C++)
7  *
8  * COMMENTS:
9  */
10 
11 #ifndef __GAS_CorrectByMarkers__
12 #define __GAS_CorrectByMarkers__
13 
14 #include "GAS_API.h"
15 
17 #include <GU/GU_Detail.h>
18 
19 #include "GAS_SubSolver.h"
20 #include "GAS_Utils.h"
21 
22 class GU_Detail;
23 class SIM_VectorField;
24 
26 {
27 public:
28  GET_DATA_FUNC_S(GAS_NAME_SURFACE, SurfaceName);
30 
31  GETSET_DATA_FUNCS_F("threshold", Threshold);
32 
33 protected:
34  explicit GAS_CorrectByMarkers(const SIM_DataFactory *factory);
35  virtual ~GAS_CorrectByMarkers();
36 
37  virtual bool solveGasSubclass(SIM_Engine &engine,
38  SIM_Object *obj,
39  SIM_Time time,
40  SIM_Time timestep);
41 
42  /// Corrects the iso surface according to marker values.
43  void correctSurface(SIM_ScalarField *surface, GU_Detail *gdp);
44 
45 private:
46  static const SIM_DopDescription *getDopDescription();
47 
51  "Gas Correct By Markers",
52  getDopDescription());
53 };
54 
55 #endif
#define DECLARE_STANDARD_GETCASTTOTYPE()
Definition: SIM_DataUtils.h:45
#define GAS_NAME_GEOMETRY
Definition: GAS_Utils.h:28
#define GAS_API
Definition: GAS_API.h:10
virtual bool solveGasSubclass(SIM_Engine &engine, SIM_Object *obj, SIM_Time time, SIM_Time timestep)=0
#define GETSET_DATA_FUNCS_F(DataName, FuncName)
#define DECLARE_DATAFACTORY(DataClass, SuperClass, Description, DopParms)
Definition: SIM_DataUtils.h:58
This class holds a three dimensional scalar field.
#define GAS_NAME_SURFACE
Definition: GAS_Utils.h:36
This class holds a three dimensional vector field.
#define GET_DATA_FUNC_S(DataName, FuncName)