Package pyffi :: Package formats :: Package tri :: Class TriFormat :: Class _Header
[hide private]
[frames] | no frames]

Class _Header

source code

                  object --+            
                           |            
      utils.graph.DetailNode --+        
                               |        
          utils.graph.GlobalNode --+    
                                   |    
object_models.xml.struct_.StructBase --+
                                       |
                                      TriFormat._Header
Known Subclasses:

Nested Classes [hide private]

Inherited from object_models.xml.struct_.StructBase: __metaclass__

Instance Methods [hide private]

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, tree, 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...
  _names = ['signature', 'version', 'num_vertices', 'num_tri_fac...

Inherited from object_models.xml.struct_.StructBase: arg

Properties [hide private]
  has_uv
Does the model have uv coordinates? Always 1.
  modifier_vertices
List of vertices that modify the base model.
  modifiers
List of modifiers.
  morphs
List of morphs.
  num_modifier_vertices
Number of vertices that are changed by all the modifiers.
  num_modifiers
Number of absolute morphs
  num_morphs
Number of relative morphs.
  num_quad_faces
Number of 4 sided faces in the model.
  num_tri_faces
Number of 3 sided faces in the model.
  num_uvs
Number of UV vertices in model.
  num_vertices
Number of vertices in the base model.
  quad_faces
List of 4 sided faces.
  signature
FRTRI
  tri_faces
List of 3 sided faces.
  unknown_1
Always 0.
  unknown_2
Always 0.
  unknown_3
Always 0.
  unknown_4
Always 0.
  unknown_5
Always 0.
  unknown_6
Always 0.
  uv_quad_faces
List of 4 sided UV faces.
  uv_tri_faces
List of 3 sided UV faces.
  uvs
List of vertices for the UV of the base model.
  version
003 for Oblivion
  vertices
List of vertices for base model.

Inherited from object: __class__

Class Variable Details [hide private]

_attribute_list

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x4ae2650>,
 <pyffi.object_models.xml.StructAttribute object at 0x4ae29d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x4ae2990>,
 <pyffi.object_models.xml.StructAttribute object at 0x4ae2a50>,
 <pyffi.object_models.xml.StructAttribute object at 0x4ae2ad0>,
 <pyffi.object_models.xml.StructAttribute object at 0x4ae2b10>,
 <pyffi.object_models.xml.StructAttribute object at 0x4ae2b50>,
 <pyffi.object_models.xml.StructAttribute object at 0x4ae2b90>,
...

_attrs

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x4ae2650>,
 <pyffi.object_models.xml.StructAttribute object at 0x4ae29d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x4ae2990>,
 <pyffi.object_models.xml.StructAttribute object at 0x4ae2a50>,
 <pyffi.object_models.xml.StructAttribute object at 0x4ae2ad0>,
 <pyffi.object_models.xml.StructAttribute object at 0x4ae2b10>,
 <pyffi.object_models.xml.StructAttribute object at 0x4ae2b50>,
 <pyffi.object_models.xml.StructAttribute object at 0x4ae2b90>,
...

_names

Value:
['signature',
 'version',
 'num_vertices',
 'num_tri_faces',
 'num_quad_faces',
 'unknown_1',
 'unknown_2',
 'num_uvs',
...

Property Details [hide private]

has_uv

Does the model have uv coordinates? Always 1.
Get Method:
<functools.partial object at 0x4ae6d08>
Set Method:
<functools.partial object at 0x4ae6d60>

modifier_vertices

List of vertices that modify the base model. Indexed from 0.
Get Method:
<functools.partial object at 0x4aeb628>

modifiers

List of modifiers.
Get Method:
<functools.partial object at 0x4aebaf8>

morphs

List of morphs.
Get Method:
<functools.partial object at 0x4aeba48>

num_modifier_vertices

Number of vertices that are changed by all the modifiers.
Get Method:
<functools.partial object at 0x4aeb050>
Set Method:
<functools.partial object at 0x4aeb0a8>

num_modifiers

Number of absolute morphs
Get Method:
<functools.partial object at 0x4ae6f18>
Set Method:
<functools.partial object at 0x4ae6f70>

num_morphs

Number of relative morphs.
Get Method:
<functools.partial object at 0x4ae6e10>
Set Method:
<functools.partial object at 0x4ae6e68>

num_quad_faces

Number of 4 sided faces in the model. Always 0 for Oblivion.
Get Method:
<functools.partial object at 0x4ae68e8>
Set Method:
<functools.partial object at 0x4ae6940>

num_tri_faces

Number of 3 sided faces in the model.
Get Method:
<functools.partial object at 0x4ae67e0>
Set Method:
<functools.partial object at 0x4ae6838>

num_uvs

Number of UV vertices in model.
Get Method:
<functools.partial object at 0x4ae6c00>
Set Method:
<functools.partial object at 0x4ae6c58>

num_vertices

Number of vertices in the base model.
Get Method:
<functools.partial object at 0x4ae66d8>
Set Method:
<functools.partial object at 0x4ae6730>

quad_faces

List of 4 sided faces. Each point is indexed to VertexList.Not used by Oblivion.
Get Method:
<functools.partial object at 0x4aeb788>

signature

FRTRI
Get Method:
<functools.partial object at 0x4ae64c8>
Set Method:
<functools.partial object at 0x4ae6520>

tri_faces

List of 3 sided faces. Each point is indexed to VertexList.
Get Method:
<functools.partial object at 0x4aeb6d8>

unknown_1

Always 0.
Get Method:
<functools.partial object at 0x4ae69f0>
Set Method:
<functools.partial object at 0x4ae6a48>

unknown_2

Always 0.
Get Method:
<functools.partial object at 0x4ae6af8>
Set Method:
<functools.partial object at 0x4ae6b50>

unknown_3

Always 0.
Get Method:
<functools.partial object at 0x4aeb158>
Set Method:
<functools.partial object at 0x4aeb1b0>

unknown_4

Always 0.
Get Method:
<functools.partial object at 0x4aeb260>
Set Method:
<functools.partial object at 0x4aeb2b8>

unknown_5

Always 0.
Get Method:
<functools.partial object at 0x4aeb368>
Set Method:
<functools.partial object at 0x4aeb3c0>

unknown_6

Always 0.
Get Method:
<functools.partial object at 0x4aeb470>
Set Method:
<functools.partial object at 0x4aeb4c8>

uv_quad_faces

List of 4 sided UV faces.
Get Method:
<functools.partial object at 0x4aeb998>

uv_tri_faces

List of 3 sided UV faces.
Get Method:
<functools.partial object at 0x4aeb8e8>

uvs

List of vertices for the UV of the base model.
Get Method:
<functools.partial object at 0x4aeb838>

version

003 for Oblivion
Get Method:
<functools.partial object at 0x4ae65d0>
Set Method:
<functools.partial object at 0x4ae6628>

vertices

List of vertices for base model. Indexed from 0.
Get Method:
<functools.partial object at 0x4aeb578>