cleap  0.3.2
A gpu-based library for handling and processing 3D meshes.
Classes | Functions
cleap_private.h File Reference
#include <GL/glew.h>
#include <stdlib.h>
#include <stdio.h>
#include <float.h>
#include <locale.h>
#include <vector_types.h>
#include <vector_functions.h>
#include <sys/time.h>
#include "cleap.h"

Go to the source code of this file.

Classes

struct  cleap_vnc_data
 
struct  cleap_edge_data
 
struct  cleap_device_mesh
 
struct  _cleap_mesh
 
struct  _tmp_edge
 

Functions

void _cleap_init_array_int (int *h_array, int size, int value)
 
void _cleap_init_device_array_int (int *d_array, int length, int value)
 
void _cleap_init_device_dual_arrays_int (int *d_array1, int *d_array2, int length, int value, dim3 &dimBlock, dim3 &dimGrid)
 
void _cleap_print_gpu_mem ()
 
int _cleap_choose_best_gpu_id ()
 
void _cleap_print_splash ()
 
void _cleap_init_cuda ()
 
void _cleap_start_timer ()
 
double _cleap_stop_timer ()
 
void _cleap_reset_minmax (_cleap_mesh *m)
 
CLEAP_RESULT _cleap_init_glew ()
 
CLEAP_RESULT _cleap_device_load_mesh (_cleap_mesh *m)
 
CLEAP_RESULT _cleap_host_load_mesh (_cleap_mesh *m, const char *filename)
 
CLEAP_RESULT _cleap_normalize_normals (_cleap_mesh *m)
 

Function Documentation

int _cleap_choose_best_gpu_id ( )
CLEAP_RESULT _cleap_device_load_mesh ( _cleap_mesh m)
CLEAP_RESULT _cleap_host_load_mesh ( _cleap_mesh m,
const char *  filename 
)
void _cleap_init_array_int ( int *  h_array,
int  size,
int  value 
)
void _cleap_init_cuda ( )
void _cleap_init_device_array_int ( int *  d_array,
int  length,
int  value 
)
void _cleap_init_device_dual_arrays_int ( int *  d_array1,
int *  d_array2,
int  length,
int  value,
dim3 &  dimBlock,
dim3 &  dimGrid 
)
CLEAP_RESULT _cleap_init_glew ( )
CLEAP_RESULT _cleap_normalize_normals ( _cleap_mesh m)
void _cleap_print_gpu_mem ( )
void _cleap_print_splash ( )
void _cleap_reset_minmax ( _cleap_mesh m)
void _cleap_start_timer ( )
double _cleap_stop_timer ( )