38 : _properties(std::move(properties))
41 if (armLength <= 0.0f)
49 if (params.getApplicationParameters().getEngine() == ENGINE_OSPRAY)
63 CORE_INFO(
" _|_| _|_| _| _| _| _|_|_|_| _| _| _|_| _| _| _|");
64 CORE_INFO(
" _| _| _| _| _| _| _| _| _|_|_|_|_| _| _| _| _|_|_|_| _| _| _|");
65 CORE_INFO(
" _| _| _| _| _| _| _| _| _| _| _| _| _| _| _| ");
66 CORE_INFO(
" _| _| _|_|_| _| _|_| _| _| _| _|_|_| _| _| ");
68 CORE_INFO(
"Initializing Multi-view plug-in (version " << PACKAGE_VERSION_STRING <<
")");
72 {
PARAM_ARM_LENGTH, 5.0, 0.0, 100.0, {
"Arm length",
"The distance between the cameras and the view center"}});
77 {
"View height",
"The height of the viewport in world space"}});
79 if (!properties.
parse(argc, argv))
const std::string PARAM_ARM_LENGTH
const std::string RENDERER_MULTI_VIEW
core::ExtensionPlugin * core_plugin_create(const int argc, const char **argv)
PLATFORM_API const auto & getParametersManager() const
Returns the parameter manager.
MultiviewPlugin(PropertyMap &&properties)
virtual Engine & getEngine()=0
void setProperty(const Property &newProperty)
T getProperty(const std::string &name, T valIfNotFound) const
bool parse(int argc, const char **argv)