Module pyopenvdb :: Class VectorType |
[hide private]
[frames] | no frames]

# Class VectorType

     object --+
              |
    ??.instance --+
                  |
                 VectorType

The type of a vector determines how transforms are applied to it.

- INVARIANT: does not transform (e.g., tuple, uvw, color)
- COVARIANT: apply inverse-transpose transformation with w = 0 and ignore translation (e.g., gradient/normal)
- COVARIANT_NORMALIZE: apply inverse-transpose transformation with w = 0 and ignore translation, vectors are renormalized (e.g., unit normal)
- CONTRAVARIANT_RELATIVE: apply "regular" transformation with w = 0 and ignore translation (e.g., displacement, velocity, acceleration)
- CONTRAVARIANT_ABSOLUTE: apply "regular" transformation with w = 1 so that vector translates (e.g., position)

Instance Methods | [hide private]
str |
__getitem__(str) |
__init__(...) x.__init__(...) initializes x; see help(type(x)) for signature |
iterator |
__iter__() |
int |
__len__() |
__reduce__(...) helper for pickle |
Inherited from `unreachable.instance`: `__new__` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Static Methods | [hide private]
list |
keys() |

Class Variables | [hide private]
| __instance_size__ = `24`

Properties | [hide private]
| CONTRAVARIANT_ABSOLUTE
| CONTRAVARIANT_RELATIVE
| COVARIANT
| COVARIANT_NORMALIZE
| INVARIANT
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(...) (Constructor) |
x.__init__(...) initializes x; see help(type(x)) for signature Overrides: object.__init__ (inherited documentation)

### __reduce__(...) |
helper for pickle Overrides: object.__reduce__ (inherited documentation)

Property Details | [hide private]

### CONTRAVARIANT_ABSOLUTE Get Method: unreachable(...)

### CONTRAVARIANT_RELATIVE Get Method: unreachable(...)

### COVARIANT Get Method: unreachable(...)

### COVARIANT_NORMALIZE Get Method: unreachable(...)

### INVARIANT Get Method: unreachable(...)