GameApi 28
Library used by GameApi Builder tool
Loading...
Searching...
No Matches
GameApi::VoxelApi Class Reference

#include <GameApi.hh>

Public Member Functions

IMPORT VoxelApi (Env &e)
IMPORT OVX empty_ovx ()
IMPORT OVX remove_not_enabled (OVX vx)
IMPORT OVX remove_colours (OVX vx)
IMPORT OVX resize_voxels (OVX vx, VX vx2)
IMPORT OVX vx_to_ovx (VX vx, std::vector< P > vec)
IMPORT ML render_ovx (EveryApi &ev, OVX vx, MT mat, float sx, float sy, float sz, float border_width, unsigned int border_color)
IMPORT VX blur (VX vx)
IMPORT ML lod_vox (EveryApi &ev, std::string vox_url, int model, float sx, float sy, float sz, MT mat, PTS pts, int l1, int l2, int l3, int l4)
IMPORT P render_ovx_p (EveryApi &ev, OVX vx, float sx, float sy, float sz)
IMPORT ML vox_bind_ml (EveryApi &ev, std::string url, int model, float sx, float sy, float sz, GameApi::MT mt, int level=0)
IMPORT ML vox_ml (EveryApi &ev, std::string url, int model, float sx, float sy, float sz, int level=0)
IMPORT ML vox_bind_ml2 (EveryApi &ev, std::string url, int model, float sx, float sy, float sz, GameApi::MT mt, float border_width, unsigned int border_color, int level=0)
IMPORT ML vox_ml2 (EveryApi &ev, std::string url, int model, float sx, float sy, float sz, float border_width, unsigned int border_color, int level=0)
IMPORT VX vox_voxel2 (EveryApi &ev, std::string url, int model, float sx, float sy, float sz)
IMPORT P vox_voxel3 (EveryApi &ev, std::string url, int model, float sx, float sy, float sz, int level=0)
IMPORT ARR vox_cubes (EveryApi &ev, std::string url, int model, float sx, float sy, float sz)
IMPORT P vox_voxel (EveryApi &ev, std::string url, int model, float sx, float sy, float sz, int level=0)
IMPORT VX voxel_from_bitmaps (std::vector< BM > vec, std::string url)
IMPORT VX function (unsigned int(*fptr)(EveryApi &ev, int x, int y, int z, void *data), int sx, int sy, int sz, void *data)
IMPORT unsigned int get_pixel (VX v, int x, int y, int z)
IMPORT BM sw_rays (O volume, VX colours, int sx, int sy, float vx, float vy, float vz, float z)
IMPORT P render_boxes (VX v, float sx, float sy, float sz)
IMPORT PTS instanced_positions (VX x, float sx, float sy, float sz, unsigned int value)
IMPORT VX empty_voxel (int sx, int sy, int sz)
IMPORT VX subvoxel (VX voxel, int start_x, int end_x, int start_y, int end_y, int start_z, int end_z)
IMPORT VX blit_voxel2 (VX voxel, VX voxel2, int p_x, int p_y, int p_z)
IMPORT VX blit_voxel (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, int false_value, int true_value)
IMPORT ARR voxel_instancing (VX voxel, int count, float start_x, float end_x, float start_y, float end_y, float start_z, float end_z)
IMPORT ML voxel_render (EveryApi &ev, std::vector< P > objs, std::vector< PTS > vec)
IMPORT ML voxel_bind (EveryApi &ev, std::vector< P > objs, std::vector< PTS > vec, MT material)
IMPORT P voxel_static (EveryApi &ev, std::vector< P > objs, std::vector< PTS > vec)
IMPORT VX voxel_landscape_from_fbm (FB bitmap, int height, int false_val, int true_val)
IMPORT VX convert_p_to_vx (P p, int sx, int sy, int sz, float start_x, float end_x, float start_y, float end_y, float start_z, float end_z, int value)
IMPORT VX from_implicit (IM i, int sx, int sy, int sz, float start_x, float end_x, float start_y, float end_y, float start_z, float end_z, int value)

Constructor & Destructor Documentation

◆ VoxelApi()

EXPORT GameApi::VoxelApi::VoxelApi ( Env & e)

Member Function Documentation

◆ blit_voxel()

GameApi::VX GameApi::VoxelApi::blit_voxel ( 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,
int false_value,
int true_value )
Here is the caller graph for this function:

◆ blit_voxel2()

GameApi::VX GameApi::VoxelApi::blit_voxel2 ( VX voxel,
VX voxel2,
int p_x,
int p_y,
int p_z )
Here is the caller graph for this function:

◆ blur()

GameApi::VX GameApi::VoxelApi::blur ( VX vx)
Here is the caller graph for this function:

◆ convert_p_to_vx()

EXPORT GameApi::VX GameApi::VoxelApi::convert_p_to_vx ( P p,
int sx,
int sy,
int sz,
float start_x,
float end_x,
float start_y,
float end_y,
float start_z,
float end_z,
int value )
Here is the caller graph for this function:

◆ empty_ovx()

GameApi::OVX GameApi::VoxelApi::empty_ovx ( )

◆ empty_voxel()

GameApi::VX GameApi::VoxelApi::empty_voxel ( int sx,
int sy,
int sz )
Here is the caller graph for this function:

◆ from_implicit()

GameApi::VX GameApi::VoxelApi::from_implicit ( IM i,
int sx,
int sy,
int sz,
float start_x,
float end_x,
float start_y,
float end_y,
float start_z,
float end_z,
int value )
Here is the caller graph for this function:

◆ function()

EXPORT GameApi::VX GameApi::VoxelApi::function ( unsigned int(* fptr )(EveryApi &ev, int x, int y, int z, void *data),
int sx,
int sy,
int sz,
void * data )

◆ get_pixel()

EXPORT unsigned int GameApi::VoxelApi::get_pixel ( VX v,
int x,
int y,
int z )

◆ instanced_positions()

EXPORT GameApi::PTS GameApi::VoxelApi::instanced_positions ( VX x,
float sx,
float sy,
float sz,
unsigned int value )

◆ lod_vox()

GameApi::ML GameApi::VoxelApi::lod_vox ( GameApi::EveryApi & ev,
std::string vox_url,
int model,
float sx,
float sy,
float sz,
GameApi::MT mat,
GameApi::PTS pts,
int l1,
int l2,
int l3,
int l4 )
Here is the caller graph for this function:

◆ remove_colours()

GameApi::OVX GameApi::VoxelApi::remove_colours ( OVX vx)

◆ remove_not_enabled()

GameApi::OVX GameApi::VoxelApi::remove_not_enabled ( OVX vx)
Here is the caller graph for this function:

◆ render_boxes()

EXPORT GameApi::P GameApi::VoxelApi::render_boxes ( VX v,
float sx,
float sy,
float sz )

◆ render_ovx()

GameApi::ML GameApi::VoxelApi::render_ovx ( GameApi::EveryApi & ev,
OVX vx,
MT mat,
float sx,
float sy,
float sz,
float border_width,
unsigned int border_color )
Here is the caller graph for this function:

◆ render_ovx_p()

GameApi::P GameApi::VoxelApi::render_ovx_p ( GameApi::EveryApi & ev,
OVX vx,
float sx,
float sy,
float sz )
Here is the caller graph for this function:

◆ resize_voxels()

GameApi::OVX GameApi::VoxelApi::resize_voxels ( OVX vx,
VX vx2 )

◆ subvoxel()

GameApi::VX GameApi::VoxelApi::subvoxel ( VX voxel,
int start_x,
int end_x,
int start_y,
int end_y,
int start_z,
int end_z )
Here is the caller graph for this function:

◆ sw_rays()

IMPORT BM GameApi::VoxelApi::sw_rays ( O volume,
VX colours,
int sx,
int sy,
float vx,
float vy,
float vz,
float z )

◆ vox_bind_ml()

GameApi::ML GameApi::VoxelApi::vox_bind_ml ( GameApi::EveryApi & ev,
std::string url,
int model,
float sx,
float sy,
float sz,
GameApi::MT mt,
int level = 0 )
Here is the caller graph for this function:

◆ vox_bind_ml2()

GameApi::ML GameApi::VoxelApi::vox_bind_ml2 ( GameApi::EveryApi & ev,
std::string url,
int model,
float sx,
float sy,
float sz,
GameApi::MT mt,
float border_width,
unsigned int border_color,
int level = 0 )
Here is the caller graph for this function:

◆ vox_cubes()

GameApi::ARR GameApi::VoxelApi::vox_cubes ( GameApi::EveryApi & ev,
std::string url,
int model,
float sx,
float sy,
float sz )
Here is the caller graph for this function:

◆ vox_ml()

GameApi::ML GameApi::VoxelApi::vox_ml ( GameApi::EveryApi & ev,
std::string url,
int model,
float sx,
float sy,
float sz,
int level = 0 )
Here is the caller graph for this function:

◆ vox_ml2()

GameApi::ML GameApi::VoxelApi::vox_ml2 ( GameApi::EveryApi & ev,
std::string url,
int model,
float sx,
float sy,
float sz,
float border_width,
unsigned int border_color,
int level = 0 )
Here is the caller graph for this function:

◆ vox_voxel()

GameApi::P GameApi::VoxelApi::vox_voxel ( GameApi::EveryApi & ev,
std::string url,
int model,
float sx,
float sy,
float sz,
int level = 0 )
Here is the caller graph for this function:

◆ vox_voxel2()

GameApi::VX GameApi::VoxelApi::vox_voxel2 ( GameApi::EveryApi & ev,
std::string url,
int model,
float sx,
float sy,
float sz )
Here is the caller graph for this function:

◆ vox_voxel3()

GameApi::P GameApi::VoxelApi::vox_voxel3 ( GameApi::EveryApi & ev,
std::string url,
int model,
float sx,
float sy,
float sz,
int level = 0 )
Here is the caller graph for this function:

◆ voxel_bind()

GameApi::ML GameApi::VoxelApi::voxel_bind ( EveryApi & ev,
std::vector< P > objs,
std::vector< PTS > vec,
MT material )
Here is the caller graph for this function:

◆ voxel_from_bitmaps()

GameApi::VX GameApi::VoxelApi::voxel_from_bitmaps ( std::vector< BM > vec,
std::string url )
Here is the caller graph for this function:

◆ voxel_instancing()

GameApi::ARR GameApi::VoxelApi::voxel_instancing ( VX voxel,
int count,
float start_x,
float end_x,
float start_y,
float end_y,
float start_z,
float end_z )
Here is the caller graph for this function:

◆ voxel_landscape_from_fbm()

GameApi::VX GameApi::VoxelApi::voxel_landscape_from_fbm ( FB bitmap,
int height,
int false_val,
int true_val )
Here is the caller graph for this function:

◆ voxel_render()

GameApi::ML GameApi::VoxelApi::voxel_render ( EveryApi & ev,
std::vector< P > objs,
std::vector< PTS > vec )
Here is the caller graph for this function:

◆ voxel_static()

GameApi::P GameApi::VoxelApi::voxel_static ( EveryApi & ev,
std::vector< P > objs,
std::vector< PTS > vec )
Here is the caller graph for this function:

◆ vx_to_ovx()

GameApi::OVX GameApi::VoxelApi::vx_to_ovx ( VX vx,
std::vector< P > vec )
Here is the caller graph for this function:

The documentation for this class was generated from the following files: