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

#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)

Member Typedef Documentation

◆ fptrtype

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

Constructor & Destructor Documentation

◆ VolumeApi()

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

◆ ~VolumeApi()

EXPORT GameApi::VolumeApi::~VolumeApi ( )

Member Function Documentation

◆ andnot_op()

EXPORT GameApi::O GameApi::VolumeApi::andnot_op ( GameApi::O o1,
GameApi::O o2 )
Here is the caller graph for this function:

◆ boolfunction()

EXPORT GameApi::O GameApi::VolumeApi::boolfunction ( std::function< bool(float x, float y, float z)> f)

◆ bounding_sphere()

EXPORT GameApi::O GameApi::VolumeApi::bounding_sphere ( O next,
float cx,
float cy,
float cz,
float radius )
Here is the caller graph for this function:

◆ bounding_x()

EXPORT GameApi::O GameApi::VolumeApi::bounding_x ( O next,
O next2,
float x )
Here is the caller graph for this function:

◆ bounding_y()

EXPORT GameApi::O GameApi::VolumeApi::bounding_y ( O next,
O next2,
float y )
Here is the caller graph for this function:

◆ bounding_z()

EXPORT GameApi::O GameApi::VolumeApi::bounding_z ( O next,
O next2,
float z )
Here is the caller graph for this function:

◆ colour()

EXPORT GameApi::O GameApi::VolumeApi::colour ( GameApi::O o1,
unsigned int col )
Here is the caller graph for this function:

◆ cubetexture()

IMPORT O GameApi::VolumeApi::cubetexture ( O object,
PT origo,
PT u_x,
PT u_y,
PT u_z,
BM bm )

◆ find_surface()

EXPORT void GameApi::VolumeApi::find_surface ( O object,
PT p1,
PT p2,
PT * res1,
PT * res2,
int level )

◆ from_bool_bitmap()

EXPORT GameApi::O GameApi::VolumeApi::from_bool_bitmap ( BB b,
float dist )
Here is the caller graph for this function:

◆ from_polygon()

EXPORT GameApi::O GameApi::VolumeApi::from_polygon ( GameApi::P p,
float x,
float y,
float z )
Here is the caller graph for this function:

◆ instanced_positions() [1/2]

EXPORT GameApi::PTS GameApi::VolumeApi::instanced_positions ( O object,
int size,
float wholesize )
Here is the caller graph for this function:

◆ instanced_positions() [2/2]

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 )

◆ instancing_volume()

GameApi::O GameApi::VolumeApi::instancing_volume ( O o,
PTS p )
Here is the caller graph for this function:

◆ link_areas()

IMPORT O GameApi::VolumeApi::link_areas ( O o,
PT p1,
PT p2,
float d )

◆ mandelbrot_volume()

EXPORT GameApi::O GameApi::VolumeApi::mandelbrot_volume ( bool julia,
int count,
float yy )
Here is the caller graph for this function:

◆ mandelbulb()

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 )
Here is the caller graph for this function:

◆ max_op()

EXPORT GameApi::O GameApi::VolumeApi::max_op ( GameApi::O o1,
GameApi::O o2 )
Here is the caller graph for this function:

◆ min_op()

EXPORT GameApi::O GameApi::VolumeApi::min_op ( GameApi::O o1,
GameApi::O o2 )
Here is the caller graph for this function:

◆ move()

EXPORT GameApi::O GameApi::VolumeApi::move ( O obj,
float dx,
float dy,
float dz )
Here is the caller graph for this function:

◆ not_op()

EXPORT GameApi::O GameApi::VolumeApi::not_op ( GameApi::O o1)
Here is the caller graph for this function:

◆ o_cone()

EXPORT GameApi::O GameApi::VolumeApi::o_cone ( PT p1,
PT p2,
float rad1,
float rad2 )
Here is the caller graph for this function:

◆ o_cube()

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 )
Here is the caller graph for this function:

◆ o_sphere()

EXPORT GameApi::O GameApi::VolumeApi::o_sphere ( float center_x,
float center_y,
float center_z,
float radius )
Here is the caller graph for this function:

◆ o_torus()

EXPORT GameApi::O GameApi::VolumeApi::o_torus ( PT center,
PT u_x,
PT u_y,
float dist1,
float dist2 )
Here is the caller graph for this function:

◆ plane()

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 )
Here is the caller graph for this function:

◆ random_vol_object()

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 )
Here is the caller graph for this function:

◆ reflect()

IMPORT O GameApi::VolumeApi::reflect ( O object,
float val )

◆ render()

IMPORT BM GameApi::VolumeApi::render ( O object,
int sx,
int sy,
PT ray_0,
PT ray_x,
PT ray_y,
PT ray_z )

◆ rendercubes()

EXPORT GameApi::P GameApi::VolumeApi::rendercubes ( O object,
fptrtype fptr,
int size,
float wholesize )
Here is the caller graph for this function:

◆ rendercubes2()

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 )

◆ rendercubes3()

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 )
Here is the caller graph for this function:

◆ rotatex()

EXPORT GameApi::O GameApi::VolumeApi::rotatex ( O object,
float angle )
Here is the caller graph for this function:

◆ rotatey()

EXPORT GameApi::O GameApi::VolumeApi::rotatey ( O object,
float angle )
Here is the caller graph for this function:

◆ rotatez()

EXPORT GameApi::O GameApi::VolumeApi::rotatez ( O object,
float angle )
Here is the caller graph for this function:

◆ scale()

EXPORT GameApi::O GameApi::VolumeApi::scale ( GameApi::O obj,
float sx,
float sy,
float sz )
Here is the caller graph for this function:

◆ spheretexture()

IMPORT O GameApi::VolumeApi::spheretexture ( O object,
PT center,
BM texture,
float multx,
float multy )

◆ subset_color()

EXPORT GameApi::O GameApi::VolumeApi::subset_color ( O model,
O color_subset,
unsigned int color )
Here is the caller graph for this function:

◆ subvolume()

EXPORT GameApi::O GameApi::VolumeApi::subvolume ( std::function< float(float x, float y, float z)> f,
float start_range,
float end_range )
Here is the caller graph for this function:

◆ volumeprojection()

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 )
Here is the caller graph for this function:

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