Natron

Detailed Description

This class contains enumerations that are used by some functions of the API to return status that are more complicated than a simple boolean value.

NatronEngine.Natron.StandardButtonEnum

Can have the following values:

  • eStandardButtonNoButton = 0x00000000,

  • eStandardButtonEscape = 0x00000200, // obsolete

  • eStandardButtonOk = 0x00000400,

  • eStandardButtonSave = 0x00000800,

  • eStandardButtonSaveAll = 0x00001000,

  • eStandardButtonOpen = 0x00002000,

  • eStandardButtonYes = 0x00004000,

  • eStandardButtonYesToAll = 0x00008000,

  • eStandardButtonNo = 0x00010000,

  • eStandardButtonNoToAll = 0x00020000,

  • eStandardButtonAbort = 0x00040000,

  • eStandardButtonRetry = 0x00080000,

  • eStandardButtonIgnore = 0x00100000,

  • eStandardButtonClose = 0x00200000,

  • eStandardButtonCancel = 0x00400000,

  • eStandardButtonDiscard = 0x00800000,

  • eStandardButtonHelp = 0x01000000,

  • eStandardButtonApply = 0x02000000,

  • eStandardButtonReset = 0x04000000,

  • eStandardButtonRestoreDefaults = 0x08000000

NatronEngine.Natron.ImagePlaneDescEnum

Can have the following values:

  • eImageComponentNone = 0,

  • eImageComponentAlpha,

  • eImageComponentRGB,

  • eImageComponentRGBA

NatronEngine.Natron.ImageBitDepthEnum

Can have the following values:

  • eImageBitDepthNone = 0,

  • eImageBitDepthByte,

  • eImageBitDepthShort,

  • eImageBitDepthFloat

NatronEngine.Natron.KeyframeTypeEnum

Can have the following values:

  • eKeyframeTypeConstant = 0,

  • eKeyframeTypeLinear = 1,

  • eKeyframeTypeSmooth = 2,

  • eKeyframeTypeCatmullRom = 3,

  • eKeyframeTypeCubic = 4,

  • eKeyframeTypeHorizontal = 5,

  • eKeyframeTypeFree = 6,

  • eKeyframeTypeBroken = 7,

  • eKeyframeTypeNone = 8

NatronEngine.Natron.ValueChangedReasonEnum

Can have the following values:

  • eValueChangedReasonUserEdited = 0, A user change to the param triggered the call, gui will not be refreshed but onParamChanged will be called

  • eValueChangedReasonPluginEdited , A plugin change triggered the call, gui will be refreshed but onParamChanged not called

  • eValueChangedReasonNatronGuiEdited, Natron gui called setValue itself, onParamChanged will be called (with a reason of User edited) AND param gui refreshed

  • eValueChangedReasonNatronInternalEdited, Natron engine called setValue itself, onParamChanged will be called (with a reason of plugin edited) AND param gui refreshed

  • eValueChangedReasonTimeChanged , A time-line seek changed the call, called when timeline time changes

  • eValueChangedReasonSlaveRefresh , A master parameter ordered the slave to refresh its value

  • eValueChangedReasonRestoreDefault , The param value has been restored to its defaults

NatronEngine.Natron.AnimationLevelEnum

Can have the following values:

  • eAnimationLevelNone = 0,

  • eAnimationLevelInterpolatedValue = 1,

  • eAnimationLevelOnKeyframe = 2

NatronEngine.Natron.OrientationEnum

Can have the following values:

  • eOrientationHorizontal = 0x1,

  • eOrientationVertical = 0x2

NatronEngine.Natron.ImagePremultiplicationEnum

Can have the following values:

  • eImagePremultiplicationOpaque = 0,

  • eImagePremultiplicationPremultiplied,

  • eImagePremultiplicationUnPremultiplied,

NatronEngine.Natron.StatusEnum

Can have the following values:

  • eStatusOK = 0,

  • eStatusFailed = 1,

  • eStatusReplyDefault = 14

NatronEngine.Natron.ViewerCompositingOperatorEnum

Can have the following values:

  • eViewerCompositingOperatorNone,

  • eViewerCompositingOperatorOver,

  • eViewerCompositingOperatorMinus,

  • eViewerCompositingOperatorUnder,

  • eViewerCompositingOperatorWipe

NatronEngine.Natron.PlaybackModeEnum

Can have the following values:

  • ePlaybackModeLoop = 0,

  • ePlaybackModeBounce,

  • ePlaybackModeOnce

NatronEngine.Natron.PixmapEnum

See here for potential values of this enumeration.

NatronEngine.Natron.ViewerColorSpaceEnum

Can have the following values:

  • eViewerColorSpaceSRGB = 0,

  • eViewerColorSpaceLinear,

  • eViewerColorSpaceRec709