Package pyffi :: Package formats :: Package nif :: Class NifFormat :: Class _bhkMoppBvTreeShape
[hide private]
[frames] | no frames]

Class _bhkMoppBvTreeShape

source code

                  object --+                                        
                           |                                        
      utils.graph.DetailNode --+                                    
                               |                                    
          utils.graph.GlobalNode --+                                
                                   |                                
object_models.xml.struct_.StructBase --+                            
                                       |                            
                     NifFormat._NiObject --+                        
                                           |                        
                          NifFormat.NiObject --+                    
                                               |                    
                         NifFormat._bhkRefObject --+                
                                                   |                
                              NifFormat.bhkRefObject --+            
                                                       |            
                               NifFormat.bhkSerializable --+        
                                                           |        
                                          NifFormat.bhkShape --+    
                                                               |    
                                        NifFormat.bhkBvTreeShape --+
                                                                   |
                                                                  NifFormat._bhkMoppBvTreeShape
Known Subclasses:

Memory optimized partial polytope bounding volume tree shape (not an entity).
Nested Classes [hide private]

Inherited from object_models.xml.struct_.StructBase: __metaclass__

Instance Methods [hide private]

Inherited from bhkRefObject: get_shape_mass_center_inertia

Inherited from NiObject: apply_scale, find, find_chain, is_interchangeable, tree

Inherited from NiObject (private): _validateTree

Inherited from object_models.xml.struct_.StructBase: __init__, __str__, deepcopy, fix_links, get_attribute, get_basic_attribute, get_detail_child_names, get_detail_child_nodes, get_global_child_nodes, get_global_display, get_hash, get_links, get_refs, get_size, get_strings, get_template_attribute, read, replace_global_node, set_attribute, set_basic_attribute, set_template_attribute, write

Inherited from utils.graph.GlobalNode: get_global_child_edge_types, get_global_iterator

Inherited from utils.graph.DetailNode: get_detail_child_edge_types, get_detail_display, get_detail_iterator

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Class Methods [hide private]

Inherited from object_models.xml.struct_.StructBase: get_games, get_versions

Class Variables [hide private]
  _attribute_list = [<pyffi.object_models.xml.StructAttribute ob...
  _attrs = [<pyffi.object_models.xml.StructAttribute object at 0...
  _has_links = True
  _has_refs = True
  _names = ['shape', 'material', 'unknown_8_bytes', 'unknown_flo...

Inherited from bhkSerializable (private): _games, _is_template

Inherited from object_models.xml.struct_.StructBase: arg

Properties [hide private]
  material
The shape's material.
  mopp_data
The tree of bounding volume data.
  mopp_data_size
Number of bytes for MOPP data.
  old_mopp_data
The tree of bounding volume data (old style, contains more than just the mopp script).
  origin
Origin of the object in mopp coordinates.
  scale
The scaling factor to quantize the MOPP: the quantization factor is equal to 256*256 divided by this number.
  shape
The shape.
  unknown_8_bytes
Unknown bytes, probably MOPP Header.
  unknown_float
Unknown float, might be scale.

Inherited from object: __class__

Class Variable Details [hide private]

_attribute_list

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2cf2ad0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2d01590>,
 <pyffi.object_models.xml.StructAttribute object at 0x2d01690>,
 <pyffi.object_models.xml.StructAttribute object at 0x2d01710>,
 <pyffi.object_models.xml.StructAttribute object at 0x2d01790>,
 <pyffi.object_models.xml.StructAttribute object at 0x2d01850>,
 <pyffi.object_models.xml.StructAttribute object at 0x2d018d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2d01910>,
...

_attrs

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2cf2ad0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2d01590>,
 <pyffi.object_models.xml.StructAttribute object at 0x2d01690>,
 <pyffi.object_models.xml.StructAttribute object at 0x2d01710>,
 <pyffi.object_models.xml.StructAttribute object at 0x2d01790>,
 <pyffi.object_models.xml.StructAttribute object at 0x2d01850>,
 <pyffi.object_models.xml.StructAttribute object at 0x2d018d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2d01910>,
...

_names

Value:
['shape',
 'material',
 'unknown_8_bytes',
 'unknown_float',
 'mopp_data_size',
 'origin',
 'scale',
 'old_mopp_data',
...

Property Details [hide private]

material

The shape's material.
Get Method:
<functools.partial object at 0x2d036d8>
Set Method:
<functools.partial object at 0x2d03730>

mopp_data

The tree of bounding volume data.
Get Method:
<functools.partial object at 0x2d03d60>

mopp_data_size

Number of bytes for MOPP data.
Get Method:
<functools.partial object at 0x2d03998>
Set Method:
<functools.partial object at 0x2d039f0>

old_mopp_data

The tree of bounding volume data (old style, contains more than just the mopp script).
Get Method:
<functools.partial object at 0x2d03cb0>

origin

Origin of the object in mopp coordinates. This is the minimum of all vertices in the packed shape along each axis, minus 0.1.
Get Method:
<functools.partial object at 0x2d03aa0>
Set Method:
<functools.partial object at 0x2d03af8>

scale

The scaling factor to quantize the MOPP: the quantization factor is equal to 256*256 divided by this number. In Oblivion files, scale is taken equal to 256*256*254 / (size + 0.2) where size is the largest dimension of the bounding box of the packed shape.
Get Method:
<functools.partial object at 0x2d03ba8>
Set Method:
<functools.partial object at 0x2d03c00>

shape

The shape.
Get Method:
<functools.partial object at 0x2d035d0>
Set Method:
<functools.partial object at 0x2d03628>

unknown_8_bytes

Unknown bytes, probably MOPP Header.
Get Method:
<functools.partial object at 0x2d037e0>

unknown_float

Unknown float, might be scale.
Get Method:
<functools.partial object at 0x2d03890>
Set Method:
<functools.partial object at 0x2d038e8>