Olga
Initial commit
5f9d349
raw
history blame contribute delete
1.57 kB
/*
* Copyright (C) 2020, Inria
* GRAPHDECO research group, https://team.inria.fr/graphdeco
* All rights reserved.
*
* This software is free for non-commercial, research and evaluation use
* under the terms of the LICENSE.md file.
*
* For inquiries contact [email protected] and/or [email protected]
*/
#pragma once
# include <core/system/Config.hpp>
# include <core/system/CommandLineArgs.hpp>
# ifdef SIBR_OS_WINDOWS
# ifdef SIBR_STATIC_DEFINE
# define SIBR_EXPORT
# define SIBR_NO_EXPORT
# else
# ifndef SIBR_EXP_ULR_EXPORT
# ifdef SIBR_EXP_ULR_EXPORTS
/* We are building this library */
# define SIBR_EXP_ULR_EXPORT __declspec(dllexport)
# else
/* We are using this library */
# define SIBR_EXP_ULR_EXPORT __declspec(dllimport)
# endif
# endif
# ifndef SIBR_NO_EXPORT
# define SIBR_NO_EXPORT
# endif
# endif
# else
# define SIBR_EXP_ULR_EXPORT
# endif
namespace sibr {
/// Arguments for all ULR applications.
struct ULRAppArgs :
virtual BasicIBRAppArgs {
Arg<int> version = { "v", 3, "ULR implementation version" };
ArgSwitch softVisibility = { "soft-visibility", false, "generate and use soft visibility masks" };
Arg<bool> masks = { "masks" , "use binary masks" };
Arg<std::string> maskParams = { "masks-param" , "" };
Arg<std::string> maskParamsExtra = { "masks-param-extra" , "" };
Arg<bool> invert = { "invert", "invert the masks" };
Arg<bool> alphas = { "alphas", "" };
Arg<bool> poisson = { "poisson-blend", "apply Poisson-filling to the ULR result" };
};
}