Package pyffi :: Package formats :: Package cgf :: Class CgfFormat :: Class NodeChunk
[hide private]
[frames] | no frames]

Class NodeChunk

source code

                  object --+                        
                           |                        
      utils.graph.DetailNode --+                    
                               |                    
          utils.graph.GlobalNode --+                
                                   |                
object_models.xml.struct_.StructBase --+            
                                       |            
                        CgfFormat._Chunk --+        
                                           |        
                             CgfFormat.Chunk --+    
                                               |    
                            CgfFormat._NodeChunk --+
                                                   |
                                                  CgfFormat.NodeChunk

Nested Classes [hide private]

Inherited from object_models.xml.struct_.StructBase: __metaclass__

Instance Methods [hide private]
 
get_global_node_parent(self)
Get the block parent (used for instance in the QSkope global view).
source code
 
apply_scale(self, scale)
Apply scale factor on data.
source code
 
update_pos_rot_scl(self)
Update position, rotation, and scale, from the transform.
source code

Inherited from Chunk: tree

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...

Inherited from object_models.xml.struct_.StructBase: arg

Properties [hide private]

Inherited from _NodeChunk: children, is_group_head, is_group_member, material, name, num_children, object, parent, pos, pos_ctrl, property_string, reserved_1, rot, rot_ctrl, scl, scl_ctrl, transform

Inherited from object: __class__

Method Details [hide private]

apply_scale(self, scale)

source code 
Apply scale factor on data.
Overrides: Chunk.apply_scale

Class Variable Details [hide private]

_attribute_list

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2730790>,
 <pyffi.object_models.xml.StructAttribute object at 0x27307d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2730810>,
 <pyffi.object_models.xml.StructAttribute object at 0x2730850>,
 <pyffi.object_models.xml.StructAttribute object at 0x27308d0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2730910>,
 <pyffi.object_models.xml.StructAttribute object at 0x2730990>,
 <pyffi.object_models.xml.StructAttribute object at 0x27309d0>,
...