vtkPartitionedDataSet

Struct vtkPartitionedDataSet 

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

composite dataset to encapsulates a dataset consisting of

partitions.

A vtkPartitionedDataSet dataset groups multiple datasets together. For example, say a simulation running in parallel on 16 processes generated 16 datasets that when considering together form a whole dataset. These are referred to as the partitions of the whole dataset. Now imagine that we want to load a volume of 16 partitions in a visualization cluster of 4 nodes. Each node could get 4 partitions, not necessarily forming a whole rectangular region. In this case, it is not possible to append the 4 partitions together into a vtkImageData. We can then collect these 4 partitions together using a vtkPartitionedDataSet.

It is required that all non-empty partitions have the same arrays and that they can be processed together as a whole by the same kind of filter. However, it is not required that they are of the same type. For example, it is possible to have structured datasets together with unstructured datasets as long as they are compatible meshes (i.e. can be processed together for the same kind of filter).

Implementations§

Source§

impl vtkPartitionedDataSet

Source

pub fn new() -> Self

Creates a new vtkPartitionedDataSet wrapped inside vtkNew

Trait Implementations§

Source§

impl Default for vtkPartitionedDataSet

Source§

fn default() -> Self

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

impl Drop for vtkPartitionedDataSet

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.