本文整理汇总了C++中ofx::ImageEffectDescriptor::setPluginDescription方法的典型用法代码示例。如果您正苦于以下问题:C++ ImageEffectDescriptor::setPluginDescription方法的具体用法?C++ ImageEffectDescriptor::setPluginDescription怎么用?C++ ImageEffectDescriptor::setPluginDescription使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ofx::ImageEffectDescriptor
的用法示例。
在下文中一共展示了ImageEffectDescriptor::setPluginDescription方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: describe
void InvertPluginFactory::describe(OFX::ImageEffectDescriptor &desc)
{
// basic labels
desc.setLabels(kPluginName, kPluginName, kPluginName);
desc.setPluginGrouping(kPluginGrouping);
desc.setPluginDescription(kPluginDescription);
// add the supported contexts
desc.addSupportedContext(eContextFilter);
desc.addSupportedContext(eContextGeneral);
desc.addSupportedContext(eContextPaint);
// add supported pixel depths
desc.addSupportedBitDepth(eBitDepthUByte);
desc.addSupportedBitDepth(eBitDepthUShort);
desc.addSupportedBitDepth(eBitDepthFloat);
// set a few flags
desc.setSingleInstance(false);
desc.setHostFrameThreading(false);
desc.setSupportsMultiResolution(true);
desc.setSupportsTiles(true);
desc.setTemporalClipAccess(false);
desc.setRenderTwiceAlways(false);
desc.setSupportsMultipleClipPARs(false);
}
示例2: describe
void SwitchPluginFactory::describe(OFX::ImageEffectDescriptor &desc)
{
// basic labels
desc.setLabels(kPluginName, kPluginName, kPluginName);
desc.setPluginGrouping(kPluginGrouping);
desc.setPluginDescription(kPluginDescription);
// add the supported contexts
desc.addSupportedContext(eContextGeneral);
desc.addSupportedContext(eContextFilter);
// add supported pixel depths
desc.addSupportedBitDepth(eBitDepthUByte);
desc.addSupportedBitDepth(eBitDepthUShort);
desc.addSupportedBitDepth(eBitDepthFloat);
// set a few flags
desc.setSingleInstance(false);
desc.setHostFrameThreading(false);
desc.setSupportsMultiResolution(true);
desc.setSupportsTiles(true);
desc.setTemporalClipAccess(false);
desc.setRenderTwiceAlways(false);
desc.setSupportsMultipleClipPARs(false);
#ifdef OFX_EXTENSIONS_NUKE
// Enable transform by the host.
// It is only possible for transforms which can be represented as a 3x3 matrix.
desc.setCanTransform(true);
#endif
}
示例3: describe
void LensCalibrationPluginFactory::describe(OFX::ImageEffectDescriptor& desc)
{
//Plugin Labels
desc.setLabels(
"LensCalibration",
"LensCalibration",
"openMVG LensCalibration");
//Plugin grouping
desc.setPluginGrouping("openMVG");
//Plugin description
desc.setPluginDescription(
"LensCalibration estimates the best distortion parameters "
"according to the couple camera/optics of a dataset."
"\n"
"The plugin supports video file & folder containing images or "
"image sequence."
);
//Supported contexts
desc.addSupportedContext(OFX::eContextFilter);
desc.addSupportedContext(OFX::eContextGeneral);
desc.addSupportedContext(OFX::eContextPaint);
//Supported pixel depths
desc.addSupportedBitDepth(OFX::eBitDepthUByte);
desc.addSupportedBitDepth(OFX::eBitDepthUShort);
desc.addSupportedBitDepth(OFX::eBitDepthFloat);
//Flags
desc.setSingleInstance(false);
desc.setHostFrameThreading(false);
desc.setSupportsMultiResolution(false);
desc.setSupportsTiles(false);
desc.setTemporalClipAccess(false);
desc.setRenderTwiceAlways(false);
desc.setSupportsMultipleClipPARs(false);
desc.setOverlayInteractDescriptor( new LensCalibrationOverlayDescriptor);
}
示例4: describe
/** @brief The basic describe function, passed a plugin descriptor */
void WriteOIIOPluginFactory::describe(OFX::ImageEffectDescriptor &desc)
{
GenericWriterDescribe(desc);
// basic labels
desc.setLabels(kPluginName, kPluginName, kPluginName);
desc.setPluginDescription("Write images using OpenImageIO.\n\n"
"OpenImageIO supports writing the following file formats:\n"
"BMP (*.bmp)\n"
"Cineon (*.cin)\n"
//"Direct Draw Surface (*.dds)\n"
"DPX (*.dpx)\n"
//"Field3D (*.f3d)\n"
"FITS (*.fits)\n"
"HDR/RGBE (*.hdr)\n"
"Icon (*.ico)\n"
"IFF (*.iff)\n"
"JPEG (*.jpg *.jpe *.jpeg *.jif *.jfif *.jfi)\n"
"JPEG-2000 (*.jp2 *.j2k)\n"
"OpenEXR (*.exr)\n"
"Portable Network Graphics (*.png)\n"
"PNM / Netpbm (*.pbm *.pgm *.ppm)\n"
"PSD (*.psd *.pdd *.psb)\n"
//"Ptex (*.ptex)\n"
"RLA (*.rla)\n"
"SGI (*.sgi *.rgb *.rgba *.bw *.int *.inta)\n"
"Softimage PIC (*.pic)\n"
"Targa (*.tga *.tpic)\n"
"TIFF (*.tif *.tiff *.tx *.env *.sm *.vsm)\n"
"Zfile (*.zfile)\n\n"
+ oiio_versions());
#ifdef OFX_EXTENSIONS_TUTTLE
const char* extensions[] = { "bmp", "cin", /*"dds",*/ "dpx", /*"f3d",*/ "fits", "hdr", "ico", "iff", "jpg", "jpe", "jpeg", "jif", "jfif", "jfi", "jp2", "j2k", "exr", "png", "pbm", "pgm", "ppm", "psd", "pdd", "psb", /*"ptex",*/ "rla", "sgi", "rgb", "rgba", "bw", "int", "inta", "pic", "tga", "tpic", "tif", "tiff", "tx", "env", "sm", "vsm", "zfile", NULL };
desc.addSupportedExtensions(extensions);
desc.setPluginEvaluation(50);
#endif
}