|
GameApi 28
Library used by GameApi Builder tool
|
#include <GameApi.hh>
Public Types | |
| typedef std::function< P(float start_x, float end_x, float start_y, float end_y, float start_z, float end_z, unsigned int color)> | fptrtype |
Public Member Functions | |
| IMPORT | VolumeApi (Env &e) |
| IMPORT | ~VolumeApi () |
| IMPORT O | bounding_x (O next, O next2, float x) |
| IMPORT O | bounding_y (O next, O next2, float y) |
| IMPORT O | bounding_z (O next, O next2, float z) |
| IMPORT O | bounding_sphere (O next, float cx, float cy, float cz, float radius) |
| IMPORT BB | volumeprojection (O o, float start_x, float end_x, float start_y, float end_y, float start_z, float end_z, int sx, int sy, int numsamples) |
| IMPORT O | boolfunction (std::function< bool(float x, float y, float z)> f) |
| IMPORT O | subvolume (std::function< float(float x, float y, float z)> f, float start_range, float end_range) |
| IMPORT PTS | random_vol_object (O o, float start_x, float end_x, float start_y, float end_y, float start_z, float end_z, int numpoints) |
| IMPORT O | from_polygon (P p, float x, float y, float z) |
| IMPORT O | from_bool_bitmap (BB b, float dist) |
| IMPORT O | link_areas (O o, PT p1, PT p2, float d) |
| IMPORT O | o_sphere (float center_x, float center_y, float center_z, float radius) |
| IMPORT O | o_cube (float start_x, float end_x, float start_y, float end_y, float start_z, float end_z) |
| IMPORT O | o_cone (PT p1, PT p2, float rad1, float rad2) |
| IMPORT O | o_torus (PT center, PT u_x, PT u_y, float dist1, float dist2) |
| IMPORT O | instancing_volume (O o, PTS p) |
| IMPORT O | colour (O object, unsigned int col) |
| IMPORT O | reflect (O object, float val) |
| IMPORT O | cubetexture (O object, PT origo, PT u_x, PT u_y, PT u_z, BM bm) |
| IMPORT O | spheretexture (O object, PT center, BM texture, float multx, float multy) |
| IMPORT O | subset_color (O model, O color_subset, unsigned int color) |
| IMPORT O | move (O obj, float dx, float dy, float dz) |
| IMPORT O | rotatex (O object, float angle) |
| IMPORT O | rotatey (O object, float angle) |
| IMPORT O | rotatez (O object, float angle) |
| IMPORT O | scale (O object, float sx, float sy, float sz) |
| IMPORT O | not_op (O object1) |
| IMPORT O | min_op (O object1, O object2) |
| IMPORT O | max_op (O object1, O object2) |
| IMPORT O | andnot_op (O object1, O object2) |
| IMPORT O | mandelbulb (float n, float p_x, float p_y, float p_z, float c_x, float c_y, float c_z, float radius, int iterations) |
| IMPORT O | mandelbrot_volume (bool julia, int count, float yy) |
| IMPORT BB | plane (O o, int sx, int sy, PT u_p, V u_x, V u_y, float start_x, float end_x, float start_y, float end_y, float start_z, float end_z) |
| IMPORT BM | render (O object, int sx, int sy, PT ray_0, PT ray_x, PT ray_y, PT ray_z) |
| IMPORT P | rendercubes (O object, fptrtype fptr, int size, float wholesize) |
| IMPORT PTS | instanced_positions (O object, int size, float wholesize) |
| IMPORT P | rendercubes2 (EveryApi &ev, O object, fptrtype fptr, int sx, int sy, int sz, float world_x, float world_y, float world_z) |
| IMPORT P | rendercubes3 (O object, int sx, int sy, int sz, float start_x, float end_x, float start_y, float end_y, float start_z, float end_z) |
| IMPORT PTS | instanced_positions (O object, int sx, int sy, int sz, float start_x, float end_x, float start_y, float end_y, float start_z, float end_z) |
| IMPORT void | find_surface (O object, PT p1, PT p2, PT *res1, PT *res2, int level) |
| typedef std::function<P (float start_x, float end_x, float start_y, float end_y, float start_z, float end_z, unsigned int color)> GameApi::VolumeApi::fptrtype |
| EXPORT GameApi::VolumeApi::~VolumeApi | ( | ) |
| EXPORT GameApi::O GameApi::VolumeApi::andnot_op | ( | GameApi::O | o1, |
| GameApi::O | o2 ) |

| EXPORT GameApi::O GameApi::VolumeApi::boolfunction | ( | std::function< bool(float x, float y, float z)> | f | ) |
| EXPORT GameApi::O GameApi::VolumeApi::bounding_sphere | ( | O | next, |
| float | cx, | ||
| float | cy, | ||
| float | cz, | ||
| float | radius ) |

| EXPORT GameApi::O GameApi::VolumeApi::bounding_x | ( | O | next, |
| O | next2, | ||
| float | x ) |

| EXPORT GameApi::O GameApi::VolumeApi::bounding_y | ( | O | next, |
| O | next2, | ||
| float | y ) |

| EXPORT GameApi::O GameApi::VolumeApi::bounding_z | ( | O | next, |
| O | next2, | ||
| float | z ) |

| EXPORT GameApi::O GameApi::VolumeApi::colour | ( | GameApi::O | o1, |
| unsigned int | col ) |

| EXPORT void GameApi::VolumeApi::find_surface | ( | O | object, |
| PT | p1, | ||
| PT | p2, | ||
| PT * | res1, | ||
| PT * | res2, | ||
| int | level ) |
| EXPORT GameApi::O GameApi::VolumeApi::from_bool_bitmap | ( | BB | b, |
| float | dist ) |

| EXPORT GameApi::O GameApi::VolumeApi::from_polygon | ( | GameApi::P | p, |
| float | x, | ||
| float | y, | ||
| float | z ) |

| EXPORT GameApi::PTS GameApi::VolumeApi::instanced_positions | ( | O | object, |
| int | size, | ||
| float | wholesize ) |

| EXPORT GameApi::PTS GameApi::VolumeApi::instanced_positions | ( | O | object, |
| int | sx, | ||
| int | sy, | ||
| int | sz, | ||
| float | start_x, | ||
| float | end_x, | ||
| float | start_y, | ||
| float | end_y, | ||
| float | start_z, | ||
| float | end_z ) |
| GameApi::O GameApi::VolumeApi::instancing_volume | ( | O | o, |
| PTS | p ) |

| EXPORT GameApi::O GameApi::VolumeApi::mandelbrot_volume | ( | bool | julia, |
| int | count, | ||
| float | yy ) |

| EXPORT GameApi::O GameApi::VolumeApi::mandelbulb | ( | float | n, |
| float | p_x, | ||
| float | p_y, | ||
| float | p_z, | ||
| float | c_x, | ||
| float | c_y, | ||
| float | c_z, | ||
| float | radius, | ||
| int | iterations ) |

| EXPORT GameApi::O GameApi::VolumeApi::max_op | ( | GameApi::O | o1, |
| GameApi::O | o2 ) |

| EXPORT GameApi::O GameApi::VolumeApi::min_op | ( | GameApi::O | o1, |
| GameApi::O | o2 ) |

| EXPORT GameApi::O GameApi::VolumeApi::move | ( | O | obj, |
| float | dx, | ||
| float | dy, | ||
| float | dz ) |

| EXPORT GameApi::O GameApi::VolumeApi::not_op | ( | GameApi::O | o1 | ) |

| EXPORT GameApi::O GameApi::VolumeApi::o_cone | ( | PT | p1, |
| PT | p2, | ||
| float | rad1, | ||
| float | rad2 ) |

| EXPORT GameApi::O GameApi::VolumeApi::o_cube | ( | float | start_x, |
| float | end_x, | ||
| float | start_y, | ||
| float | end_y, | ||
| float | start_z, | ||
| float | end_z ) |

| EXPORT GameApi::O GameApi::VolumeApi::o_sphere | ( | float | center_x, |
| float | center_y, | ||
| float | center_z, | ||
| float | radius ) |

| EXPORT GameApi::O GameApi::VolumeApi::o_torus | ( | PT | center, |
| PT | u_x, | ||
| PT | u_y, | ||
| float | dist1, | ||
| float | dist2 ) |

| EXPORT GameApi::BB GameApi::VolumeApi::plane | ( | GameApi::O | o, |
| int | sx, | ||
| int | sy, | ||
| PT | u_p, | ||
| V | u_x, | ||
| V | u_y, | ||
| float | start_x, | ||
| float | end_x, | ||
| float | start_y, | ||
| float | end_y, | ||
| float | start_z, | ||
| float | end_z ) |

| GameApi::PTS GameApi::VolumeApi::random_vol_object | ( | O | o, |
| float | start_x, | ||
| float | end_x, | ||
| float | start_y, | ||
| float | end_y, | ||
| float | start_z, | ||
| float | end_z, | ||
| int | numpoints ) |

| IMPORT BM GameApi::VolumeApi::render | ( | O | object, |
| int | sx, | ||
| int | sy, | ||
| PT | ray_0, | ||
| PT | ray_x, | ||
| PT | ray_y, | ||
| PT | ray_z ) |
| EXPORT GameApi::P GameApi::VolumeApi::rendercubes | ( | O | object, |
| fptrtype | fptr, | ||
| int | size, | ||
| float | wholesize ) |

| EXPORT GameApi::P GameApi::VolumeApi::rendercubes2 | ( | EveryApi & | ev, |
| O | object, | ||
| fptrtype | fptr, | ||
| int | sx, | ||
| int | sy, | ||
| int | sz, | ||
| float | world_x, | ||
| float | world_y, | ||
| float | world_z ) |
| EXPORT GameApi::P GameApi::VolumeApi::rendercubes3 | ( | O | object, |
| int | sx, | ||
| int | sy, | ||
| int | sz, | ||
| float | start_x, | ||
| float | end_x, | ||
| float | start_y, | ||
| float | end_y, | ||
| float | start_z, | ||
| float | end_z ) |

| EXPORT GameApi::O GameApi::VolumeApi::rotatex | ( | O | object, |
| float | angle ) |

| EXPORT GameApi::O GameApi::VolumeApi::rotatey | ( | O | object, |
| float | angle ) |

| EXPORT GameApi::O GameApi::VolumeApi::rotatez | ( | O | object, |
| float | angle ) |

| EXPORT GameApi::O GameApi::VolumeApi::scale | ( | GameApi::O | obj, |
| float | sx, | ||
| float | sy, | ||
| float | sz ) |

| IMPORT O GameApi::VolumeApi::spheretexture | ( | O | object, |
| PT | center, | ||
| BM | texture, | ||
| float | multx, | ||
| float | multy ) |
| EXPORT GameApi::O GameApi::VolumeApi::subset_color | ( | O | model, |
| O | color_subset, | ||
| unsigned int | color ) |

| EXPORT GameApi::O GameApi::VolumeApi::subvolume | ( | std::function< float(float x, float y, float z)> | f, |
| float | start_range, | ||
| float | end_range ) |

| GameApi::BB GameApi::VolumeApi::volumeprojection | ( | O | o, |
| float | start_x, | ||
| float | end_x, | ||
| float | start_y, | ||
| float | end_y, | ||
| float | start_z, | ||
| float | end_z, | ||
| int | sx, | ||
| int | sy, | ||
| int | numsamples ) |
