gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
GMSH_DistancePlugin Class Reference

#include <Distance.h>

Inheritance diagram for GMSH_DistancePlugin:
Collaboration diagram for GMSH_DistancePlugin:

Public Member Functions

 GMSH_DistancePlugin ()
 
std::string getName () const
 
std::string getShortHelp () const
 
std::string getHelp () const
 
std::string getAuthor () const
 
int getNbOptions () const
 
StringXNumbergetOption (int iopt)
 
PViewexecute (PView *)
 
void printView (std::vector< GEntity * > &entities, std::map< MVertex *, double > &distance_map)
 
- Public Member Functions inherited from GMSH_PostPlugin
GMSH_PLUGIN_TYPE getType () const
 
virtual int run ()
 
virtual PViewexecuteRemote (PView *)
 
virtual PViewgetView (int index, PView *view)
 
virtual PViewDataListgetDataList (PView *view, bool showError=true)
 
virtual PViewDatagetPossiblyAdaptiveData (PView *view)
 
virtual void assignSpecificVisibility () const
 
virtual bool geometricalFilter (fullMatrix< double > *) const
 
- Public Member Functions inherited from GMSH_Plugin
 GMSH_Plugin ()
 
virtual ~GMSH_Plugin ()
 
virtual std::string getCopyright () const
 
virtual void catchErrorMessage (char *errorMessage) const
 
virtual int getNbOptionsStr () const
 
virtual StringXStringgetOptionStr (int iopt)
 
std::string serialize ()
 

Private Attributes

int _maxDim
 
PViewDataList_data
 

Additional Inherited Members

- Public Types inherited from GMSH_Plugin
enum  GMSH_PLUGIN_TYPE { GMSH_CAD_PLUGIN, GMSH_MESH_PLUGIN, GMSH_POST_PLUGIN, GMSH_SOLVER_PLUGIN }
 
- Static Public Member Functions inherited from GMSH_Plugin
static void setDrawFunction (void(*fct)(void *))
 
- Public Attributes inherited from GMSH_Plugin
PluginDialogBox * dialogBox
 
void * hlib
 
- Static Public Attributes inherited from GMSH_Plugin
static void(* draw )(void *) = nullptr
 

Detailed Description

Definition at line 17 of file Distance.h.

Constructor & Destructor Documentation

◆ GMSH_DistancePlugin()

GMSH_DistancePlugin::GMSH_DistancePlugin ( )

Definition at line 37 of file Distance.cpp.

Member Function Documentation

◆ execute()

PView * GMSH_DistancePlugin::execute ( PView v)
virtual

Implements GMSH_PostPlugin.

Definition at line 131 of file Distance.cpp.

Here is the call graph for this function:

◆ getAuthor()

std::string GMSH_DistancePlugin::getAuthor ( ) const
inlinevirtual

Reimplemented from GMSH_Plugin.

Definition at line 27 of file Distance.h.

◆ getHelp()

std::string GMSH_DistancePlugin::getHelp ( ) const
virtual

Implements GMSH_Plugin.

Definition at line 43 of file Distance.cpp.

◆ getName()

std::string GMSH_DistancePlugin::getName ( ) const
inlinevirtual

Implements GMSH_Plugin.

Definition at line 24 of file Distance.h.

◆ getNbOptions()

int GMSH_DistancePlugin::getNbOptions ( ) const
virtual

Reimplemented from GMSH_Plugin.

Definition at line 59 of file Distance.cpp.

◆ getOption()

StringXNumber * GMSH_DistancePlugin::getOption ( int  iopt)
virtual

Reimplemented from GMSH_Plugin.

Definition at line 64 of file Distance.cpp.

◆ getShortHelp()

std::string GMSH_DistancePlugin::getShortHelp ( ) const
inlinevirtual

Implements GMSH_Plugin.

Definition at line 25 of file Distance.h.

◆ printView()

void GMSH_DistancePlugin::printView ( std::vector< GEntity * > &  entities,
std::map< MVertex *, double > &  distance_map 
)

Definition at line 69 of file Distance.cpp.

Referenced by execute().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ _data

PViewDataList* GMSH_DistancePlugin::_data
private

Definition at line 20 of file Distance.h.

Referenced by execute(), GMSH_DistancePlugin(), and printView().

◆ _maxDim

int GMSH_DistancePlugin::_maxDim
private

Definition at line 19 of file Distance.h.

Referenced by execute(), GMSH_DistancePlugin(), and printView().


The documentation for this class was generated from the following files: