FrontISTR  5.2.0
Large-scale structural analysis program with finit element method
hecmw_vis_color_composite_sf.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2019 FrontISTR Commons
3  * This software is released under the MIT License, see LICENSE.txt
4  *****************************************************************************/
5 
6 #ifndef HECMW_VIS_COLOR_COMPOSITE_SF_H_INCLUDED
7 #define HECMW_VIS_COLOR_COMPOSITE_SF_H_INCLUDED
8 
9 int find_surface_point(double fp[3][3], double point_o[3],
10  double view_point_d[3], double point[3], double n_f[4],
11  double v_f[9], double c_value[3], double *value,
12  double normal[9], int normal_flag, int smooth_shading);
13 int find_point_depth(double fp[3][3], double point_o[3], double view_point_d[3],
14  double n_f[4], double point[3], int normal_flag);
15 int find2_point_depth(double fp[3][3], double point_o[3],
16  double view_point_d[3], double point[3]);
17 void compute_color_sf(double p[3], double value, double n[3],
18  int color_mapping_style, double *interval_point,
19  double view_point_d[3], int interval_mapping_num,
20  int color_system_type, int num_of_lights,
21  double *light_point, double k_ads[3],
22  double accum_rgba[4], double mincolor, double maxcolor,
23  int display_method);
24 
25 #endif /* HECMW_VIS_COLOR_COMPOSITE_SF_H_INCLUDED */
int find_surface_point(double fp[3][3], double point_o[3], double view_point_d[3], double point[3], double n_f[4], double v_f[9], double c_value[3], double *value, double normal[9], int normal_flag, int smooth_shading)
void compute_color_sf(double p[3], double value, double n[3], int color_mapping_style, double *interval_point, double view_point_d[3], int interval_mapping_num, int color_system_type, int num_of_lights, double *light_point, double k_ads[3], double accum_rgba[4], double mincolor, double maxcolor, int display_method)
int find2_point_depth(double fp[3][3], double point_o[3], double view_point_d[3], double point[3])
int find_point_depth(double fp[3][3], double point_o[3], double view_point_d[3], double n_f[4], double point[3], int normal_flag)