MEPP2 Project
Functions
flatfrequencycomputor.hpp File Reference
#include <cmath>
#include "FEVV/Filters/Generic/Manifold/JustNoticeableDistortion/models/types.h"
#include "flatfrequencycomputor.inl"
Include dependency graph for flatfrequencycomputor.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int cpd_to_pixel (int screen_resX, int screen_resY, double screen_size, double user_distance, double cpd)
 
double pixel_to_wDistance (int camera_vportY, double camera_fov, double camera_distance, int nb_pixel)
 
double cpd_to_wDistance (int screen_resX, int screen_resY, double screen_size, double user_distance, int camera_vportY, double camera_fov, double camera_distance, double cpd)
 
double pixel_to_cpd (int screen_resX, int screen_resY, double screen_size, double user_distance, int nb_pixel)
 
int wDistance_to_pixel (int camera_vportY, double camera_fov, double camera_distance, double wDistance)
 
double wDistance_to_cpd (int screen_resX, int screen_resY, double screen_size, double user_distance, int camera_vportY, double camera_fov, double camera_distance, double wDistance)
 
template<typename Cam_t , typename GeometryTraits , typename Point_t >
double compute_flat_frequency (const Cam_t &cam, const Point_t &p1, const Point_t &p2, const GeometryTraits &geom_t, const ScreenParam &screen, const UserParam &user, const SceneParam &scene)
 
template<typename Cam_t , typename PointMap , typename HalfedgeGraph , typename GeometryTraits , typename HalfEdge >
double compute_flat_frequency (const Cam_t &cam, const PointMap &point_map, const HalfedgeGraph &mesh, const GeometryTraits &geom_t, const HalfEdge &halfedge, const ScreenParam &screen, const UserParam &user, const SceneParam &scene)
 

Function Documentation

◆ compute_flat_frequency() [1/2]

template<typename Cam_t , typename GeometryTraits , typename Point_t >
double compute_flat_frequency ( const Cam_t &  cam,
const Point_t &  p1,
const Point_t &  p2,
const GeometryTraits &  geom_t,
const ScreenParam screen,
const UserParam user,
const SceneParam scene 
)

Definition at line 64 of file flatfrequencycomputor.hpp.

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

◆ compute_flat_frequency() [2/2]

template<typename Cam_t , typename PointMap , typename HalfedgeGraph , typename GeometryTraits , typename HalfEdge >
double compute_flat_frequency ( const Cam_t &  cam,
const PointMap &  point_map,
const HalfedgeGraph &  mesh,
const GeometryTraits &  geom_t,
const HalfEdge &  halfedge,
const ScreenParam screen,
const UserParam user,
const SceneParam scene 
)

Definition at line 94 of file flatfrequencycomputor.hpp.

Here is the call graph for this function:

◆ cpd_to_pixel()

int cpd_to_pixel ( int  screen_resX,
int  screen_resY,
double  screen_size,
double  user_distance,
double  cpd 
)
inline

Definition at line 14 of file flatfrequencycomputor.inl.

Here is the caller graph for this function:

◆ cpd_to_wDistance()

double cpd_to_wDistance ( int  screen_resX,
int  screen_resY,
double  screen_size,
double  user_distance,
int  camera_vportY,
double  camera_fov,
double  camera_distance,
double  cpd 
)
inline

Definition at line 45 of file flatfrequencycomputor.inl.

Here is the call graph for this function:

◆ pixel_to_cpd()

double pixel_to_cpd ( int  screen_resX,
int  screen_resY,
double  screen_size,
double  user_distance,
int  nb_pixel 
)
inline

Definition at line 63 of file flatfrequencycomputor.inl.

Here is the caller graph for this function:

◆ pixel_to_wDistance()

double pixel_to_wDistance ( int  camera_vportY,
double  camera_fov,
double  camera_distance,
int  nb_pixel 
)
inline

Definition at line 31 of file flatfrequencycomputor.inl.

Here is the caller graph for this function:

◆ wDistance_to_cpd()

double wDistance_to_cpd ( int  screen_resX,
int  screen_resY,
double  screen_size,
double  user_distance,
int  camera_vportY,
double  camera_fov,
double  camera_distance,
double  wDistance 
)
inline

Definition at line 93 of file flatfrequencycomputor.inl.

Here is the call graph for this function:

◆ wDistance_to_pixel()

int wDistance_to_pixel ( int  camera_vportY,
double  camera_fov,
double  camera_distance,
double  wDistance 
)
inline

Definition at line 80 of file flatfrequencycomputor.inl.

Here is the caller graph for this function: