vtkCellGridSidesQuery

Struct vtkCellGridSidesQuery 

Source
pub struct vtkCellGridSidesQuery(/* private fields */);
Expand description

\brief A cell-grid query for enumerating sides of cells.

This query runs in 3 passes (see vtkCellGridSidesQuery::PassWork):

  • In the first pass, responders invoke the AddSides() method on this query, entries are added to this->Hashes storage indicating the cells which are bounded by a given shape + connectivity.
  • In the second pass, responders mark the entries created above and add entries in this->Sides. This reorganizes the hashes into groups more amenable to output as side arrays. This pass is called “Summarization,” since not every input side identified will be output.
  • In the third and final pass, responders create new cells in the output cell-grid that correspond to the selected sides of the input.

Implementations§

Source§

impl vtkCellGridSidesQuery

Source

pub fn new() -> Self

Creates a new vtkCellGridSidesQuery wrapped inside vtkNew

Trait Implementations§

Source§

impl Default for vtkCellGridSidesQuery

Source§

fn default() -> Self

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

impl Drop for vtkCellGridSidesQuery

Source§

fn drop(&mut self)

Executes the destructor for this type. Read more

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.