[−][src]Enum vtkio::model::Attribute
Data structure that stores a Vtk attribute.
Variants
Scalar field. num_comp
describes how many components (1, 2, 3 or 4) there are
in the field.
num_comp
is called nValues
in the Vtk documentation.
Fields of LookupTable
data: IOBuffer
Fields of Vectors
data: IOBuffer
Normals are assumed to be normalized.
Fields of Normals
data: IOBuffer
1D, 2D or 3D texture coordinates are supported by Vtk.
3x3 symmetric tensors are supported. These are given in full row major form:
[t^1_00, t^1_01, t^1_02,
t^1_10, t^1_11, t^1_12,
t^1_20, t^1_21, t^1_22,
...
t^{n}_00, t^{n}_01, t^{n}_02,
t^{n}_10, t^{n}_11, t^{n}_12,
t^{n}_20, t^{n}_21, t^{n}_22,
]
Note that symmetry is assumed (t^k_ij == t^k_ji
).
Fields of Tensors
data: IOBuffer
Field attribute. Essentially an array of data arrays of any size.
Fields of Field
data_array: Vec<FieldArray>
Trait Implementations
impl Clone for Attribute
[src]
impl PartialEq<Attribute> for Attribute
[src]
impl Debug for Attribute
[src]
impl StructuralPartialEq for Attribute
[src]
Auto Trait Implementations
impl Send for Attribute
impl Sync for Attribute
impl Unpin for Attribute
impl UnwindSafe for Attribute
impl RefUnwindSafe for Attribute
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,