#include "api.h"
#include "context.h"
#include "paramset.h"
#include "error.h"
#include <boost/date_time/posix_time/posix_time.hpp>
#include <vector>
#include <cstdarg>
Go to the source code of this file.
Namespaces | |
namespace | lux |
Defines | |
#define | EXTRACT_PARAMETERS(_start) |
#define | PASS_PARAMETERS count, aTokens.size()>0?&aTokens[0]:0, aValues.size()>0?&aValues[0]:0 |
Functions | |
int | lux::buildParameterList (va_list pArgs, std::vector< LuxToken > &aTokens, std::vector< LuxPointer > &aValues) |
void | luxAddServer (const char *name) |
void | luxRemoveServer (const char *name) |
int | luxGetServerCount () |
int | luxGetRenderingServersStatus (RenderingServerInfo *info, int maxInfoCount) |
void | luxCleanup () |
void | luxIdentity () |
void | luxTranslate (float dx, float dy, float dz) |
void | luxTransform (float tr[16]) |
void | luxConcatTransform (float tr[16]) |
void | luxRotate (float angle, float dx, float dy, float dz) |
void | luxScale (float sx, float sy, float sz) |
void | luxLookAt (float ex, float ey, float ez, float lx, float ly, float lz, float ux, float uy, float uz) |
void | luxCoordinateSystem (const char *name) |
void | luxCoordSysTransform (const char *name) |
void | luxPixelFilter (const char *name,...) |
void | luxPixelFilterV (const char *name, int n, LuxToken tokens[], LuxPointer params[]) |
void | luxFilm (const char *name,...) |
void | luxFilmV (const char *name, int n, LuxToken tokens[], LuxPointer params[]) |
void | luxSampler (const char *name,...) |
void | luxSamplerV (const char *name, int n, LuxToken tokens[], LuxPointer params[]) |
void | luxAccelerator (const char *name,...) |
void | luxAcceleratorV (const char *name, int n, LuxToken tokens[], LuxPointer params[]) |
void | luxSurfaceIntegrator (const char *name,...) |
void | luxSurfaceIntegratorV (const char *name, int n, LuxToken tokens[], LuxPointer params[]) |
void | luxVolumeIntegrator (const char *name,...) |
void | luxVolumeIntegratorV (const char *name, int n, LuxToken tokens[], LuxPointer params[]) |
void | luxCamera (const char *name,...) |
void | luxCameraV (const char *name, int n, LuxToken tokens[], LuxPointer params[]) |
void | luxWorldBegin () |
void | luxAttributeBegin () |
void | luxAttributeEnd () |
void | luxTransformBegin () |
void | luxTransformEnd () |
void | luxTexture (const char *name, const char *type, const char *texname,...) |
void | luxTextureV (const char *name, const char *type, const char *texname, int n, LuxToken tokens[], LuxPointer params[]) |
void | luxMaterial (const char *name,...) |
void | luxMaterialV (const char *name, int n, LuxToken tokens[], LuxPointer params[]) |
void | luxMakeNamedMaterial (const char *name,...) |
void | luxMakeNamedMaterialV (const char *name, int n, LuxToken tokens[], LuxPointer params[]) |
void | luxNamedMaterial (const char *name,...) |
void | luxNamedMaterialV (const char *name, int n, LuxToken tokens[], LuxPointer params[]) |
void | luxLightSource (const char *name,...) |
void | luxLightSourceV (const char *name, int n, LuxToken tokens[], LuxPointer params[]) |
void | luxAreaLightSource (const char *name,...) |
void | luxAreaLightSourceV (const char *name, int n, LuxToken tokens[], LuxPointer params[]) |
void | luxPortalShape (const char *name,...) |
void | luxPortalShapeV (const char *name, int n, LuxToken tokens[], LuxPointer params[]) |
void | luxShape (const char *name,...) |
void | luxShapeV (const char *name, int n, LuxToken tokens[], LuxPointer params[]) |
void | luxReverseOrientation () |
void | luxVolume (const char *name,...) |
void | luxVolumeV (const char *name, int n, LuxToken tokens[], LuxPointer params[]) |
void | luxObjectBegin (const char *name) |
void | luxObjectEnd () |
void | luxObjectInstance (const char *name) |
void | luxMotionInstance (const char *name, float startTime, float endTime, const char *toTransform) |
void | luxWorldEnd () |
void | luxInit () |
void | luxLoadFLM (const char *name) |
void | luxSaveFLM (const char *name) |
void | luxOverrideResumeFLM (const char *name) |
void | luxStart () |
void | luxPause () |
void | luxExit () |
void | luxWait () |
void | luxSetHaltSamplePerPixel (int haltspp, bool haveEnoughSamplePerPixel, bool suspendThreadsWhenDone) |
int | luxAddThread () |
void | luxRemoveThread () |
int | luxGetRenderingThreadsStatus (RenderingThreadInfo *info, int maxInfoCount) |
void | luxUpdateFramebuffer () |
unsigned char * | luxFramebuffer () |
void | luxGetHistogramImage (unsigned char *outPixels, int width, int height, int options) |
void | luxSetParameterValue (luxComponent comp, luxComponentParameters param, double value, int index) |
double | luxGetParameterValue (luxComponent comp, luxComponentParameters param, int index) |
double | luxGetDefaultParameterValue (luxComponent comp, luxComponentParameters param, int index) |
void | luxSetStringParameterValue (luxComponent comp, luxComponentParameters param, const char *value, int index) |
int | luxGetStringParameterValue (luxComponent comp, luxComponentParameters param, char *dst, int dstlen, int index) |
int | luxGetDefaultStringParameterValue (luxComponent comp, luxComponentParameters param, char *dst, int dstlen, int index) |
double | luxStatistics (const char *statName) |
void | luxEnableDebugMode () |
void | luxDisableRandomMode () |
void | luxUpdateFilmFromNetwork () |
void | luxSetNetworkServerUpdateInterval (int updateInterval) |
int | luxGetNetworkServerUpdateInterval () |
void | luxErrorFilter (int code, int severity, const char *message) |
void | luxErrorHandler (LuxErrorHandler handler) |
void | luxErrorAbort (int code, int severity, const char *message) |
void | luxErrorIgnore (int code, int severity, const char *message) |
void | luxErrorPrintFilter (int code, int severity, const char *message) |
void | luxErrorPrint (int code, int severity, const char *message) |
void | luxSetEpsilon (const float minValue, const float maxValue) |
Variables | |
static bool | initialized = false |
static LuxErrorHandler | luxErrorDelegate = luxErrorPrint |
int | luxLastError = LUX_NOERROR |
int | luxLogFilter = -99 |
LuxErrorHandler | luxError = luxErrorFilter |
#define EXTRACT_PARAMETERS | ( | _start | ) |
va_list pArgs; \ va_start( pArgs, _start ); \ \ std::vector<LuxToken> aTokens; \ std::vector<LuxPointer> aValues; \ int count = buildParameterList( pArgs, aTokens, aValues );
Definition at line 36 of file api.cpp.
Referenced by luxAccelerator(), luxAreaLightSource(), luxCamera(), luxFilm(), luxLightSource(), luxMakeNamedMaterial(), luxMaterial(), luxNamedMaterial(), luxPixelFilter(), luxPortalShape(), luxSampler(), luxShape(), luxSurfaceIntegrator(), luxTexture(), luxVolume(), and luxVolumeIntegrator().
#define PASS_PARAMETERS count, aTokens.size()>0?&aTokens[0]:0, aValues.size()>0?&aValues[0]:0 |
Definition at line 44 of file api.cpp.
Referenced by luxAccelerator(), luxAreaLightSource(), luxCamera(), luxFilm(), luxLightSource(), luxMakeNamedMaterial(), luxMaterial(), luxNamedMaterial(), luxPixelFilter(), luxPortalShape(), luxSampler(), luxShape(), luxSurfaceIntegrator(), luxTexture(), luxVolume(), and luxVolumeIntegrator().
void luxAccelerator | ( | const char * | name, | |
... | ||||
) |
Definition at line 197 of file api.cpp.
References EXTRACT_PARAMETERS, luxAcceleratorV(), and PASS_PARAMETERS.
Referenced by luxAcceleratorV(), and yyparse().
void luxAcceleratorV | ( | const char * | name, | |
int | n, | |||
LuxToken | tokens[], | |||
LuxPointer | params[] | |||
) |
Definition at line 203 of file api.cpp.
References luxAccelerator().
Referenced by luxAccelerator().
void luxAddServer | ( | const char * | name | ) |
Definition at line 80 of file api.cpp.
References luxAddServer().
Referenced by lux::LuxGui::AddServer(), luxAddServer(), main(), and lux::LuxGuiApp::ProcessCommandLine().
int luxAddThread | ( | ) |
Definition at line 492 of file api.cpp.
References luxAddThread().
Referenced by luxAddThread(), main(), lux::LuxGui::OnTimer(), lux::NetworkRenderServerThread::run(), and lux::LuxGui::SetRenderThreads().
void luxAreaLightSource | ( | const char * | name, | |
... | ||||
) |
Definition at line 350 of file api.cpp.
References EXTRACT_PARAMETERS, luxAreaLightSourceV(), and PASS_PARAMETERS.
Referenced by luxAreaLightSourceV(), and yyparse().
void luxAreaLightSourceV | ( | const char * | name, | |
int | n, | |||
LuxToken | tokens[], | |||
LuxPointer | params[] | |||
) |
Definition at line 356 of file api.cpp.
References luxAreaLightSource().
Referenced by luxAreaLightSource().
void luxAttributeBegin | ( | ) |
Definition at line 261 of file api.cpp.
References luxAttributeBegin().
Referenced by luxAttributeBegin(), lux::NetworkRenderServerThread::run(), and yyparse().
void luxAttributeEnd | ( | ) |
Definition at line 265 of file api.cpp.
References luxAttributeEnd().
Referenced by luxAttributeEnd(), lux::NetworkRenderServerThread::run(), and yyparse().
void luxCamera | ( | const char * | name, | |
... | ||||
) |
Definition at line 246 of file api.cpp.
References EXTRACT_PARAMETERS, luxCameraV(), and PASS_PARAMETERS.
Referenced by luxCameraV(), and yyparse().
void luxCameraV | ( | const char * | name, | |
int | n, | |||
LuxToken | tokens[], | |||
LuxPointer | params[] | |||
) |
void luxCleanup | ( | ) |
Definition at line 99 of file api.cpp.
References initialized, LUX_ERROR, LUX_NOTSTARTED, luxCleanup(), and luxError.
Referenced by luxCleanup(), main(), lux::LuxGui::OnExit(), lux::NetworkRenderServerThread::run(), and lux::LuxGui::StopRendering().
void luxConcatTransform | ( | float | tr[16] | ) |
Definition at line 121 of file api.cpp.
References luxConcatTransform().
Referenced by luxConcatTransform(), and yyparse().
void luxCoordinateSystem | ( | const char * | name | ) |
Definition at line 137 of file api.cpp.
References luxCoordinateSystem().
Referenced by luxCoordinateSystem(), and yyparse().
void luxCoordSysTransform | ( | const char * | name | ) |
Definition at line 141 of file api.cpp.
References luxCoordSysTransform().
Referenced by luxCoordSysTransform(), and yyparse().
void luxDisableRandomMode | ( | ) |
Definition at line 560 of file api.cpp.
References luxDisableRandomMode().
Referenced by luxDisableRandomMode(), main(), and lux::LuxGuiApp::ProcessCommandLine().
void luxEnableDebugMode | ( | ) |
Definition at line 556 of file api.cpp.
References luxEnableDebugMode().
Referenced by luxEnableDebugMode(), main(), and lux::LuxGuiApp::ProcessCommandLine().
Definition at line 598 of file api.cpp.
References LUX_INFO, and luxErrorPrint().
Definition at line 584 of file api.cpp.
References luxErrorDelegate.
void luxErrorHandler | ( | LuxErrorHandler | handler | ) |
Definition at line 594 of file api.cpp.
References luxErrorDelegate.
Referenced by lux::LuxGui::LuxGui().
Definition at line 615 of file api.cpp.
References LUX_DEBUG, LUX_ERROR, LUX_INFO, LUX_SEVERE, and LUX_WARNING.
Referenced by luxErrorAbort(), luxErrorPrintFilter(), and lux::LuxGuiErrorHandler().
Definition at line 608 of file api.cpp.
References luxErrorPrint().
void luxExit | ( | ) |
Definition at line 479 of file api.cpp.
References luxExit().
Referenced by luxExit(), main(), lux::LuxGui::OnExit(), lux::NetworkRenderServerThread::run(), and lux::LuxGui::StopRendering().
void luxFilm | ( | const char * | name, | |
... | ||||
) |
Definition at line 163 of file api.cpp.
References EXTRACT_PARAMETERS, luxFilmV(), and PASS_PARAMETERS.
Referenced by luxFilmV(), and yyparse().
void luxFilmV | ( | const char * | name, | |
int | n, | |||
LuxToken | tokens[], | |||
LuxPointer | params[] | |||
) |
unsigned char* luxFramebuffer | ( | ) |
Definition at line 509 of file api.cpp.
References luxFramebuffer().
Referenced by luxFramebuffer(), main(), lux::LuxOutputWin::OnDraw(), lux::LuxGui::OnMenu(), and lux::LuxGLViewer::OnPaint().
double luxGetDefaultParameterValue | ( | luxComponent | comp, | |
luxComponentParameters | param, | |||
int | index | |||
) |
Definition at line 525 of file api.cpp.
References luxGetDefaultParameterValue().
Referenced by luxGetDefaultParameterValue(), and RetrieveParam().
int luxGetDefaultStringParameterValue | ( | luxComponent | comp, | |
luxComponentParameters | param, | |||
char * | dst, | |||
int | dstlen, | |||
int | index | |||
) |
Definition at line 539 of file api.cpp.
References luxGetDefaultStringParameterValue().
Referenced by luxGetDefaultStringParameterValue().
Definition at line 514 of file api.cpp.
References luxGetHistogramImage().
Referenced by luxGetHistogramImage(), and lux::LuxGui::LuxHistogramWindow::Update().
int luxGetNetworkServerUpdateInterval | ( | ) |
Definition at line 574 of file api.cpp.
References luxGetNetworkServerUpdateInterval().
Referenced by luxGetNetworkServerUpdateInterval(), lux::LuxGui::LuxGui(), main(), lux::LuxGuiApp::ProcessCommandLine(), and lux::LuxGui::UpdateNetworkTree().
double luxGetParameterValue | ( | luxComponent | comp, | |
luxComponentParameters | param, | |||
int | index | |||
) |
Definition at line 522 of file api.cpp.
References luxGetParameterValue().
Referenced by luxGetParameterValue(), lux::LuxGui::ResetLightGroupsFromFilm(), and RetrieveParam().
int luxGetRenderingServersStatus | ( | RenderingServerInfo * | info, | |
int | maxInfoCount | |||
) |
Definition at line 95 of file api.cpp.
References luxGetRenderingServersStatus().
Referenced by luxGetRenderingServersStatus(), and lux::LuxGui::UpdateNetworkTree().
int luxGetRenderingThreadsStatus | ( | RenderingThreadInfo * | info, | |
int | maxInfoCount | |||
) |
Definition at line 500 of file api.cpp.
References luxGetRenderingThreadsStatus().
Referenced by luxGetRenderingThreadsStatus().
int luxGetServerCount | ( | ) |
Definition at line 90 of file api.cpp.
References luxGetServerCount().
Referenced by luxGetServerCount(), lux::LuxGui::OnMenu(), and lux::LuxGui::UpdateNetworkTree().
int luxGetStringParameterValue | ( | luxComponent | comp, | |
luxComponentParameters | param, | |||
char * | dst, | |||
int | dstlen, | |||
int | index | |||
) |
Definition at line 532 of file api.cpp.
References luxGetStringParameterValue().
Referenced by luxGetStringParameterValue(), and lux::LuxGui::LuxLightGroupPanel::ResetValuesFromFilm().
void luxIdentity | ( | ) |
Definition at line 109 of file api.cpp.
References luxIdentity().
Referenced by luxIdentity(), lux::NetworkRenderServerThread::run(), and yyparse().
void luxInit | ( | ) |
Definition at line 426 of file api.cpp.
References initialized, LUX_ERROR, LUX_ILLSTATE, and luxError.
Referenced by main(), and lux::LuxGuiApp::OnInit().
void luxLightSource | ( | const char * | name, | |
... | ||||
) |
Definition at line 335 of file api.cpp.
References EXTRACT_PARAMETERS, luxLightSourceV(), and PASS_PARAMETERS.
Referenced by luxLightSourceV(), and yyparse().
void luxLightSourceV | ( | const char * | name, | |
int | n, | |||
LuxToken | tokens[], | |||
LuxPointer | params[] | |||
) |
Definition at line 341 of file api.cpp.
References luxLightSource().
Referenced by luxLightSource().
void luxLoadFLM | ( | const char * | name | ) |
Definition at line 455 of file api.cpp.
References luxLoadFLM().
Referenced by lux::LuxGui::FlmLoadThread(), and luxLoadFLM().
void luxLookAt | ( | float | ex, | |
float | ey, | |||
float | ez, | |||
float | lx, | |||
float | ly, | |||
float | lz, | |||
float | ux, | |||
float | uy, | |||
float | uz | |||
) |
Definition at line 132 of file api.cpp.
References luxLookAt().
Referenced by luxLookAt(), lux::NetworkRenderServerThread::run(), and yyparse().
void luxMakeNamedMaterial | ( | const char * | name, | |
... | ||||
) |
Definition at line 309 of file api.cpp.
References EXTRACT_PARAMETERS, luxMakeNamedMaterialV(), and PASS_PARAMETERS.
Referenced by luxMakeNamedMaterialV(), and yyparse().
void luxMakeNamedMaterialV | ( | const char * | name, | |
int | n, | |||
LuxToken | tokens[], | |||
LuxPointer | params[] | |||
) |
Definition at line 315 of file api.cpp.
References luxMakeNamedMaterial().
Referenced by luxMakeNamedMaterial().
void luxMaterial | ( | const char * | name, | |
... | ||||
) |
Definition at line 298 of file api.cpp.
References EXTRACT_PARAMETERS, luxMaterialV(), and PASS_PARAMETERS.
Referenced by luxMaterialV(), and yyparse().
void luxMaterialV | ( | const char * | name, | |
int | n, | |||
LuxToken | tokens[], | |||
LuxPointer | params[] | |||
) |
void luxMotionInstance | ( | const char * | name, | |
float | startTime, | |||
float | endTime, | |||
const char * | toTransform | |||
) |
Definition at line 418 of file api.cpp.
References luxMotionInstance().
Referenced by luxMotionInstance(), and yyparse().
void luxNamedMaterial | ( | const char * | name, | |
... | ||||
) |
Definition at line 320 of file api.cpp.
References EXTRACT_PARAMETERS, luxNamedMaterialV(), and PASS_PARAMETERS.
Referenced by luxNamedMaterialV(), and yyparse().
void luxNamedMaterialV | ( | const char * | name, | |
int | n, | |||
LuxToken | tokens[], | |||
LuxPointer | params[] | |||
) |
Definition at line 326 of file api.cpp.
References luxNamedMaterial().
Referenced by luxNamedMaterial().
void luxObjectBegin | ( | const char * | name | ) |
Definition at line 409 of file api.cpp.
References luxObjectBegin().
Referenced by luxObjectBegin(), and yyparse().
void luxObjectEnd | ( | ) |
Definition at line 412 of file api.cpp.
References luxObjectEnd().
Referenced by luxObjectEnd(), lux::NetworkRenderServerThread::run(), and yyparse().
void luxObjectInstance | ( | const char * | name | ) |
Definition at line 415 of file api.cpp.
References luxObjectInstance().
Referenced by luxObjectInstance(), and yyparse().
void luxOverrideResumeFLM | ( | const char * | name | ) |
Definition at line 462 of file api.cpp.
References luxOverrideResumeFLM().
Referenced by luxOverrideResumeFLM(), and lux::LuxGui::RenderScenefile().
void luxPause | ( | ) |
Definition at line 475 of file api.cpp.
References luxPause().
Referenced by luxPause(), lux::LuxGui::OnMenu(), and lux::LuxGui::OnTimer().
void luxPixelFilter | ( | const char * | name, | |
... | ||||
) |
Definition at line 145 of file api.cpp.
References EXTRACT_PARAMETERS, luxPixelFilterV(), and PASS_PARAMETERS.
Referenced by luxPixelFilterV(), and yyparse().
void luxPixelFilterV | ( | const char * | name, | |
int | n, | |||
LuxToken | tokens[], | |||
LuxPointer | params[] | |||
) |
Definition at line 151 of file api.cpp.
References luxPixelFilter().
Referenced by luxPixelFilter().
void luxPortalShape | ( | const char * | name, | |
... | ||||
) |
Definition at line 365 of file api.cpp.
References EXTRACT_PARAMETERS, luxPortalShapeV(), and PASS_PARAMETERS.
Referenced by luxPortalShapeV(), and yyparse().
void luxPortalShapeV | ( | const char * | name, | |
int | n, | |||
LuxToken | tokens[], | |||
LuxPointer | params[] | |||
) |
Definition at line 371 of file api.cpp.
References luxPortalShape().
Referenced by luxPortalShape().
void luxRemoveServer | ( | const char * | name | ) |
Definition at line 85 of file api.cpp.
References luxRemoveServer().
Referenced by luxRemoveServer(), and lux::LuxGui::RemoveServer().
void luxRemoveThread | ( | ) |
Definition at line 496 of file api.cpp.
References luxRemoveThread().
Referenced by luxRemoveThread(), and lux::LuxGui::SetRenderThreads().
void luxReverseOrientation | ( | ) |
Definition at line 391 of file api.cpp.
References luxReverseOrientation().
Referenced by luxReverseOrientation(), lux::NetworkRenderServerThread::run(), and yyparse().
void luxRotate | ( | float | angle, | |
float | dx, | |||
float | dy, | |||
float | dz | |||
) |
Definition at line 124 of file api.cpp.
References luxRotate().
Referenced by luxRotate(), lux::NetworkRenderServerThread::run(), and yyparse().
void luxSampler | ( | const char * | name, | |
... | ||||
) |
Definition at line 181 of file api.cpp.
References EXTRACT_PARAMETERS, luxSamplerV(), and PASS_PARAMETERS.
Referenced by luxSamplerV(), and yyparse().
void luxSamplerV | ( | const char * | name, | |
int | n, | |||
LuxToken | tokens[], | |||
LuxPointer | params[] | |||
) |
void luxSaveFLM | ( | const char * | name | ) |
Definition at line 458 of file api.cpp.
References luxSaveFLM().
Referenced by lux::LuxGui::FlmSaveThread(), and luxSaveFLM().
void luxScale | ( | float | sx, | |
float | sy, | |||
float | sz | |||
) |
Definition at line 128 of file api.cpp.
References luxScale().
Referenced by luxScale(), and yyparse().
void luxSetEpsilon | ( | const float | minValue, | |
const float | maxValue | |||
) |
Definition at line 664 of file api.cpp.
References luxSetEpsilon().
Referenced by luxSetEpsilon(), main(), and lux::LuxGuiApp::ProcessCommandLine().
void luxSetHaltSamplePerPixel | ( | int | haltspp, | |
bool | haveEnoughSamplePerPixel, | |||
bool | suspendThreadsWhenDone | |||
) |
Definition at line 487 of file api.cpp.
References luxSetHaltSamplePerPixel().
Referenced by luxSetHaltSamplePerPixel(), and lux::LuxGui::OnMenu().
void luxSetNetworkServerUpdateInterval | ( | int | updateInterval | ) |
Definition at line 569 of file api.cpp.
References luxSetNetworkServerUpdateInterval().
Referenced by luxSetNetworkServerUpdateInterval(), main(), lux::LuxGui::OnSpin(), and lux::LuxGuiApp::ProcessCommandLine().
void luxSetParameterValue | ( | luxComponent | comp, | |
luxComponentParameters | param, | |||
double | value, | |||
int | index | |||
) |
Definition at line 519 of file api.cpp.
References luxSetParameterValue().
Referenced by luxSetParameterValue(), lux::LuxGui::LuxLightGroupPanel::OnMouse(), lux::LuxGui::ResetToneMappingFromFilm(), lux::LuxGui::LuxLightGroupPanel::ResetValuesFromFilm(), and UpdateParam().
void luxSetStringParameterValue | ( | luxComponent | comp, | |
luxComponentParameters | param, | |||
const char * | value, | |||
int | index | |||
) |
Definition at line 529 of file api.cpp.
References luxSetStringParameterValue().
Referenced by luxSetStringParameterValue(), and UpdateParam().
void luxShape | ( | const char * | name, | |
... | ||||
) |
Definition at line 380 of file api.cpp.
References EXTRACT_PARAMETERS, luxShapeV(), and PASS_PARAMETERS.
Referenced by luxShapeV(), and yyparse().
void luxShapeV | ( | const char * | name, | |
int | n, | |||
LuxToken | tokens[], | |||
LuxPointer | params[] | |||
) |
void luxStart | ( | ) |
Definition at line 471 of file api.cpp.
References luxStart().
Referenced by luxStart(), and lux::LuxGui::OnMenu().
double luxStatistics | ( | const char * | statName | ) |
Definition at line 547 of file api.cpp.
References initialized, LUX_NOTSTARTED, LUX_SEVERE, luxError, and luxStatistics().
Referenced by lux::LuxGui::ApplyTonemapping(), lux::LuxGLViewer::CreateTextures(), lux::LuxGui::EngineThread(), engineThread(), lux::LuxGui::FlmLoadThread(), infoThread(), luxStatistics(), main(), lux::LuxOutputWin::OnDraw(), lux::LuxGui::OnMenu(), lux::LuxGLViewer::OnPaint(), lux::LuxGui::OnSaveFLM(), lux::LuxGui::OnTimer(), printInfoThread(), lux::LuxGui::ResetLightGroups(), lux::LuxGui::ResetToneMapping(), lux::NetworkRenderServerThread::run(), lux::LuxGui::SetRenderThreads(), lux::LuxGui::LuxHistogramWindow::Update(), lux::LuxGui::UpdateNetworkTree(), UpdateParam(), and lux::LuxGui::UpdateStatistics().
void luxSurfaceIntegrator | ( | const char * | name, | |
... | ||||
) |
Definition at line 212 of file api.cpp.
References EXTRACT_PARAMETERS, luxSurfaceIntegratorV(), and PASS_PARAMETERS.
Referenced by luxSurfaceIntegratorV(), and yyparse().
void luxSurfaceIntegratorV | ( | const char * | name, | |
int | n, | |||
LuxToken | tokens[], | |||
LuxPointer | params[] | |||
) |
Definition at line 218 of file api.cpp.
References luxSurfaceIntegrator().
Referenced by luxSurfaceIntegrator().
void luxTexture | ( | const char * | name, | |
const char * | type, | |||
const char * | texname, | |||
... | ||||
) |
Definition at line 283 of file api.cpp.
References EXTRACT_PARAMETERS, luxTextureV(), and PASS_PARAMETERS.
Referenced by luxTextureV(), lux::NetworkRenderServerThread::run(), and yyparse().
void luxTextureV | ( | const char * | name, | |
const char * | type, | |||
const char * | texname, | |||
int | n, | |||
LuxToken | tokens[], | |||
LuxPointer | params[] | |||
) |
void luxTransform | ( | float | tr[16] | ) |
Definition at line 117 of file api.cpp.
References luxTransform().
Referenced by luxTransform(), and yyparse().
void luxTransformBegin | ( | ) |
Definition at line 269 of file api.cpp.
References luxTransformBegin().
Referenced by luxTransformBegin(), lux::NetworkRenderServerThread::run(), and yyparse().
void luxTransformEnd | ( | ) |
Definition at line 273 of file api.cpp.
References luxTransformEnd().
Referenced by luxTransformEnd(), lux::NetworkRenderServerThread::run(), and yyparse().
void luxTranslate | ( | float | dx, | |
float | dy, | |||
float | dz | |||
) |
Definition at line 113 of file api.cpp.
References luxTranslate().
Referenced by luxTranslate(), and yyparse().
void luxUpdateFilmFromNetwork | ( | ) |
Definition at line 564 of file api.cpp.
References luxUpdateFilmFromNetwork().
Referenced by luxUpdateFilmFromNetwork().
void luxUpdateFramebuffer | ( | ) |
Definition at line 505 of file api.cpp.
References luxUpdateFramebuffer().
Referenced by luxUpdateFramebuffer(), main(), lux::LuxGui::OnTimer(), and lux::LuxGui::UpdateThread().
void luxVolume | ( | const char * | name, | |
... | ||||
) |
Definition at line 398 of file api.cpp.
References EXTRACT_PARAMETERS, luxVolumeV(), and PASS_PARAMETERS.
Referenced by luxVolumeV(), and yyparse().
void luxVolumeIntegrator | ( | const char * | name, | |
... | ||||
) |
Definition at line 229 of file api.cpp.
References EXTRACT_PARAMETERS, luxVolumeIntegratorV(), and PASS_PARAMETERS.
Referenced by luxVolumeIntegratorV(), and yyparse().
void luxVolumeIntegratorV | ( | const char * | name, | |
int | n, | |||
LuxToken | tokens[], | |||
LuxPointer | params[] | |||
) |
Definition at line 235 of file api.cpp.
References luxVolumeIntegrator().
Referenced by luxVolumeIntegrator().
void luxVolumeV | ( | const char * | name, | |
int | n, | |||
LuxToken | tokens[], | |||
LuxPointer | params[] | |||
) |
void luxWait | ( | ) |
Definition at line 483 of file api.cpp.
References luxWait().
Referenced by lux::LuxGui::EngineThread(), luxWait(), main(), and lux::NetworkRenderServerThread::run().
void luxWorldBegin | ( | ) |
Definition at line 257 of file api.cpp.
References luxWorldBegin().
Referenced by luxWorldBegin(), lux::NetworkRenderServerThread::run(), and yyparse().
void luxWorldEnd | ( | ) |
Definition at line 421 of file api.cpp.
References luxWorldEnd().
Referenced by luxWorldEnd(), lux::NetworkRenderServerThread::run(), and yyparse().
bool initialized = false [static] |
Definition at line 75 of file api.cpp.
Referenced by luxCleanup(), luxInit(), and luxStatistics().
LuxErrorHandler luxError = luxErrorFilter |
Definition at line 592 of file api.cpp.
Referenced by add_string_char(), lux::FlexImageFilm::AddSample(), lux::LoopSubdiv::ApplyDisplacementMap(), lux::LuxGui::ApplyTonemapping(), lux::Primitive::Area(), boost::assertion_failed(), lux::Context::attributeEnd(), lux::PerspectiveCamera::AutoFocus(), lux::OrthoCamera::AutoFocus(), lux::BVHAccel::BVHAccel(), lux::Checkerboard2D< T >::Checkerboard2D(), lux::Context::cleanup(), lux::RenderFarm::connect(), lux::FlexImageFilm::CreateBuffers(), lux::RealisticCamera::CreateCamera(), lux::PerspectiveCamera::CreateCamera(), lux::OrthoCamera::CreateCamera(), lux::EnvironmentCamera::CreateCamera(), lux::FlexImageFilm::CreateFilm(), lux::RegularDataTexture::CreateFloatTexture(), lux::IrregularDataTexture::CreateFloatTexture(), lux::ImageFloatTexture::CreateFloatTexture(), lux::DotsTexture< T >::CreateFloatTexture(), lux::Checkerboard::CreateFloatTexture(), lux::BlenderWoodTexture3D< T >::CreateFloatTexture(), lux::BlenderVoronoiTexture3D< T >::CreateFloatTexture(), lux::BlenderStucciTexture3D< T >::CreateFloatTexture(), lux::BlenderMusgraveTexture3D< T >::CreateFloatTexture(), lux::BlenderMarbleTexture3D< T >::CreateFloatTexture(), lux::BlenderDistortedNoiseTexture3D< T >::CreateFloatTexture(), lux::BlenderCloudsTexture3D< T >::CreateFloatTexture(), lux::BlenderBlendTexture3D< T >::CreateFloatTexture(), lux::BilerpFloatTexture::CreateFloatTexture(), lux::createImageData(), lux::Metal::CreateMaterial(), lux::ImageData::createMIPMap(), lux::RandomSampler::CreateSampler(), lux::ERPTSampler::CreateSampler(), lux::Quad::CreateShape(), CreateShape(), lux::LoopSubdiv::CreateShape(), lux::PathIntegrator::CreateSurfaceIntegrator(), lux::ExPhotonIntegrator::CreateSurfaceIntegrator(), lux::DistributedPath::CreateSurfaceIntegrator(), lux::DirectLightingIntegrator::CreateSurfaceIntegrator(), lux::DebugIntegrator::CreateSurfaceIntegrator(), lux::BidirIntegrator::CreateSurfaceIntegrator(), lux::UVTexture::CreateSWCSpectrumTexture(), lux::RegularDataTexture::CreateSWCSpectrumTexture(), lux::IrregularDataTexture::CreateSWCSpectrumTexture(), lux::ImageSpectrumTexture::CreateSWCSpectrumTexture(), lux::DotsTexture< T >::CreateSWCSpectrumTexture(), lux::Checkerboard::CreateSWCSpectrumTexture(), lux::BlenderWoodTexture3D< T >::CreateSWCSpectrumTexture(), lux::BlenderVoronoiTexture3D< T >::CreateSWCSpectrumTexture(), lux::BlenderStucciTexture3D< T >::CreateSWCSpectrumTexture(), lux::BlenderMusgraveTexture3D< T >::CreateSWCSpectrumTexture(), lux::BlenderMarbleTexture3D< T >::CreateSWCSpectrumTexture(), lux::BlenderDistortedNoiseTexture3D< T >::CreateSWCSpectrumTexture(), lux::BlenderCloudsTexture3D< T >::CreateSWCSpectrumTexture(), lux::BlenderBlendTexture3D< T >::CreateSWCSpectrumTexture(), lux::BilerpSpectrumTexture::CreateSWCSpectrumTexture(), lux::VolumeGrid::CreateVolumeRegion(), lux::RenderFarm::disconnect(), lux::LuxGui::EngineThread(), FlmParameter::FlmParameter(), lux::RenderFarm::flush(), lux::Context::GetActiveLightGroup(), lux::TextureParams::GetFloatTexture(), lux::MIPMapImpl< T, U >::getMemoryUsed(), lux::Primitive::GetShadingGeometry(), lux::TextureParams::GetSWCSpectrumTexture(), lux::IESSphericalFunction::IESSphericalFunction(), include_push(), infoThread(), InitParamSet(), lux::Shape::Intersect(), lux::Primitive::Intersect(), lux::Primitive::IntersectP(), lux::Matrix4x4::Inverse(), IORFromName(), lux::Camera::IsDelta(), lux::RenderServer::join(), lux::LDSampler::LDSampler(), lux::DebugIntegrator::Li(), lux::Light::Light(), lux::Context::lightSource(), lux::LoadError(), lux::Context::loadFLM(), lux::MIPMapImpl< T, U >::Lookup(), lookupType(), lux::LoopSubdiv::LoopSubdiv(), lux::lux_png_error(), luxCleanup(), luxInit(), luxStatistics(), main(), lux::Context::makematerial(), lux::Context::makemixmaterial(), lux::Context::RenderOptions::MakeScene(), lux::Mesh::Mesh(), lux::MeshQuadrilateral::MeshQuadrilateral(), lux::MIPMapImpl< T, U >::MIPMapImpl(), lux::Context::motionInstance(), lux::MotionSystem::MotionSystem(), lux::Context::namedmaterial(), lux::Context::objectBegin(), lux::Shape::ObjectBound(), lux::QuadMesh::ObjectBound(), lux::Context::objectEnd(), lux::Context::objectInstance(), lux::LuxGui::OnExit(), lux::LuxGui::OnTimer(), lux::SDFace::otherVert(), ParseFile(), lux::PhotonIntegrator::Preprocess(), lux::ExPhotonIntegrator::Preprocess(), lux::PrimitiveSet::PrimitiveSet(), printInfoThread(), processCommandFilm(), lux::LuxGuiApp::ProcessCommandLine(), processFile(), FlmHeader::Read(), FlmParameter::Read(), lux::StandardImageReader< T >::read(), lux::ExrImageReader::read(), lux::Shape::Refine(), lux::Primitive::Refine(), lux::Mesh::Refine(), lux::LoopSubdiv::Refine(), lux::Scene::Render(), lux::RenderThread::render(), lux::NetworkRenderServerThread::run(), lux::Shape::Sample(), lux::Primitive::Sample(), lux::Light::Sample_L(), lux::Camera::Sample_W(), lux::Scene::Scene(), lux::RenderFarm::send(), lux::RenderFarm::sendFile(), lux::Context::shape(), lux::RenderServer::start(), lux::RenderFarm::startFilmUpdater(), lux::Scene::Statistics(), lux::RenderServer::stop(), lux::LuxGui::StopRendering(), lux::SunLight::SunLight(), lux::TaBRecKdTreeAccel::TaBRecKdTreeAccel(), lux::MachineEpsilon::Test(), lux::Context::texture(), lux::Context::transformEnd(), lux::FlexImageFilm::TransmitFilm(), lux::RenderFarm::updateFilm(), lux::FlexImageFilm::UpdateFilm(), lux::SDFace::vnum(), lux::Context::worldEnd(), lux::FlexImageFilm::WriteEXRImage(), lux::ImageFilm::WriteImage(), lux::FlexImageFilm::WritePNGImage(), lux::FlexImageFilm::WriteResumeFilm(), lux::FlexImageFilm::WriteTGAImage(), yyerror(), and lux::MIPMapImpl< T, U >::~MIPMapImpl().
LuxErrorHandler luxErrorDelegate = luxErrorPrint [static] |
Definition at line 580 of file api.cpp.
Referenced by luxErrorFilter(), and luxErrorHandler().
int luxLastError = LUX_NOERROR |
int luxLogFilter = -99 |
Definition at line 582 of file api.cpp.
Referenced by main(), and lux::LuxGuiApp::ProcessCommandLine().