Package mbdyn :: Package interface :: Module nodes :: Class StructuralNode
[hide private]

Class StructuralNode

source code

record.RecordBase --+                
                    |                
        record.Record --+            
                        |            
       common.BasicObject --+        
                            |        
                   nodes.Node --+    
                                |    
             nodes.StructuralNode --+
                                    |
                                   StructuralNode

A structural node receiving instructions from GTK and showing its results in the VTK area.

Instance Methods [hide private]
 
__init__(self) source code
 
init_once_file_loaded(self)
Once the parameters from the result files have been loaded on the node, the initialization is done.
source code
 
set_mapper(self, obj_mapper)
Set the node mapper
source code
 
set_color(self)
Set the color to blue
source code
 
set_unselected(self)
Set a strong opacity
source code
 
set_selected(self)
Set a light opacity
source code
 
set_description(self, idx)
Set the node description at a idx frame number
source code
 
_fill_position(self, idx)
Get back the position at idx frame number
source code
 
set_vtk_position(self, idx)
Set the node position in VTK
source code
 
set_vtk_rotation_matrix(self, idx)
Show the node reference frame in the VTK area at the current idx frame
source code
 
set_unit_arrow(self, unit_arrow)
Set the arrow mapper representing the unit vector for the node reference frame
source code
 
activate_position(self, current_frame_id, vtk_area)
The node will show its position
source code
 
desactivate_position(self, vtk_area)
The node position will not be seen
source code
 
activate_rotation_matrix(self, current_frame_id, vtk_area)
The reference frame of the node will be seen
source code
 
desactivate_rotation_matrix(self, vtk_area)
The reference frame of the node will not be seen
source code
 
activate(self, key_feature, current_frame_id, vtk_area)
Activate a feature for the node
source code
 
desactivate(self, key_feature, vtk_area)
Deactivate a feature for the node
source code

Inherited from nodes.StructuralNode: append, get_mbdyn_instance, init_results, set_angular_velocity, set_default, set_position, set_rotation_matrix, set_velocity

Inherited from nodes.Node: collect_parameters, set_parameters, set_relative_from, set_type

Inherited from common.BasicObject: get_lines, set_comment, set_label, set_name, set_simulation_ref

Inherited from record.Record: common_init_results, save, set_own_parameters, will_save, will_save_nothing, will_save_only

Inherited from record.RecordBase: collect_own_parameters, set_own_para

Inherited from record.RecordBase (private): _collect_own_para

Method Details [hide private]

__init__(self)
(Constructor)

source code 
Overrides: nodes.StructuralNode.__init__