pyvtk.Tensors = class Tensors(pyvtk.DataSetAttr.DataSetAttr)
`` | `Holds VTK Tensors. Usage: Tensors(<sequence of 3x3-tuples> , name = <string>) Attributes: tensors name Public methods: get_size() to_string(format = 'ascii')`

Method resolution order:
  Tensors
  pyvtk.DataSetAttr.DataSetAttr
  pyvtk.common.Common

Methods defined here:

__init__(self, tensors, name=None)

get_size(self)

to_string(self, format='ascii')

Data and other attributes inherited from pyvtk.DataSetAttr.DataSetAttr:

counters = {}

default_value = 0

Methods inherited from pyvtk.common.Common:

__str__(self)

error(self, m='')

float01_to_int255(self, seq)

get_3_3_tuple(self, obj, default=None)
  `Return tuple of 3-tuples`

get_3_3_tuple_list(self, obj, default=None)
  `Return list of 3x3-tuples.`

get_3_tuple(self, obj, default=None)
  `Return 3-tuple from
  number -> (obj,default[1],default[2])
  0-sequence|None -> default
  1-sequence -> (obj[0],default[1],default[2])
  2-sequence -> (obj[0],obj[1],default[2])
  (3 or more)-sequence -> (obj[0],obj[1],obj[2])`

get_3_tuple_list(self, obj, default=None)
  `Return list of 3-tuples from
  sequence of a sequence,
  sequence - it is mapped to sequence of 3-sequences if possible
  number`

get_datatype(self, obj)

get_n_seq_seq(self, obj, default)

get_seq(self, obj, default=None)
  `Return sequence.`

get_seq_seq(self, obj, default=None)
  `Return sequence of sequences.`

int255_to_float01(self, seq)

message(self, m='')

seq_to_string(self, seq, format, datatype)

skipping(self, m='')

warning(self, m='')

Data and other attributes inherited from pyvtk.common.Common:

default_float = 'float'

default_int = 'int'

struct_fmt_map = {'char': 'c', 'double': 'd', 'float': 'f', 'int': 'i', 'long': 'l', 'unsigned char': 'B'}