CIPerspectiveRotate

Trait CIPerspectiveRotate 

Source
pub unsafe trait CIPerspectiveRotate: CIFilterProtocol {
    // Provided methods
    unsafe fn inputImage(&self) -> Option<Retained<CIImage>>
       where Self: Sized + Message { ... }
    unsafe fn setInputImage(&self, input_image: Option<&CIImage>)
       where Self: Sized + Message { ... }
    unsafe fn focalLength(&self) -> c_float
       where Self: Sized + Message { ... }
    unsafe fn setFocalLength(&self, focal_length: c_float)
       where Self: Sized + Message { ... }
    unsafe fn pitch(&self) -> c_float
       where Self: Sized + Message { ... }
    unsafe fn setPitch(&self, pitch: c_float)
       where Self: Sized + Message { ... }
    unsafe fn yaw(&self) -> c_float
       where Self: Sized + Message { ... }
    unsafe fn setYaw(&self, yaw: c_float)
       where Self: Sized + Message { ... }
    unsafe fn roll(&self) -> c_float
       where Self: Sized + Message { ... }
    unsafe fn setRoll(&self, roll: c_float)
       where Self: Sized + Message { ... }
}
Available on crate features CIFilter and CIFilterBuiltins only.
Expand description

The protocol for the Perspective Rotate filter.

Apply a homogenous rotation transform to an image.

See also Apple’s documentation

Provided Methods§

Source

unsafe fn inputImage(&self) -> Option<Retained<CIImage>>
where Self: Sized + Message,

Available on crate feature CIImage only.

The image to process.

Source

unsafe fn setInputImage(&self, input_image: Option<&CIImage>)
where Self: Sized + Message,

Available on crate feature CIImage only.

Setter for inputImage.

Source

unsafe fn focalLength(&self) -> c_float
where Self: Sized + Message,

35mm equivalent focal length of the input image.

Source

unsafe fn setFocalLength(&self, focal_length: c_float)
where Self: Sized + Message,

Setter for focalLength.

Source

unsafe fn pitch(&self) -> c_float
where Self: Sized + Message,

Pitch angle in radians.

Source

unsafe fn setPitch(&self, pitch: c_float)
where Self: Sized + Message,

Setter for pitch.

Source

unsafe fn yaw(&self) -> c_float
where Self: Sized + Message,

Yaw angle in radians.

Source

unsafe fn setYaw(&self, yaw: c_float)
where Self: Sized + Message,

Setter for yaw.

Source

unsafe fn roll(&self) -> c_float
where Self: Sized + Message,

Roll angle in radians.

Source

unsafe fn setRoll(&self, roll: c_float)
where Self: Sized + Message,

Setter for roll.

Trait Implementations§

Source§

impl ProtocolType for dyn CIPerspectiveRotate

Source§

const NAME: &'static str = "CIPerspectiveRotate"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn CIPerspectiveRotate

Implementations on Foreign Types§

Source§

impl<T> CIPerspectiveRotate for ProtocolObject<T>

Implementors§