8 #ifndef CO_CELLTOVERT_H
9 #define CO_CELLTOVERT_H
24 class coDistributedObject;
41 float x2,
float y2,
float z2,
float dist);
43 void computeCell(
int *
replBy,
const float *xcoord,
const float *ycoord,
const float *zcoord,
44 const int *coordInBox,
int numCoordInBox,
45 float bbx1,
float bby1,
float bbz1,
46 float bbx2,
float bby2,
float bbz2,
47 bool optimize,
float maxDistanceSqr,
int maxCoord,
48 int recurseLevel = 0);
50 void boundingBox(
const float *
const *
x,
const float *
const *
y,
const float *
const *
z,
const int *
c,
int n,
51 float *bbx1,
float *bby1,
float *bbz1,
52 float *bbx2,
float *bby2,
float *bbz2);
54 int getOctant(
float x,
float y,
float z,
float ox,
float oy,
float oz);
56 float bbx1,
float bby1,
float bbz1,
57 float bbx2,
float bby2,
float bbz2,
58 float *bx1,
float *by1,
float *bz1,
59 float *bx2,
float *by2,
float *bz2);
72 void computeWorkingLists(
int num_coord,
int *replyBy,
int **src2fil,
int **fil2src,
int &num_target);
76 coFixUsg(
int max_vertices,
float delta,
bool opt_mem =
false);
105 int fixUsg(
int num_elem,
int num_conn,
int num_point,
106 const int *elem_list,
const int *conn_list,
const int *type_list,
107 const float *xcoord,
const float *ycoord,
const float *zcoord,
108 int &new_num_elem,
int &new_num_conn,
int &new_num_coord,
109 int **new_elem_list,
int **new_conn_list,
int **new_type_list,
110 float **new_xcoord,
float **new_ycoord,
float **new_zcoord,
111 int num_val,
int *numComp,
int *
dataSize,
112 float **in_x,
float **in_y,
float **in_z,
113 float ***out_x,
float ***out_y,
float ***out_z);
void computeWorkingLists(int num_coord)
Definition: DeleteUnusedPoints.cpp:559
GLfixed GLfixed x2
Definition: khronos-glext.h:11325
GLuint GLfloat GLfloat GLfloat x1
Definition: khronos-glext.h:13144
void boundingBox(float **x, float **y, float **z, int *c, int n, float *bbx1, float *bby1, float *bbz1, float *bbx2, float *bby2, float *bbz2)
Definition: DeleteUnusedPoints.cpp:159
GLfixed GLfixed GLfixed y2
Definition: khronos-glext.h:11325
GLdouble GLdouble z
Definition: khronos-glext.h:6565
Definition: coFixUsg.h:26
int max_vertices_
Definition: coFixUsg.h:36
int * source2filtered
Definition: DeleteUnusedPoints.h:33
GLfixed y1
Definition: khronos-glext.h:11325
int isEqual(float x1, float y1, float z1, float x2, float y2, float z2, float dist)
Definition: DeleteUnusedPoints.cpp:198
GLenum target
Definition: khronos-glext.h:8033
const GLubyte * c
Definition: khronos-glext.h:9864
void computeCell(float *xcoord, float *ycoord, float *zcoord, int *coordInBox, int numCoordInBox, float bbx1, float bby1, float bbz1, float bbx2, float bby2, float bbz2, int optimize, float maxDistanceSqr, int maxCoord)
Definition: DeleteUnusedPoints.cpp:335
int * filtered2source
Definition: DeleteUnusedPoints.h:32
int * replBy
Definition: DeleteUnusedPoints.h:30
void getOctantBounds(int o, float ox, float oy, float oz, float bbx1, float bby1, float bbz1, float bbx2, float bby2, float bbz2, float *bx1, float *by1, float *bz1, float *bx2, float *by2, float *bz2)
Definition: DeleteUnusedPoints.cpp:257
GLint GLint GLint GLint GLint GLint y
Definition: khronos-glext.h:6346
GLenum src
Definition: khronos-glext.h:7031
GLdouble n
Definition: khronos-glext.h:8447
float delta_
Definition: coFixUsg.h:37
bool opt_mem_
Definition: coFixUsg.h:38
GLint GLint GLint GLint GLint x
Definition: khronos-glext.h:6346
Definition: coDistributedObject.h:295
GLenum GLsizei dataSize
Definition: khronos-glext.h:12392
#define ALGEXPORT
Definition: coExport.h:325
int getOctant(float x, float y, float z, float ox, float oy, float oz)
Definition: DeleteUnusedPoints.cpp:220