Skip to main content

gmt_m1

Struct gmt_m1 

Source
#[repr(C)]
pub struct gmt_m1 {
Show 35 fields pub M_ID: c_int, pub D_assembly: rtd, pub D_clear: rtd, pub D_full: rtd, pub ri: rtd, pub beta: rtd, pub L: rtd, pub area0: rtd, pub area_fraction: rtd, pub area0_px: f32, pub area: rtd, pub N: c_int, pub depth: rtd, pub aperture_CS: coordinate_system, pub conic_CS: coordinate_system, pub conic_origin: [vector; 7], pub d__conic_origin: *mut vector, pub conic_c: rtd, pub conic_k: rtd, pub d__conic_c: *mut rtd, pub d__conic_k: *mut rtd, pub rigid_body_CS: coordinate_system, pub motion_CS: coordinate_system, pub height: rtd, pub V: *mut mask, pub idx_offset: c_int, pub ZS: *mut zernikeS, pub d__piston_mask: *mut c_int, pub TT_CS: coordinate_system, pub d__C: *mut f64, pub d__D: *mut f64, pub handle: cublasHandle_t, pub d__valid_segments: *mut c_char, pub BS: modes, pub d__segment_reflectivity: *mut f32,
}

Fields§

§M_ID: c_int§D_assembly: rtd§D_clear: rtd§D_full: rtd§ri: rtd§beta: rtd§L: rtd§area0: rtd§area_fraction: rtd§area0_px: f32§area: rtd§N: c_int§depth: rtd§aperture_CS: coordinate_system§conic_CS: coordinate_system§conic_origin: [vector; 7]§d__conic_origin: *mut vector§conic_c: rtd§conic_k: rtd§d__conic_c: *mut rtd§d__conic_k: *mut rtd§rigid_body_CS: coordinate_system§motion_CS: coordinate_system§height: rtd§V: *mut mask§idx_offset: c_int§ZS: *mut zernikeS§d__piston_mask: *mut c_int§TT_CS: coordinate_system§d__C: *mut f64§d__D: *mut f64§handle: cublasHandle_t§d__valid_segments: *mut c_char§BS: modes§d__segment_reflectivity: *mut f32

Implementations§

Source§

impl gmt_m1

Source

pub unsafe fn setup(&mut self)

Source

pub unsafe fn setup1( &mut self, _filename_: *mut c_char, _N_: c_int, _n_mode_: c_int, )

Source

pub unsafe fn setup2(&mut self, ZS: *mut zernikeS)

Source

pub unsafe fn cleanup(&mut self)

Source

pub unsafe fn update( &mut self, _origin_: vector, _euler_angles_: vector, idx: c_int, )

Source

pub unsafe fn reset(&mut self)

Source

pub unsafe fn trace(&mut self, rays: *mut bundle)

Source

pub unsafe fn traceall(&mut self, rays: *mut bundle)

Source

pub unsafe fn blocking(&mut self, rays: *mut bundle)

Source

pub unsafe fn global_tiptilt(&mut self, tip: f32, tilt: f32)

Source

pub unsafe fn test_ray_tracing(&mut self)

Source

pub unsafe fn track( &mut self, x: *mut f32, y: *mut f32, z: *mut f32, N: c_int, idx: c_int, )

Source

pub unsafe fn locate( &mut self, x: *mut f32, y: *mut f32, z: *mut f32, N: c_int, idx: c_int, )

Source

pub unsafe fn remove(&mut self, seg_ID: *mut c_int, N_ID: c_int)

Source

pub unsafe fn keep(&mut self, seg_ID: *mut c_int, N_ID: c_int)

Source

pub unsafe fn update_conic_c(&mut self, _conic_c_: *mut rtd)

Source

pub unsafe fn update_conic_k(&mut self, _conic_k_: *mut rtd)

Source

pub unsafe fn set_reflectivity(&mut self, reflectivity: *mut f32)

Source

pub unsafe fn preset(&mut self, rays: *mut bundle, margin: rtd)

Source

pub unsafe fn edge_sensors_data(&mut self)

Trait Implementations§

Source§

impl Clone for gmt_m1

Source§

fn clone(&self) -> gmt_m1

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for gmt_m1

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for gmt_m1

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Display for gmt_m1

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for gmt_m1

Source§

impl Send for gmt_m1

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.