Package apple.coreimage
Class CIFilter
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.coreimage.CIFilter
-
- All Implemented Interfaces:
NSCoding,NSCopying,NSSecureCoding,NSObject
- Direct Known Subclasses:
CIRAWFilter
public class CIFilter extends NSObject implements NSSecureCoding, NSCopying
CIFilter are filter objects for Core Image that encapsulate the filter with its attributes The CIFilter class produces a CIImage object as output. Typically, a filter takes one or more images as input. Some filters, however, generate an image based on other types of input parameters. The parameters of a CIFilter object are set and retrieved through the use of key-value pairs. You use the CIFilter object in conjunction with the CIImage, CIContext, CIVector, CIImageAccumulator, and CIColor objects to take advantage of the built-in Core Image filters when processing images. CIFilter objects are also used along with CIKernel, CISampler, and CIFilterShape objects to create custom filters.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Block_accessibilityActivateBlock_ret, NSObject.Block_accessibilityActivationPointBlock_ret, NSObject.Block_accessibilityAttributedHintBlock_ret, NSObject.Block_accessibilityAttributedLabelBlock_ret, NSObject.Block_accessibilityAttributedUserInputLabelsBlock_ret, NSObject.Block_accessibilityAttributedValueBlock_ret, NSObject.Block_accessibilityContainerTypeBlock_ret, NSObject.Block_accessibilityCustomActionsBlock_ret, NSObject.Block_accessibilityCustomRotorsBlock_ret, NSObject.Block_accessibilityDecrementBlock_ret, NSObject.Block_accessibilityElementsBlock_ret, NSObject.Block_accessibilityElementsHiddenBlock_ret, NSObject.Block_accessibilityFrameBlock_ret, NSObject.Block_accessibilityHeaderElementsBlock_ret, NSObject.Block_accessibilityHintBlock_ret, NSObject.Block_accessibilityIdentifierBlock_ret, NSObject.Block_accessibilityIncrementBlock_ret, NSObject.Block_accessibilityLabelBlock_ret, NSObject.Block_accessibilityLanguageBlock_ret, NSObject.Block_accessibilityMagicTapBlock_ret, NSObject.Block_accessibilityNavigationStyleBlock_ret, NSObject.Block_accessibilityPathBlock_ret, NSObject.Block_accessibilityPerformEscapeBlock_ret, NSObject.Block_accessibilityRespondsToUserInteractionBlock_ret, NSObject.Block_accessibilityShouldGroupAccessibilityChildrenBlock_ret, NSObject.Block_accessibilityTextualContextBlock_ret, NSObject.Block_accessibilityTraitsBlock_ret, NSObject.Block_accessibilityUserInputLabelsBlock_ret, NSObject.Block_accessibilityValueBlock_ret, NSObject.Block_accessibilityViewIsModalBlock_ret, NSObject.Block_automationElementsBlock_ret, NSObject.Block_isAccessibilityElementBlock_ret, NSObject.Block_setAccessibilityActivateBlock, NSObject.Block_setAccessibilityActivationPointBlock, NSObject.Block_setAccessibilityAttributedHintBlock, NSObject.Block_setAccessibilityAttributedLabelBlock, NSObject.Block_setAccessibilityAttributedUserInputLabelsBlock, NSObject.Block_setAccessibilityAttributedValueBlock, NSObject.Block_setAccessibilityContainerTypeBlock, NSObject.Block_setAccessibilityCustomActionsBlock, NSObject.Block_setAccessibilityCustomRotorsBlock, NSObject.Block_setAccessibilityDecrementBlock, NSObject.Block_setAccessibilityElementsBlock, NSObject.Block_setAccessibilityElementsHiddenBlock, NSObject.Block_setAccessibilityFrameBlock, NSObject.Block_setAccessibilityHeaderElementsBlock, NSObject.Block_setAccessibilityHintBlock, NSObject.Block_setAccessibilityIdentifierBlock, NSObject.Block_setAccessibilityIncrementBlock, NSObject.Block_setAccessibilityLabelBlock, NSObject.Block_setAccessibilityLanguageBlock, NSObject.Block_setAccessibilityMagicTapBlock, NSObject.Block_setAccessibilityNavigationStyleBlock, NSObject.Block_setAccessibilityPathBlock, NSObject.Block_setAccessibilityPerformEscapeBlock, NSObject.Block_setAccessibilityRespondsToUserInteractionBlock, NSObject.Block_setAccessibilityShouldGroupAccessibilityChildrenBlock, NSObject.Block_setAccessibilityTextualContextBlock, NSObject.Block_setAccessibilityTraitsBlock, NSObject.Block_setAccessibilityUserInputLabelsBlock, NSObject.Block_setAccessibilityValueBlock, NSObject.Block_setAccessibilityViewIsModalBlock, NSObject.Block_setAutomationElementsBlock, NSObject.Block_setIsAccessibilityElementBlock, NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCIFilter(org.moe.natj.general.Pointer peer)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean_supportsSecureCoding()This property must return YES on all classes that allow secure coding.static booleanaccessInstanceVariablesDirectly()static CIFilteralloc()static CIFilterallocWithZone(org.moe.natj.general.ptr.VoidPtr zone)@NotNull NSDictionary<java.lang.String,?>attributes()Returns a dictionary containing key/value pairs describing the filter.static booleanautomaticallyNotifiesObserversForKey(@NotNull java.lang.String key)static voidcancelPreviousPerformRequestsWithTarget(@NotNull java.lang.Object aTarget)static voidcancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull java.lang.Object aTarget, @NotNull org.moe.natj.objc.SEL aSelector, @Nullable java.lang.Object anArgument)static @NotNull NSArray<java.lang.String>classFallbacksForKeyedArchiver()static @NotNull org.moe.natj.objc.ClassclassForKeyedUnarchiver()@NotNull java.lang.ObjectcopyWithZone(@Nullable org.moe.natj.general.ptr.VoidPtr zone)static java.lang.StringdebugDescription_static()static java.lang.Stringdescription_static()voidencodeWithCoder(@NotNull NSCoder coder)static @NotNull NSArray<? extends CIFilter>filterArrayFromSerializedXMPInputImageExtentError(@NotNull NSData xmpData, CGRect extent, @Nullable org.moe.natj.general.ptr.Ptr<NSError> outError)Deprecated.static @NotNull NSArray<java.lang.String>filterNamesInCategories(@Nullable NSArray<java.lang.String> categories)Returns an array containing all published filter names that belong to all listed categories.static @NotNull NSArray<java.lang.String>filterNamesInCategory(@Nullable java.lang.String category)Returns an array containing all published filter names in a category.static CIFilterfilterWithCVPixelBufferPropertiesOptions(CVBufferRef pixelBuffer, NSDictionary<?,?> properties, NSDictionary<java.lang.String,?> options)Deprecated.static CIFilterfilterWithImageDataOptions(NSData data, NSDictionary<java.lang.String,?> options)Deprecated.static CIFilterfilterWithImageURLOptions(NSURL url, NSDictionary<java.lang.String,?> options)Deprecated.static @Nullable CIFilterfilterWithName(@NotNull java.lang.String name)Creates a new filter of type 'name'.static @Nullable CIFilterfilterWithNameKeysAndValues(@NotNull java.lang.String name, java.lang.Object key0, java.lang.Object... varargs)Creates a new filter of type 'name'.static @Nullable CIFilterfilterWithNameWithInputParameters(@NotNull java.lang.String name, @Nullable NSDictionary<java.lang.String,?> params)Creates a new filter of type 'name'.static longhash_static()CIFilterinit()CIFilterinitWithCoder(@NotNull NSCoder coder)NS_DESIGNATED_INITIALIZER@NotNull NSArray<java.lang.String>inputKeys()Returns an array containing the names of all inputs in the filter.static NSObject.Function_instanceMethodForSelector_retinstanceMethodForSelector(org.moe.natj.objc.SEL aSelector)static NSMethodSignatureinstanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)static booleaninstancesRespondToSelector(org.moe.natj.objc.SEL aSelector)static booleanisSubclassOfClass(org.moe.natj.objc.Class aClass)static @NotNull NSSet<java.lang.String>keyPathsForValuesAffectingValueForKey(@NotNull java.lang.String key)static @Nullable java.lang.StringlocalizedDescriptionForFilterName(@NotNull java.lang.String filterName)Returns the localized description of a filter for display in the UI.static @NotNull java.lang.StringlocalizedNameForCategory(@NotNull java.lang.String category)Returns the localized name of a category for display in the UI.static @Nullable java.lang.StringlocalizedNameForFilterName(@NotNull java.lang.String filterName)Returns the localized name of a filter for display in the UI.static @Nullable NSURLlocalizedReferenceDocumentationForFilterName(@NotNull java.lang.String filterName)Returns the URL to the localized reference documentation describing the filter.@NotNull java.lang.Stringname()API-Since: 5.0static CIFilternew_objc()@Nullable CIImageoutputImage()API-Since: 5.0@NotNull NSArray<java.lang.String>outputKeys()Returns an array containing the names of all outputs in the filter.static voidregisterFilterNameConstructorClassAttributes(@NotNull java.lang.String name, @NotNull CIFilterConstructor anObject, @NotNull NSDictionary<java.lang.String,?> attributes)Publishes a new filter called 'name'.static booleanresolveClassMethod(org.moe.natj.objc.SEL sel)static booleanresolveInstanceMethod(org.moe.natj.objc.SEL sel)static @Nullable NSDataserializedXMPFromFiltersInputImageExtent(@NotNull NSArray<? extends CIFilter> filters, CGRect extent)Deprecated.voidsetDefaults()Sets all inputs to their default values (where default values are defined, other inputs are left as-is).voidsetName(@NotNull java.lang.String aString)API-Since: 10.0static voidsetVersion_static(long aVersion)static org.moe.natj.objc.Classsuperclass_static()static NSArray<java.lang.String>supportedRawCameraModels()Deprecated.static booleansupportsSecureCoding()static booleanuseStoredAccessor()Deprecated.static longversion_static()-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivateBlock, accessibilityActivationPoint, accessibilityActivationPointBlock, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedHintBlock, accessibilityAttributedLabel, accessibilityAttributedLabelBlock, accessibilityAttributedUserInputLabels, accessibilityAttributedUserInputLabelsBlock, accessibilityAttributedValue, accessibilityAttributedValueBlock, accessibilityContainerType, accessibilityContainerTypeBlock, accessibilityCustomActions, accessibilityCustomActionsBlock, accessibilityCustomRotors, accessibilityCustomRotorsBlock, accessibilityDecrement, accessibilityDecrementBlock, accessibilityDirectTouchOptions, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsBlock, accessibilityElementsHidden, accessibilityElementsHiddenBlock, accessibilityFrame, accessibilityFrameBlock, accessibilityHeaderElementsBlock, accessibilityHint, accessibilityHintBlock, accessibilityIdentifierBlock, accessibilityIncrement, accessibilityIncrementBlock, accessibilityLabel, accessibilityLabelBlock, accessibilityLanguage, accessibilityLanguageBlock, accessibilityMagicTapBlock, accessibilityNavigationStyle, accessibilityNavigationStyleBlock, accessibilityPath, accessibilityPathBlock, accessibilityPerformEscape, accessibilityPerformEscapeBlock, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityRespondsToUserInteractionBlock, accessibilityScroll, accessibilityShouldGroupAccessibilityChildrenBlock, accessibilityTextualContext, accessibilityTextualContextBlock, accessibilityTraits, accessibilityTraitsBlock, accessibilityUserInputLabels, accessibilityUserInputLabelsBlock, accessibilityValue, accessibilityValueBlock, accessibilityViewIsModal, accessibilityViewIsModalBlock, accessibilityZoomInAtPoint, accessibilityZoomOutAtPoint, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, automationElements, automationElementsBlock, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, handleQueryWithUnboundKey, handleTakeValueForUnboundKey, hash, indexOfAccessibilityElement, isAccessibilityElement, isAccessibilityElementBlock, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivateBlock, setAccessibilityActivationPoint, setAccessibilityActivationPointBlock, setAccessibilityAttributedHint, setAccessibilityAttributedHintBlock, setAccessibilityAttributedLabel, setAccessibilityAttributedLabelBlock, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedUserInputLabelsBlock, setAccessibilityAttributedValue, setAccessibilityAttributedValueBlock, setAccessibilityContainerType, setAccessibilityContainerTypeBlock, setAccessibilityCustomActions, setAccessibilityCustomActionsBlock, setAccessibilityCustomRotors, setAccessibilityCustomRotorsBlock, setAccessibilityDecrementBlock, setAccessibilityDirectTouchOptions, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsBlock, setAccessibilityElementsHidden, setAccessibilityElementsHiddenBlock, setAccessibilityFrame, setAccessibilityFrameBlock, setAccessibilityHeaderElementsBlock, setAccessibilityHint, setAccessibilityHintBlock, setAccessibilityIdentifierBlock, setAccessibilityIncrementBlock, setAccessibilityLabel, setAccessibilityLabelBlock, setAccessibilityLanguage, setAccessibilityLanguageBlock, setAccessibilityMagicTapBlock, setAccessibilityNavigationStyle, setAccessibilityNavigationStyleBlock, setAccessibilityPath, setAccessibilityPathBlock, setAccessibilityPerformEscapeBlock, setAccessibilityRespondsToUserInteraction, setAccessibilityRespondsToUserInteractionBlock, setAccessibilityShouldGroupAccessibilityChildrenBlock, setAccessibilityTextualContext, setAccessibilityTextualContextBlock, setAccessibilityTraits, setAccessibilityTraitsBlock, setAccessibilityUserInputLabels, setAccessibilityUserInputLabelsBlock, setAccessibilityValue, setAccessibilityValueBlock, setAccessibilityViewIsModal, setAccessibilityViewIsModalBlock, setAutomationElements, setAutomationElementsBlock, setIsAccessibilityElement, setIsAccessibilityElementBlock, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, storedValueForKey, superclass, takeStoredValueForKey, takeValueForKey, takeValueForKeyPath, takeValuesFromDictionary, unableToSetNilForKey, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, valuesForKeys, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static CIFilter alloc()
-
allocWithZone
public static CIFilter allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
-
automaticallyNotifiesObserversForKey
public static boolean automaticallyNotifiesObserversForKey(@NotNull @NotNull java.lang.String key)
-
cancelPreviousPerformRequestsWithTarget
public static void cancelPreviousPerformRequestsWithTarget(@NotNull @NotNull java.lang.Object aTarget)
-
cancelPreviousPerformRequestsWithTargetSelectorObject
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(@NotNull @NotNull java.lang.Object aTarget, @NotNull @NotNull org.moe.natj.objc.SEL aSelector, @Nullable @Nullable java.lang.Object anArgument)
-
classFallbacksForKeyedArchiver
@NotNull public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
-
classForKeyedUnarchiver
@NotNull public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
-
debugDescription_static
public static java.lang.String debugDescription_static()
-
description_static
public static java.lang.String description_static()
-
filterArrayFromSerializedXMPInputImageExtentError
@Deprecated @NotNull public static @NotNull NSArray<? extends CIFilter> filterArrayFromSerializedXMPInputImageExtentError(@NotNull @NotNull NSData xmpData, CGRect extent, @Nullable @Nullable org.moe.natj.general.ptr.Ptr<NSError> outError)
Deprecated.Return an array of CIFilters de-serialized from XMP data. API-Since: 6.0 Deprecated-Since: 17.0
-
filterNamesInCategories
@NotNull public static @NotNull NSArray<java.lang.String> filterNamesInCategories(@Nullable @Nullable NSArray<java.lang.String> categories)
Returns an array containing all published filter names that belong to all listed categories.
-
filterNamesInCategory
@NotNull public static @NotNull NSArray<java.lang.String> filterNamesInCategory(@Nullable @Nullable java.lang.String category)
Returns an array containing all published filter names in a category.
-
filterWithCVPixelBufferPropertiesOptions
@Deprecated public static CIFilter filterWithCVPixelBufferPropertiesOptions(CVBufferRef pixelBuffer, NSDictionary<?,?> properties, NSDictionary<java.lang.String,?> options)
Deprecated.Returns a CIFilter that will in turn return a properly processed CIImage as "outputImage". Note that when using this initializer, you should pass in a CVPixelBufferRef with one of the following Raw pixel format types kCVPixelFormatType_14Bayer_GRBG, kCVPixelFormatType_14Bayer_RGGB, kCVPixelFormatType_14Bayer_BGGR, kCVPixelFormatType_14Bayer_GBRG as well as the root properties attachment from the CMSampleBufferRef. API-Since: 10.0 Deprecated-Since: 100000.0 Deprecated-Message: Use new CIRAWFilter class instead.
-
filterWithImageDataOptions
@Deprecated public static CIFilter filterWithImageDataOptions(NSData data, NSDictionary<java.lang.String,?> options)
Deprecated.Returns a CIFilter that will in turn return a properly processed CIImage as "outputImage". Note that when using this initializer, you should pass in a source type identifier hint (kCGImageSourceTypeIdentifierHint) key/value pair in order to help the decoder determine the file type, as otherwise confusion and incorrect results are possible. API-Since: 10.0 Deprecated-Since: 100000.0 Deprecated-Message: Use new CIRAWFilter class instead.
-
filterWithImageURLOptions
@Deprecated public static CIFilter filterWithImageURLOptions(NSURL url, NSDictionary<java.lang.String,?> options)
Deprecated.Returns a CIFilter that will in turn return a properly processed CIImage as "outputImage". API-Since: 10.0 Deprecated-Since: 100000.0 Deprecated-Message: Use new CIRAWFilter class instead.
-
filterWithName
@Nullable public static @Nullable CIFilter filterWithName(@NotNull @NotNull java.lang.String name)
Creates a new filter of type 'name'. On OSX, all input values will be undefined. On iOS, all input values will be set to default values.
-
filterWithNameKeysAndValues
@Nullable public static @Nullable CIFilter filterWithNameKeysAndValues(@NotNull @NotNull java.lang.String name, java.lang.Object key0, java.lang.Object... varargs)
Creates a new filter of type 'name'. The filter's input parameters are set from the list of key-value pairs which must be nil-terminated. On OSX, any of the filter input parameters not specified in the list will be undefined. On iOS, any of the filter input parameters not specified in the list will be set to default values.
-
filterWithNameWithInputParameters
@Nullable public static @Nullable CIFilter filterWithNameWithInputParameters(@NotNull @NotNull java.lang.String name, @Nullable @Nullable NSDictionary<java.lang.String,?> params)
Creates a new filter of type 'name'. The filter's input parameters are set from the dictionary of key-value pairs. On OSX, any of the filter input parameters not specified in the dictionary will be undefined. On iOS, any of the filter input parameters not specified in the dictionary will be set to default values. API-Since: 8.0
-
hash_static
public static long hash_static()
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
instanceMethodSignatureForSelector
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
-
instancesRespondToSelector
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
-
isSubclassOfClass
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
-
keyPathsForValuesAffectingValueForKey
@NotNull public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(@NotNull @NotNull java.lang.String key)
-
localizedDescriptionForFilterName
@Nullable public static @Nullable java.lang.String localizedDescriptionForFilterName(@NotNull @NotNull java.lang.String filterName)Returns the localized description of a filter for display in the UI. API-Since: 9.0
-
localizedNameForCategory
@NotNull public static @NotNull java.lang.String localizedNameForCategory(@NotNull @NotNull java.lang.String category)Returns the localized name of a category for display in the UI. API-Since: 9.0
-
localizedNameForFilterName
@Nullable public static @Nullable java.lang.String localizedNameForFilterName(@NotNull @NotNull java.lang.String filterName)Returns the localized name of a filter for display in the UI. API-Since: 9.0
-
localizedReferenceDocumentationForFilterName
@Nullable public static @Nullable NSURL localizedReferenceDocumentationForFilterName(@NotNull @NotNull java.lang.String filterName)
Returns the URL to the localized reference documentation describing the filter. The URL can be a local file or a remote document on a webserver. It is possible, that this method returns nil (like filters that predate this feature). A client of this API has to handle this case gracefully. API-Since: 9.0
-
new_objc
public static CIFilter new_objc()
-
registerFilterNameConstructorClassAttributes
public static void registerFilterNameConstructorClassAttributes(@NotNull @NotNull java.lang.String name, @NotNull @NotNull CIFilterConstructor anObject, @NotNull @NotNull NSDictionary<java.lang.String,?> attributes)Publishes a new filter called 'name'. The constructor object 'anObject' should implement the filterWithName: method. That method will be invoked with the name of the filter to create. The class attributes must have a kCIAttributeFilterCategories key associated with a set of categories.- Parameters:
attributes- Dictionary of the registration attributes of the filter. See below for attribute keys. API-Since: 9.0
-
resolveClassMethod
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
-
resolveInstanceMethod
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
-
serializedXMPFromFiltersInputImageExtent
@Deprecated @Nullable public static @Nullable NSData serializedXMPFromFiltersInputImageExtent(@NotNull @NotNull NSArray<? extends CIFilter> filters, CGRect extent)
Deprecated.Given an array of filters, serialize the filters' parameters into XMP form that is suitable for embedding in to an image. At this time the only filters classes that are serialized are, CIAffineTransform, CICrop, and the filters returned by [CIImage autoAdjustmentFilters]. The parameters of other filter classes will not be serialized. The return value will be null if none of the filters can be serialized. API-Since: 6.0 Deprecated-Since: 17.0
-
setVersion_static
public static void setVersion_static(long aVersion)
-
superclass_static
public static org.moe.natj.objc.Class superclass_static()
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
version_static
public static long version_static()
-
attributes
@NotNull public @NotNull NSDictionary<java.lang.String,?> attributes()
Returns a dictionary containing key/value pairs describing the filter. (see description of keys below)
-
copyWithZone
@NotNull public @NotNull java.lang.Object copyWithZone(@Nullable @Nullable org.moe.natj.general.ptr.VoidPtr zone)- Specified by:
copyWithZonein interfaceNSCopying
-
encodeWithCoder
public void encodeWithCoder(@NotNull @NotNull NSCoder coder)- Specified by:
encodeWithCoderin interfaceNSCoding
-
initWithCoder
public CIFilter initWithCoder(@NotNull @NotNull NSCoder coder)
Description copied from interface:NSCodingNS_DESIGNATED_INITIALIZER- Specified by:
initWithCoderin interfaceNSCoding
-
inputKeys
@NotNull public @NotNull NSArray<java.lang.String> inputKeys()
Returns an array containing the names of all inputs in the filter.
-
name
@NotNull public @NotNull java.lang.String name()
API-Since: 5.0
-
outputImage
@Nullable public @Nullable CIImage outputImage()
API-Since: 5.0
-
outputKeys
@NotNull public @NotNull NSArray<java.lang.String> outputKeys()
Returns an array containing the names of all outputs in the filter.
-
setDefaults
public void setDefaults()
Sets all inputs to their default values (where default values are defined, other inputs are left as-is).
-
setName
public void setName(@NotNull @NotNull java.lang.String aString)API-Since: 10.0
-
_supportsSecureCoding
public boolean _supportsSecureCoding()
Description copied from interface:NSSecureCodingThis property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.- Specified by:
_supportsSecureCodingin interfaceNSSecureCoding
-
supportedRawCameraModels
@Deprecated public static NSArray<java.lang.String> supportedRawCameraModels()
Deprecated.Returns a NSArray containing the names of all supported RAW cameras. API-Since: 13.0 Deprecated-Since: 100000.0 Deprecated-Message: Use new CIRAWFilter class instead.
-
useStoredAccessor
@Deprecated public static boolean useStoredAccessor()
Deprecated.
-
-