Struct SphereSource

Source
pub struct SphereSource { /* private fields */ }
Expand description

Implementations§

Source§

impl SphereSource

Source

pub fn new() -> Self

Source§

impl SphereSource

Source

pub fn set_radius(&mut self, radius: f64)

Source

pub fn get_radius(&self) -> f64

Source

pub fn set_center(&mut self, center: [f64; 3])

Source

pub fn get_center(&self) -> [f64; 3]

Source

pub fn get_phi_resolution(&self) -> i64

Source

pub fn set_phi_resolution(&mut self, phi_resolution: i64)

Source

pub fn get_theta_resolution(&self) -> i64

Source

pub fn set_theta_resolution(&mut self, theta_resolution: i64)

Trait Implementations§

Source§

impl Default for SphereSource

Source§

fn default() -> Self

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

impl Drop for SphereSource

Source§

fn drop(&mut self)

Executes the destructor for this type. Read more
Source§

impl vtkAlgorithm for SphereSource

Source§

fn has_executive(&self) -> bool

Source§

fn get_executive(&self) -> Option<&Executive>

Source§

fn set_executive(&mut self, executive: &mut impl vtkExecutive)

Source§

fn set_input_connection(&mut self, port: i64, input: &impl vtkAlgorithmOutput)

Source§

impl vtkObject for SphereSource

Source§

fn set_debug(&mut self, status: bool)

Source§

fn get_debug(&self) -> bool

Source§

fn debug_on(&mut self)

Source§

fn debug_off(&mut self)

Source§

fn modified(&mut self)

Source§

fn remove_observer(&mut self, tag: u64)

Source§

fn remove_observers(&mut self, event: u64)

Source§

fn remove_all_observers(&mut self)

Source§

fn has_observer(&self, event: u64) -> u64

Source§

impl vtkObjectBase for SphereSource

Source§

fn get_class_name(&self) -> String

Source§

fn is_a(&self, class_name: &str) -> bool

Source§

fn get_number_of_generations_from_base(&self, base_class: &str) -> i64

Source§

fn get_reference_count(&self) -> i64

Source§

fn set_reference_count(&mut self, count: i64)

Source§

fn get_is_in_memkind(&self) -> bool

Source§

fn print_self(&self, indent: u64) -> String

Source§

fn print_header(&self, indent: u64) -> String

Source§

fn print_trailer(&self, indent: u64) -> String

Source§

impl vtkPolyDataAlgorithm for SphereSource

Source§

fn get_input(&self, port: i64) -> Option<&DataObject>

Source§

fn vtk_poly_data_algorithm_get_poly_data_input( &self, port: i64, ) -> Option<&PolyData>

Source§

fn get_poly_data_input(&self, port: i64) -> Option<&PolyData>

Source§

fn set_output(&mut self, data_object: &impl vtkDataObject)

Source§

fn set_input_data(&mut self, port: i64, data_object: &impl vtkDataObject)

Source§

fn add_input_data(&mut self, port: i64, data_object: &impl vtkDataObject)

Source§

fn get_output(&self, port: i64) -> Option<&PolyData>

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> 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, 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.