MEPP2 Project
Signals | Public Member Functions | Protected Attributes | List of all members
FEVV::CurvaturePlugin Class Reference

#include <CurvaturePlugin.h>

Inheritance diagram for FEVV::CurvaturePlugin:
Inheritance graph
Collaboration diagram for FEVV::CurvaturePlugin:
Collaboration graph

Signals

void resetSignal ()
 

Public Member Functions

 CurvaturePlugin ()
 
 ~CurvaturePlugin ()=default
 
void init () override
 
void init (bool _forceCompute, bool _isGeod, double _radius, int _colorField, bool _displayMinDirections, bool _displayMaxDirections)
 
void reset () override
 
void addParameters (BaseWindow *_window) override
 
void initLUT ()
 
template<typename HalfedgeGraph , typename VertexCurvatureMap , typename VertexColorMap , typename GeometryTraits = FEVV::Geometry_traits< HalfedgeGraph >>
void constructColorMap (const HalfedgeGraph &g, VertexCurvatureMap &v_cm, VertexColorMap &v_colorm, double MinNrmMinCurvature, double MaxNrmMinCurvature, double MinNrmMaxCurvature, double MaxNrmMaxCurvature, int ColorField)
 
template<typename HalfedgeGraph , typename VertexCurvatureMap , typename GuiPropertiesMap >
void curvature (HalfedgeGraph *_mesh, GuiPropertiesMap &m_gpm, VertexCurvatureMap &v_cm, double &MinNrmMinCurvature, double &MaxNrmMinCurvature, double &MinNrmMaxCurvature, double &MaxNrmMaxCurvature)
 
template<typename HalfedgeGraph >
void applyHG (BaseAdapterVisu *_adapter, HalfedgeGraph *_mesh, FEVV::PMapsContainer *pmaps_bag)
 
QStringList Generic_plugins () const override
 
bool Generic_plugin (const QString &) override
 
- Public Member Functions inherited from FEVV::Generic_PluginInterface
virtual ~Generic_PluginInterface ()
 
virtual void init (BaseWindowQt *bwQt)
 
- Public Member Functions inherited from FEVV::BasePluginQt
virtual void apply (BaseAdapterVisu *, void *, FEVV::PMapsContainer *) override
 
- Public Member Functions inherited from FEVV::BasePlugin
 BasePlugin ()=default
 
 ~BasePlugin ()=default
 

Protected Attributes

bool * value_forceCompute = new bool(true)
 
bool * value_isGeod = new bool(false)
 
double * value_radius = new double(0.0)
 
int * value_colorField = new int(0)
 
bool * value_displayMinDirections = new bool(false)
 
bool * value_displayMaxDirections = new bool(false)
 
double LUT_CourbureClust [3 *256]
 Look-up table for color rendering (from blue to red) More...
 
- Protected Attributes inherited from FEVV::Generic_PluginInterface
BaseWindowQtbaseWindowQt
 the BaseWindowQt pointer More...
 
- Protected Attributes inherited from FEVV::BasePlugin
BaseWindowwindow = nullptr
 

Detailed Description

Definition at line 52 of file CurvaturePlugin.h.

Constructor & Destructor Documentation

◆ CurvaturePlugin()

FEVV::CurvaturePlugin::CurvaturePlugin ( )
inline

Definition at line 65 of file CurvaturePlugin.h.

Here is the call graph for this function:

◆ ~CurvaturePlugin()

FEVV::CurvaturePlugin::~CurvaturePlugin ( )
default

Member Function Documentation

◆ addParameters()

void FEVV::CurvaturePlugin::addParameters ( BaseWindow _window)
inlineoverridevirtual

Implements FEVV::BasePlugin.

Definition at line 97 of file CurvaturePlugin.h.

Here is the call graph for this function:

◆ applyHG()

template<typename HalfedgeGraph >
void FEVV::CurvaturePlugin::applyHG ( BaseAdapterVisu _adapter,
HalfedgeGraph *  _mesh,
FEVV::PMapsContainer pmaps_bag 
)
inline

Definition at line 977 of file CurvaturePlugin.h.

Here is the call graph for this function:

◆ constructColorMap()

template<typename HalfedgeGraph , typename VertexCurvatureMap , typename VertexColorMap , typename GeometryTraits = FEVV::Geometry_traits< HalfedgeGraph >>
void FEVV::CurvaturePlugin::constructColorMap ( const HalfedgeGraph &  g,
VertexCurvatureMap &  v_cm,
VertexColorMap &  v_colorm,
double  MinNrmMinCurvature,
double  MaxNrmMinCurvature,
double  MinNrmMaxCurvature,
double  MaxNrmMaxCurvature,
int  ColorField 
)
inline

Definition at line 888 of file CurvaturePlugin.h.

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

◆ curvature()

template<typename HalfedgeGraph , typename VertexCurvatureMap , typename GuiPropertiesMap >
void FEVV::CurvaturePlugin::curvature ( HalfedgeGraph *  _mesh,
GuiPropertiesMap &  m_gpm,
VertexCurvatureMap &  v_cm,
double &  MinNrmMinCurvature,
double &  MaxNrmMinCurvature,
double &  MinNrmMaxCurvature,
double &  MaxNrmMaxCurvature 
)
inline

Definition at line 931 of file CurvaturePlugin.h.

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

◆ Generic_plugin()

bool FEVV::CurvaturePlugin::Generic_plugin ( const QString &  )
inlineoverridevirtual

Implements FEVV::Generic_PluginInterface.

Definition at line 1237 of file CurvaturePlugin.h.

Here is the call graph for this function:

◆ Generic_plugins()

QStringList FEVV::CurvaturePlugin::Generic_plugins ( ) const
inlineoverridevirtual

Implements FEVV::Generic_PluginInterface.

Definition at line 1232 of file CurvaturePlugin.h.

◆ init() [1/2]

void FEVV::CurvaturePlugin::init ( )
inlineoverridevirtual

Implements FEVV::BasePlugin.

Definition at line 70 of file CurvaturePlugin.h.

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

◆ init() [2/2]

void FEVV::CurvaturePlugin::init ( bool  _forceCompute,
bool  _isGeod,
double  _radius,
int  _colorField,
bool  _displayMinDirections,
bool  _displayMaxDirections 
)
inline

Definition at line 72 of file CurvaturePlugin.h.

◆ initLUT()

void FEVV::CurvaturePlugin::initLUT ( )
inline

Definition at line 111 of file CurvaturePlugin.h.

Here is the caller graph for this function:

◆ reset()

void FEVV::CurvaturePlugin::reset ( void  )
inlineoverridevirtual

Implements FEVV::BasePlugin.

Definition at line 90 of file CurvaturePlugin.h.

Here is the call graph for this function:

◆ resetSignal

void FEVV::CurvaturePlugin::resetSignal ( )
signal
Here is the caller graph for this function:

Member Data Documentation

◆ LUT_CourbureClust

double FEVV::CurvaturePlugin::LUT_CourbureClust[3 *256]
protected

Look-up table for color rendering (from blue to red)

Definition at line 1264 of file CurvaturePlugin.h.

◆ value_colorField

int* FEVV::CurvaturePlugin::value_colorField = new int(0)
protected

Definition at line 1256 of file CurvaturePlugin.h.

◆ value_displayMaxDirections

bool* FEVV::CurvaturePlugin::value_displayMaxDirections = new bool(false)
protected

Definition at line 1259 of file CurvaturePlugin.h.

◆ value_displayMinDirections

bool* FEVV::CurvaturePlugin::value_displayMinDirections = new bool(false)
protected

Definition at line 1258 of file CurvaturePlugin.h.

◆ value_forceCompute

bool* FEVV::CurvaturePlugin::value_forceCompute = new bool(true)
protected

Definition at line 1251 of file CurvaturePlugin.h.

◆ value_isGeod

bool* FEVV::CurvaturePlugin::value_isGeod = new bool(false)
protected

Definition at line 1253 of file CurvaturePlugin.h.

◆ value_radius

double* FEVV::CurvaturePlugin::value_radius = new double(0.0)
protected

Definition at line 1254 of file CurvaturePlugin.h.


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