00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef PBRT_DYNLOAD_H
00025 #define PBRT_DYNLOAD_H
00026
00027 #include "pbrt.h"
00028
00029 COREDLL void UpdatePluginPath(const string &newpath);
00030 COREDLL Reference<Shape> MakeShape(const string &name,
00031 const Transform &object2world, bool reverseOrientation, const ParamSet ¶mSet);
00032 COREDLL Reference<Material> MakeMaterial(const string &name,
00033 const Transform &mtl2world, const TextureParams &mp);
00034 COREDLL Reference<Texture<float> > MakeFloatTexture(const string &name,
00035 const Transform &tex2world, const TextureParams &tp);
00036 COREDLL Reference<Texture<Spectrum> > MakeSpectrumTexture(const string &name,
00037 const Transform &tex2world, const TextureParams &tp);
00038 COREDLL Light *MakeLight(const string &name,
00039 const Transform &light2world, const ParamSet ¶mSet);
00040 COREDLL AreaLight *MakeAreaLight(const string &name,
00041 const Transform &light2world,
00042 const ParamSet ¶mSet, const Reference<Shape> &shape);
00043 COREDLL VolumeRegion *MakeVolumeRegion(const string &name,
00044 const Transform &light2world, const ParamSet ¶mSet);
00045 COREDLL SurfaceIntegrator *MakeSurfaceIntegrator(const string &name,
00046 const ParamSet ¶mSet);
00047 COREDLL VolumeIntegrator *MakeVolumeIntegrator(const string &name,
00048 const ParamSet ¶mSet);
00049 COREDLL Primitive *MakeAccelerator(const string &name,
00050 const vector<Reference<Primitive> > &prims,
00051 const ParamSet ¶mSet);
00052 COREDLL Camera *MakeCamera(const string &name,
00053 const ParamSet ¶mSet, const Transform &world2cam, Film *film);
00054 COREDLL Sampler *MakeSampler(const string &name,
00055 const ParamSet ¶mSet, const Film *film);
00056 COREDLL Filter *MakeFilter(const string &name,
00057 const ParamSet ¶mSet);
00058 COREDLL ToneMap *MakeToneMap(const string &name,
00059 const ParamSet ¶mSet);
00060 COREDLL Film *MakeFilm(const string &name,
00061 const ParamSet ¶mSet, Filter *filt);
00062 #endif // PBRT_DYNLOAD_H