TuttleOFX
1
|
#include <sam/common/options.hpp>
#include <sam/common/utility.hpp>
#include <tuttle/host/Core.hpp>
#include <tuttle/host/ofx/OfxhImageEffectPlugin.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/exception.hpp>
#include <boost/exception/diagnostic_information.hpp>
#include <boost/foreach.hpp>
#include <boost/program_options.hpp>
#include <boost/regex.hpp>
#include <boost/algorithm/string.hpp>
#include <boost/algorithm/string/split.hpp>
Go to the source code of this file.
Functions | |
std::string | getDefaultValues (const tth::ofx::property::OfxhProperty &prop) |
get defaults values of plugin properties | |
void | printProperties (const tth::ofx::property::OfxhSet properties, std::string context="") |
void | getPluginProperties (const std::string &plugName) |
bool | isNotFiltered (std::string plugName, std::vector< std::string > &filters) |
int | main (int argc, char **argv) |
Variables | |
bool | properties = false |
bool | clips = false |
bool | parameters = false |
std::string getDefaultValues | ( | const tth::ofx::property::OfxhProperty & | prop | ) |
get defaults values of plugin properties
Definition at line 26 of file main.cpp.
Referenced by printProperties().
void getPluginProperties | ( | const std::string & | plugName | ) |
Definition at line 90 of file main.cpp.
References clips, tuttle::host::core(), tuttle::common::Color::get(), kOfxImageEffectContextFilter, kOfxImageEffectContextGeneral, kOfxImageEffectContextGenerator, kOfxImageEffectContextReader, kOfxImageEffectContextWriter, parameters, printProperties(), properties, TUTTLE_LOG_ERROR, and TUTTLE_LOG_INFO.
Referenced by main().
bool isNotFiltered | ( | std::string | plugName, |
std::vector< std::string > & | filters | ||
) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 235 of file main.cpp.
References clips, tuttle::host::core(), OFX::Log::error(), tuttle::common::formatters::Formatter::get(), tuttle::common::Color::get(), getPluginProperties(), isNotFiltered(), sam::kAllOptionLongName, sam::kAllOptionMessage, sam::kAllOptionString, sam::kBriefOptionLongName, sam::kBriefOptionMessage, sam::kBriefOptionString, sam::kClipsOptionLongName, sam::kClipsOptionMessage, sam::kClipsOptionString, sam::kColorOptionLongName, sam::kColorOptionMessage, sam::kColorOptionString, sam::kEnableColorOptionLongName, sam::kEnableColorOptionMessage, sam::kEnableColorOptionString, sam::kFilterOptionLongName, sam::kFilterOptionMessage, sam::kFilterOptionString, sam::kHelpOptionLongName, sam::kHelpOptionMessage, sam::kHelpOptionString, sam::kInputDirOptionLongName, sam::kInputDirOptionMessage, sam::kInputDirOptionString, sam::kParametersOptionLongName, sam::kParametersOptionMessage, sam::kParametersOptionString, sam::kPropertiesOptionLongName, sam::kPropertiesOptionMessage, sam::kPropertiesOptionString, sam::kUrlTuttleofxProject, parameters, properties, string_to_boolean(), TUTTLE_LOG_ERROR, and TUTTLE_LOG_INFO.
void printProperties | ( | const tth::ofx::property::OfxhSet | properties, |
std::string | context = "" |
||
) |
Definition at line 45 of file main.cpp.
References tuttle::host::ofx::property::eModifiedByHost, tuttle::common::Color::get(), getDefaultValues(), tuttle::host::ofx::property::mapTypeEnumToString(), signal_callback_handler(), and TUTTLE_LOG_INFO.
Referenced by getPluginProperties().
bool clips = false |
Definition at line 22 of file main.cpp.
Referenced by sam::coutClips(), sam::coutClipsWithDetails(), getPluginProperties(), tuttle::host::ImageEffectNode::getSingleInputAttribute(), main(), and tuttle::host::ofx::attribute::OfxhClipImageSet::populateClips().
bool parameters = false |
Definition at line 23 of file main.cpp.
Referenced by terry::color::components::convertComponentsView< rgb16_view_t, gray16_view_t >(), terry::color::components::convertComponentsView< rgb16_view_t, rgba16_view_t >(), terry::color::components::convertComponentsView< rgb32f_view_t, gray32f_view_t >(), terry::color::components::convertComponentsView< rgb32f_view_t, rgba32f_view_t >(), terry::color::components::convertComponentsView< rgb8_view_t, gray8_view_t >(), terry::color::components::convertComponentsView< rgb8_view_t, rgba8_view_t >(), terry::color::components::convertComponentsView< rgba16_view_t, gray16_view_t >(), terry::color::components::convertComponentsView< rgba16_view_t, rgb16_view_t >(), terry::color::components::convertComponentsView< rgba16_view_t, rgba16_view_t >(), terry::color::components::convertComponentsView< rgba32f_view_t, gray32f_view_t >(), terry::color::components::convertComponentsView< rgba32f_view_t, rgb32f_view_t >(), terry::color::components::convertComponentsView< rgba32f_view_t, rgba32f_view_t >(), terry::color::components::convertComponentsView< rgba8_view_t, gray8_view_t >(), terry::color::components::convertComponentsView< rgba8_view_t, rgb8_view_t >(), terry::color::components::convertComponentsView< rgba8_view_t, rgba8_view_t >(), tuttle::io::J2KReader::decode(), getPluginProperties(), main(), and tuttle::host::ofx::imageEffect::OfxhImageEffectNode::populateParams().
bool properties = false |
Definition at line 21 of file main.cpp.
Referenced by tuttle::host::ofx::fetchSuite(), sam::samdo::Dummy::foundAssociateSpecificDummyNode(), getPluginProperties(), main(), tuttle::host::ofx::attribute::OfxhAttributeDescriptor::setProperties(), and tuttle::host::ofx::attribute::OfxhAttribute::setProperties().