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

#include <JndPlugin.h>

Inheritance diagram for FEVV::JndPlugin:
Inheritance graph
Collaboration diagram for FEVV::JndPlugin:
Collaboration graph

Signals

void resetSignal ()
 

Public Member Functions

 JndPlugin ()=default
 
 ~JndPlugin ()=default
 
void init () override
 
void reset () override
 
void addParameters (BaseWindow *_window) override
 
template<typename HalfedgeGraph >
void process (HalfedgeGraph *_m, FEVV::PMapsContainer *pmaps_bag)
 
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 Member Functions

double interpolate (double val, double y0, double x0, double y1, double x1)
 
double base (double val)
 
double red (double gray)
 
double green (double gray)
 
double blue (double gray)
 

Protected Attributes

int * screen_width = new int(1920)
 
int * screen_height = new int(1080)
 
double * screen_size = new double(55.)
 
double * user_dist = new double(50.)
 
int * scene_height = new int(1080)
 
double * scene_fov = new double(M_PI * 0.3333)
 
int * number_of_lights = new int(128)
 
float * log_disp = new float(0.5)
 
bool * use_log = new bool(true)
 
bool * force_jnd = new bool(true)
 
- 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 56 of file JndPlugin.h.

Constructor & Destructor Documentation

◆ JndPlugin()

FEVV::JndPlugin::JndPlugin ( )
default

◆ ~JndPlugin()

FEVV::JndPlugin::~JndPlugin ( )
default

Member Function Documentation

◆ addParameters()

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

Implements FEVV::BasePlugin.

Definition at line 93 of file JndPlugin.h.

Here is the call graph for this function:

◆ applyHG()

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

Definition at line 240 of file JndPlugin.h.

Here is the call graph for this function:

◆ base()

double FEVV::JndPlugin::base ( double  val)
inlineprotected

Definition at line 362 of file JndPlugin.h.

Here is the caller graph for this function:

◆ blue()

double FEVV::JndPlugin::blue ( double  gray)
inlineprotected

Definition at line 374 of file JndPlugin.h.

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

◆ Generic_plugin()

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

Implements FEVV::Generic_PluginInterface.

Definition at line 332 of file JndPlugin.h.

Here is the call graph for this function:

◆ Generic_plugins()

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

Implements FEVV::Generic_PluginInterface.

Definition at line 327 of file JndPlugin.h.

◆ green()

double FEVV::JndPlugin::green ( double  gray)
inlineprotected

Definition at line 373 of file JndPlugin.h.

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

◆ init()

void FEVV::JndPlugin::init ( )
inlineoverridevirtual

Implements FEVV::BasePlugin.

Definition at line 73 of file JndPlugin.h.

Here is the caller graph for this function:

◆ interpolate()

double FEVV::JndPlugin::interpolate ( double  val,
double  y0,
double  x0,
double  y1,
double  x1 
)
inlineprotected

Definition at line 357 of file JndPlugin.h.

◆ process()

template<typename HalfedgeGraph >
void FEVV::JndPlugin::process ( HalfedgeGraph *  _m,
FEVV::PMapsContainer pmaps_bag 
)
inline

Definition at line 104 of file JndPlugin.h.

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

◆ red()

double FEVV::JndPlugin::red ( double  gray)
inlineprotected

Definition at line 372 of file JndPlugin.h.

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

◆ reset()

void FEVV::JndPlugin::reset ( void  )
inlineoverridevirtual

Implements FEVV::BasePlugin.

Definition at line 86 of file JndPlugin.h.

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

◆ resetSignal

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

Member Data Documentation

◆ force_jnd

bool* FEVV::JndPlugin::force_jnd = new bool(true)
protected

Definition at line 355 of file JndPlugin.h.

◆ log_disp

float* FEVV::JndPlugin::log_disp = new float(0.5)
protected

Definition at line 353 of file JndPlugin.h.

◆ number_of_lights

int* FEVV::JndPlugin::number_of_lights = new int(128)
protected

Definition at line 352 of file JndPlugin.h.

◆ scene_fov

double* FEVV::JndPlugin::scene_fov = new double(M_PI * 0.3333)
protected

Definition at line 351 of file JndPlugin.h.

◆ scene_height

int* FEVV::JndPlugin::scene_height = new int(1080)
protected

Definition at line 350 of file JndPlugin.h.

◆ screen_height

int* FEVV::JndPlugin::screen_height = new int(1080)
protected

Definition at line 347 of file JndPlugin.h.

◆ screen_size

double* FEVV::JndPlugin::screen_size = new double(55.)
protected

Definition at line 348 of file JndPlugin.h.

◆ screen_width

int* FEVV::JndPlugin::screen_width = new int(1920)
protected

Definition at line 346 of file JndPlugin.h.

◆ use_log

bool* FEVV::JndPlugin::use_log = new bool(true)
protected

Definition at line 354 of file JndPlugin.h.

◆ user_dist

double* FEVV::JndPlugin::user_dist = new double(50.)
protected

Definition at line 349 of file JndPlugin.h.


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