20 #if !defined(__MITSUBA_RENDER_UTIL_H_)
21 #define __MITSUBA_RENDER_UTIL_H_
41 virtual int run(
int argc,
char **argv) = 0;
52 const ParameterMap ¶ms= ParameterMap());
55 ref<Scene> loadSceneFromString(
const std::string &content,
56 const ParameterMap ¶ms= ParameterMap());
59 #define MTS_DECLARE_UTILITY() \
62 #define MTS_EXPORT_UTILITY(name, descr) \
63 MTS_IMPLEMENT_CLASS(name, false, Utility) \
65 void MTS_EXPORT *CreateUtility() { \
68 const char MTS_EXPORT *GetDescription() { \
Abstract utility class – can be used to implement loadable utility plugins that perform various actio...
Definition: util.h:32
#define MTS_DECLARE_CLASS()
This macro must be used in the initial definition in classes that derive from Object.
Definition: class.h:158
Reference counting helper.
Definition: ref.h:40
Simple functor for sorting string parameters by length and content.
Definition: util.h:82
Parent of all Mitsuba classes.
Definition: object.h:38
std::map< std::string, std::string, SimpleStringOrdering > ParameterMap
Definition: util.h:45