#include "api.h"
#include "lux.h"
#include "error.h"
#include "paramset.h"
#include "context.h"
#include "memory.h"
#include <stdarg.h>
#include <sstream>
Go to the source code of this file.
Defines | |
#define | YYMAXDEPTH 100000000 |
#define | CPS cur_paramlist_size |
#define | CPT cur_paramlist_tokens |
#define | CPA cur_paramlist_args |
#define | CPTH cur_paramlist_texture_helper |
#define | CPSZ cur_paramlist_sizes |
#define | NA(r) ((float *) r->array) |
#define | SA(r) ((const char **) r->array) |
#define | YYPRINT(file, type, value) |
#define | TRY_DECODING_TYPE(name, mask) |
Functions | |
memcpy (arg, $2->array, $2->nelems *$2->element_size) | |
if (cur_paramlist_size >=cur_paramlist_allocated) | |
ArrayFree ($2) | |
InitParamSet (params, CPS, CPT, CPA, CPSZ, CPTH) | |
FreeArgs () | |
static void | InitParamSet (ParamSet &ps, int count, const char **tokens, void **args, int *sizes, bool *texture_helper) |
static bool | lookupType (const char *token, int *type, string &name) |
Variables | |
array_init | __pad0__ |
cur_array = new ParamArray | |
cur_array | allocated = 0 |
cur_array | nelems = 0 |
cur_array | array = NULL |
array_is_single_string = false | |
string_array_init | __pad1__ |
num_array_init | __pad2__ |
array | __pad3__ |
string_array | __pad4__ |
real_string_array | __pad5__ |
single_element_string_array | __pad6__ |
string_list | __pad7__ |
string_list_entry | __pad8__ |
AddArrayElement & | to_add |
num_array | __pad9__ |
real_num_array | __pad10__ |
single_element_num_array | __pad11__ |
num_list | __pad12__ |
num_list_entry | __pad13__ |
paramlist | __pad14__ |
paramlist_init | __pad15__ |
paramlist_contents | __pad16__ |
paramlist_entry | __pad17__ |
cur_paramlist_tokens [cur_paramlist_size] = $1 | |
cur_paramlist_sizes [cur_paramlist_size] = $2->nelems | |
cur_paramlist_texture_helper [cur_paramlist_size] = array_is_single_string | |
cur_paramlist_args [cur_paramlist_size++] = arg | |
ri_stmt_list | __pad18__ |
ri_stmt | __pad19__ |
#define CPA cur_paramlist_args |
#define CPS cur_paramlist_size |
#define CPSZ cur_paramlist_sizes |
#define CPT cur_paramlist_tokens |
#define CPTH cur_paramlist_texture_helper |
#define TRY_DECODING_TYPE | ( | name, | |||
mask | ) |
#define YYMAXDEPTH 100000000 |
#define YYPRINT | ( | file, | |||
type, | |||||
value | ) |
ArrayFree | ( | $ | 2 | ) |
FreeArgs | ( | ) |
Definition at line 169 of file luxparse.cpp.
References cur_paramlist_args, and cur_paramlist_tokens.
Referenced by yyparse().
if | ( | cur_paramlist_size >= | cur_paramlist_allocated | ) |
Definition at line 17334 of file luxparse.y.
static void InitParamSet | ( | ParamSet & | ps, | |
int | count, | |||
const char ** | tokens, | |||
void ** | args, | |||
int * | sizes, | |||
bool * | texture_helper | |||
) | [static] |
Definition at line 17563 of file luxparse.y.
InitParamSet | ( | params | , | |
CPS | , | |||
CPT | , | |||
CPA | , | |||
CPSZ | , | |||
CPTH | ||||
) |
static bool lookupType | ( | const char * | token, | |
int * | type, | |||
string & | name | |||
) | [static] |
Definition at line 17650 of file luxparse.y.
memcpy | ( | arg | , | |
$2-> | array, | |||
$2->nelems *$2-> | element_size | |||
) |
Referenced by cimg_library::CImgDisplay::_render_resize(), AddArrayElement(), ArrayDup(), cimg_library::CImg< T >::assign(), lux::UnsafeKdTreeAccel::buildTree(), lux::TaBRecKdTreeAccel::buildTree(), cimg_library::CImg< T >::CImg(), lux::PerspectiveCamera::CreateCamera(), lux::OrthoCamera::CreateCamera(), lux::EnvironmentCamera::CreateCamera(), lux::QBVHAccel::CreateIntermediateNode(), cimg_library::CImg< T >::display_object3d(), lux::Distribution1D::Distribution1D(), cimg_library::CImg< T >::draw_image(), lux::FlexImageFilm::FlexImageFilm(), lux::Function1D::Function1D(), cimg_library::CImg< T >::get_blur_median(), cimg_library::CImg< T >::get_coordinates(), cimg_library::CImg< T >::get_resize(), lux::MotionPrimitive::GetShadingGeometry(), lux::InstancePrimitive::GetShadingGeometry(), lux::Heightfield::Heightfield(), lux::ImageFilm::ImageFilm(), cimg_library::CImgList< T >::insert(), lux::Matrix4x4::Inverse(), lux::IrregularDistribution1D::IrregularDistribution1D(), lux::IrregularFunction1D::IrregularFunction1D(), lux::Matrix4x4::Matrix4x4(), lux::Mesh::Mesh(), cimg_library::CImg< T >::mirror(), lux::NURBS::NURBS(), lux::QuadMesh::QuadMesh(), lux::Quaternion::Quaternion(), lux::Mesh::Refine(), cimg_library::CImgList< T >::remove(), lux::MotionSystem::Sample(), cimg_library::CImg< T >::save_inr(), cimg_library::CImg< T >::SVD(), cimg_library::CImg< T >::symmetric_eigen(), cimg_library::CImg< T >::translate(), lux::VolumeGrid::VolumeGrid(), and yyparse().
array_init __pad0__ |
Definition at line 17220 of file luxparse.y.
real_num_array __pad10__ |
Definition at line 17290 of file luxparse.y.
single_element_num_array __pad11__ |
Definition at line 17295 of file luxparse.y.
num_list __pad12__ |
Definition at line 17306 of file luxparse.y.
num_list_entry __pad13__ |
Definition at line 17310 of file luxparse.y.
paramlist __pad14__ |
Definition at line 17312 of file luxparse.y.
paramlist_init __pad15__ |
Definition at line 17320 of file luxparse.y.
paramlist_contents __pad16__ |
Definition at line 17321 of file luxparse.y.
paramlist_entry __pad17__ |
Definition at line 17332 of file luxparse.y.
ri_stmt_list __pad18__ |
Definition at line 17346 of file luxparse.y.
ri_stmt __pad19__ |
Definition at line 17357 of file luxparse.y.
string_array_init __pad1__ |
Definition at line 17230 of file luxparse.y.
num_array_init __pad2__ |
Definition at line 17235 of file luxparse.y.
Definition at line 17240 of file luxparse.y.
string_array __pad4__ |
Definition at line 17249 of file luxparse.y.
real_string_array __pad5__ |
Definition at line 17259 of file luxparse.y.
single_element_string_array __pad6__ |
Definition at line 17264 of file luxparse.y.
string_list __pad7__ |
Definition at line 17275 of file luxparse.y.
string_list_entry __pad8__ |
Definition at line 17279 of file luxparse.y.
num_array __pad9__ |
Definition at line 17281 of file luxparse.y.
Definition at line 17226 of file luxparse.y.
Definition at line 17228 of file luxparse.y.
Referenced by yyparse().
array_is_single_string = false |
Definition at line 17229 of file luxparse.y.
cur_array = new ParamArray |
Definition at line 17225 of file luxparse.y.
cur_paramlist_args[cur_paramlist_size++] = arg |
Definition at line 17344 of file luxparse.y.
Definition at line 17342 of file luxparse.y.
Definition at line 17343 of file luxparse.y.
Definition at line 17341 of file luxparse.y.
Definition at line 17227 of file luxparse.y.
Referenced by yyparse().
AddArrayElement & to_add |
Definition at line 17280 of file luxparse.y.
Referenced by yyparse().