gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
Probe.h
Go to the documentation of this file.
1 // Gmsh - Copyright (C) 1997-2022 C. Geuzaine, J.-F. Remacle
2 //
3 // See the LICENSE.txt file in the Gmsh root directory for license information.
4 // Please report all issues on https://gitlab.onelab.info/gmsh/gmsh/issues.
5 
6 #ifndef PROBE_H
7 #define PROBE_H
8 
9 #include "Plugin.h"
10 
11 extern "C" {
13 }
14 
16  double levelset(double x, double y, double z, double val) const;
17  static double callback(int num, int action, double value, double *opt);
18  static int iview;
19 
20 public:
22  std::string getName() const { return "Probe"; }
23  std::string getShortHelp() const { return "Get value at point (X, Y, Z)"; }
24  std::string getHelp() const;
25  int getNbOptions() const;
26  StringXNumber *getOption(int iopt);
27  PView *execute(PView *);
28 
29  static double callbackX(int, int, double);
30  static double callbackY(int, int, double);
31  static double callbackZ(int, int, double);
32  static void draw(void *context);
33 };
34 
35 #endif
GMSH_ProbePlugin::callbackZ
static double callbackZ(int, int, double)
Definition: Probe.cpp:95
PView
Definition: PView.h:27
Plugin.h
GMSH_ProbePlugin::callbackY
static double callbackY(int, int, double)
Definition: Probe.cpp:90
GMSH_Plugin
Definition: Plugin.h:26
GMSH_ProbePlugin::levelset
double levelset(double x, double y, double z, double val) const
GMSH_Plugin::draw
static void(* draw)(void *)
Definition: Plugin.h:77
StringXNumber
Definition: Options.h:918
GMSH_ProbePlugin::getOption
StringXNumber * getOption(int iopt)
Definition: Probe.cpp:113
GMSH_ProbePlugin::GMSH_ProbePlugin
GMSH_ProbePlugin()
Definition: Probe.h:21
GMSH_ProbePlugin::getHelp
std::string getHelp() const
Definition: Probe.cpp:100
GMSH_ProbePlugin::getNbOptions
int getNbOptions() const
Definition: Probe.cpp:108
GMSH_ProbePlugin::callback
static double callback(int num, int action, double value, double *opt)
Definition: Probe.cpp:70
GMSH_RegisterProbePlugin
GMSH_Plugin * GMSH_RegisterProbePlugin()
Definition: Probe.cpp:25
GMSH_ProbePlugin::iview
static int iview
Definition: Probe.h:18
z
const double z
Definition: GaussQuadratureQuad.cpp:56
GMSH_ProbePlugin::execute
PView * execute(PView *)
Definition: Probe.cpp:118
GMSH_PostPlugin
Definition: Plugin.h:83
GMSH_ProbePlugin::getShortHelp
std::string getShortHelp() const
Definition: Probe.h:23
GMSH_ProbePlugin::callbackX
static double callbackX(int, int, double)
Definition: Probe.cpp:85
GMSH_ProbePlugin::getName
std::string getName() const
Definition: Probe.h:22
GMSH_ProbePlugin
Definition: Probe.h:15