api.cpp File Reference

#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>
Include dependency graph for api.cpp:

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 Documentation

#define EXTRACT_PARAMETERS ( _start   ) 
Value:
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

Function Documentation

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 (  ) 
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[] 
)

Definition at line 252 of file api.cpp.

References luxCamera().

Referenced by luxCamera().

void luxCleanup (  ) 
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().

void luxErrorAbort ( int  code,
int  severity,
const char *  message 
)

Definition at line 598 of file api.cpp.

References LUX_INFO, and luxErrorPrint().

void luxErrorFilter ( int  code,
int  severity,
const char *  message 
)

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().

void luxErrorIgnore ( int  code,
int  severity,
const char *  message 
)

Definition at line 604 of file api.cpp.

void luxErrorPrint ( int  code,
int  severity,
const char *  message 
)

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().

void luxErrorPrintFilter ( int  code,
int  severity,
const char *  message 
)

Definition at line 608 of file api.cpp.

References luxErrorPrint().

void luxExit (  ) 
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[] 
)

Definition at line 169 of file api.cpp.

References luxFilm().

Referenced by luxFilm().

unsigned char* luxFramebuffer (  ) 
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().

void luxGetHistogramImage ( unsigned char *  outPixels,
int  width,
int  height,
int  options 
)

Definition at line 514 of file api.cpp.

References luxGetHistogramImage().

Referenced by luxGetHistogramImage(), and lux::LuxGui::LuxHistogramWindow::Update().

int luxGetNetworkServerUpdateInterval (  ) 
double luxGetParameterValue ( luxComponent  comp,
luxComponentParameters  param,
int  index 
)
int luxGetRenderingServersStatus ( RenderingServerInfo info,
int  maxInfoCount 
)
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 
)
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[] 
)

Definition at line 304 of file api.cpp.

References luxMaterial().

Referenced by luxMaterial().

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[] 
)

Definition at line 187 of file api.cpp.

References luxSampler().

Referenced by luxSampler().

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  ) 
void luxSetParameterValue ( luxComponent  comp,
luxComponentParameters  param,
double  value,
int  index 
)
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[] 
)

Definition at line 386 of file api.cpp.

References luxShape().

Referenced by luxShape().

void luxStart (  ) 

Definition at line 471 of file api.cpp.

References luxStart().

Referenced by luxStart(), and lux::LuxGui::OnMenu().

double luxStatistics ( const char *  statName  ) 
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,
  ... 
)
void luxTextureV ( const char *  name,
const char *  type,
const char *  texname,
int  n,
LuxToken  tokens[],
LuxPointer  params[] 
)

Definition at line 289 of file api.cpp.

References luxTexture().

Referenced by luxTexture().

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 (  ) 
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[] 
)

Definition at line 404 of file api.cpp.

References luxVolume().

Referenced by luxVolume().

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().


Variable Documentation

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

Definition at line 581 of file api.cpp.

Definition at line 582 of file api.cpp.

Referenced by main(), and lux::LuxGuiApp::ProcessCommandLine().

Generated by  doxygen 1.6.2-20100208