pub struct SphereSource { /* private fields */ }
Expand description
Implementations§
Source§impl SphereSource
impl SphereSource
Source§impl SphereSource
impl SphereSource
pub fn set_radius(&mut self, radius: f64)
pub fn get_radius(&self) -> f64
pub fn set_center(&mut self, center: [f64; 3])
pub fn get_center(&self) -> [f64; 3]
pub fn get_phi_resolution(&self) -> i64
pub fn set_phi_resolution(&mut self, phi_resolution: i64)
pub fn get_theta_resolution(&self) -> i64
pub fn set_theta_resolution(&mut self, theta_resolution: i64)
Trait Implementations§
Source§impl Default for SphereSource
impl Default for SphereSource
Source§impl Drop for SphereSource
impl Drop for SphereSource
Source§impl vtkAlgorithm for SphereSource
impl vtkAlgorithm for SphereSource
fn has_executive(&self) -> bool
fn get_executive(&self) -> Option<&Executive>
fn set_executive(&mut self, executive: &mut impl vtkExecutive)
fn set_input_connection(&mut self, port: i64, input: &impl vtkAlgorithmOutput)
Source§impl vtkObject for SphereSource
impl vtkObject for SphereSource
fn set_debug(&mut self, status: bool)
fn get_debug(&self) -> bool
fn debug_on(&mut self)
fn debug_off(&mut self)
fn modified(&mut self)
fn remove_observer(&mut self, tag: u64)
fn remove_observers(&mut self, event: u64)
fn remove_all_observers(&mut self)
fn has_observer(&self, event: u64) -> u64
Source§impl vtkObjectBase for SphereSource
impl vtkObjectBase for SphereSource
fn get_class_name(&self) -> String
fn is_a(&self, class_name: &str) -> bool
fn get_number_of_generations_from_base(&self, base_class: &str) -> i64
fn get_reference_count(&self) -> i64
fn set_reference_count(&mut self, count: i64)
fn get_is_in_memkind(&self) -> bool
fn print_self(&self, indent: u64) -> String
fn print_header(&self, indent: u64) -> String
fn print_trailer(&self, indent: u64) -> String
Source§impl vtkPolyDataAlgorithm for SphereSource
impl vtkPolyDataAlgorithm for SphereSource
fn get_input(&self, port: i64) -> Option<&DataObject>
fn vtk_poly_data_algorithm_get_poly_data_input( &self, port: i64, ) -> Option<&PolyData>
fn get_poly_data_input(&self, port: i64) -> Option<&PolyData>
fn set_output(&mut self, data_object: &impl vtkDataObject)
fn set_input_data(&mut self, port: i64, data_object: &impl vtkDataObject)
fn add_input_data(&mut self, port: i64, data_object: &impl vtkDataObject)
fn get_output(&self, port: i64) -> Option<&PolyData>
Auto Trait Implementations§
impl Freeze for SphereSource
impl RefUnwindSafe for SphereSource
impl !Send for SphereSource
impl !Sync for SphereSource
impl Unpin for SphereSource
impl !UnwindSafe for SphereSource
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more