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_GENERATE_HISTOGRAM_VR_H_INCLUDED 7 #define HECMW_VIS_GENERATE_HISTOGRAM_VR_H_INCLUDED 8 9 #include "hecmw_util.h" 10 11 void find_color_minmax_vr(double *var, int *empty_flag, int nx, int ny, int nz, 12 double *mincolor, double *maxcolor); 13 void generate_histogram_graph_vr(double tmincolor, double tmaxcolor, 14 double *var, int *empty_flag, int nx, int ny, 15 int nz, int mynode, int pesize, 16 HECMW_Comm VIS_COMM, int color_system_type); 17 void generate_interval_point_vr(double tmincolor, double tmaxcolor, double *var, 18 int *empty_flag, int nx, int ny, int nz, 19 int mynode, int pesize, HECMW_Comm VIS_COMM, 20 double *interval_point); 21 void output_histogram_vr(double tmincolor, double tmaxcolor, double *var, 22 int *empty_flag, int nx, int ny, int nz, int mynode, 23 int pesize, HECMW_Comm VIS_COMM); 24 void find_minmax_vr(double *voxel_dxyz, double *voxel_orig_xyz, int mynode, 25 double range[6]); 26 void find_dis_minmax(double view_point_d[3], double vertex[24], 27 double dis_minmax[2]); 28 void find_feap_minmax(int num_of_features, double *fea_point, double mincolor, 29 double maxcolor, double feap_minmax[2]); 30 void find_feai_minmax(int num_of_features, double *fea_point, double mincolor, 31 double maxcolor, double feai_minmax[2]); 32 33 #endif /* HECMW_VIS_GENERATE_HISTOGRAM_VR_H_INCLUDED */ 34