5 #ifndef __u3d_surfsourcehpp
6 #define __u3d_surfsourcehpp
8 #include "u3d_rtmod_defines.hpp"
9 #include <mth/u3d_box.hpp>
10 #include <mth/u3d_math_abstract_surface.hpp>
11 #include <mth/u3d_triangled_abstract_surface.hpp>
27 m_triansurf(triansurf_in)
34 void setIJCell(
U3dPoint p,
double stF,
double stAz,
double T,
35 double F,
double Az,
double nF,
double nAz);
37 void getIJ(
U3dPoint p,
int &i,
int &j);
39 int getIMax() {
return m_p_size; }
40 int getJMax() {
return m_q_size; }
42 SSPQCell getCell(
int i,
int j) {
return m_pqgrid[i][j]; }
44 U3dPoint getCellInitPoint(
int i,
int j);
46 double getIJStF(
int i,
int j) {
return m_pqgrid[i][j].
st_f; }
47 double getIJStAz(
int i,
int j) {
return m_pqgrid[i][j].
st_az; }
49 double getIJT(
int i,
int j) {
return m_pqgrid[i][j].
t; }
50 double getIJF(
int i,
int j) {
return m_pqgrid[i][j].
f; }
51 double getIJAz(
int i,
int j) {
return m_pqgrid[i][j].
az; }
52 double getIJNF(
int i,
int j) {
return m_pqgrid[i][j].n_f; }
53 double getIJNAz(
int i,
int j) {
return m_pqgrid[i][j].n_az; }
55 void setShadowedFlag(
int i,
int j) { m_pqgrid[i][j].
t = -2; }
57 bool getReady() {
return m_ready; }
58 int getBoundId() {
return m_bound_id; }
60 U3dCodeAr getCode()
const {
return m_wave_code; }
62 U3D_WAVE_TYPE getWType() {
return m_wave_code[0].wType; }
78 void setID(
int id) { m_queue_ID=id; };
82 int getID() {
return m_queue_ID; };
94 U3dCodeAr m_wave_code;
double az
Definition: u3d_rtmod_defines.hpp:72
Definition: u3d_math_abstract_surface.hpp:11
Definition: u3d_surfsource.hpp:15
Definition: u3d_triangled_abstract_surface.hpp:31
void setID(int id)
Definition: u3d_surfsource.hpp:78
double st_f
Definition: u3d_rtmod_defines.hpp:68
double t
Definition: u3d_rtmod_defines.hpp:70
int getID()
Definition: u3d_surfsource.hpp:82
Definition: u3d_point.hpp:16
Definition: u3d_rtmod_defines.hpp:67
void deserialize(const char *data, int size)
U3dSurfSource(U3dTriangledAbstractSurface *triansurf_in, const char *data, int size)
Definition: u3d_surfsource.hpp:25
double f
Definition: u3d_rtmod_defines.hpp:71
void serialize(char **data, int *size)
double st_az
Definition: u3d_rtmod_defines.hpp:69