local_matrix Function

private pure function local_matrix(self) result(m)

The transform from this frame to its parent (4x4).

Type Bound

ReferenceFrame

Arguments

Type IntentOptional Attributes Name
class(ReferenceFrame), intent(in) :: self

Return Value real(kind=wp), (4,4)


Calls

proc~~local_matrix~~CallsGraph proc~local_matrix ReferenceFrame%local_matrix proc~frame_matrix frame_matrix proc~local_matrix->proc~frame_matrix proc~quat_to_matrix quat_to_matrix proc~frame_matrix->proc~quat_to_matrix

Called by

proc~~local_matrix~~CalledByGraph proc~local_matrix ReferenceFrame%local_matrix proc~place place proc~place->proc~local_matrix proc~world_matrix ReferenceFrame%world_matrix proc~place->proc~world_matrix proc~sync ReferenceFrame%sync proc~sync->proc~local_matrix proc~sync->proc~sync proc~time_drag TimeHandle%time_drag proc~time_drag->proc~local_matrix proc~time_drag->proc~world_matrix proc~window_pick WindowProxy%window_pick proc~window_pick->proc~local_matrix proc~view_camera view_camera proc~window_pick->proc~view_camera proc~world_matrix->proc~local_matrix proc~world_matrix->proc~world_matrix proc~drag DragHandle%drag proc~drag->proc~world_matrix proc~fm_update FrameManager%fm_update proc~fm_update->proc~sync proc~frame WindowProxy%frame proc~frame->proc~sync proc~realize ReferenceFrame%realize proc~frame->proc~realize proc~dispatch_events dispatch_events proc~frame->proc~dispatch_events proc~place_camera place_camera proc~frame->proc~place_camera proc~track_view track_view proc~frame->proc~track_view proc~frame_to_root frame_to_root proc~frame_to_root->proc~world_matrix proc~grab DragHandle%grab proc~grab->proc~world_matrix proc~hover_handle hover_handle proc~hover_handle->proc~window_pick proc~position_of ReferenceFrame%position_of proc~position_of->proc~world_matrix proc~realize->proc~sync proc~realize->proc~realize proc~shadow_late_update ShadowCones%shadow_late_update proc~shadow_late_update->proc~place proc~add_child ReferenceFrame%add_child proc~add_child->proc~realize proc~dispatch_event dispatch_event proc~dispatch_event->proc~hover_handle proc~drag_handle drag_handle proc~dispatch_event->proc~drag_handle proc~grab_handle grab_handle proc~dispatch_event->proc~grab_handle proc~release_handle release_handle proc~dispatch_event->proc~release_handle proc~drag_handle->proc~drag proc~cursor_ray WindowProxy%cursor_ray proc~drag_handle->proc~cursor_ray proc~grab_handle->proc~grab proc~grab_handle->proc~cursor_ray proc~home View%home proc~home->proc~frame_to_root proc~world_to_view View%world_to_view proc~home->proc~world_to_view proc~release_handle->proc~hover_handle proc~resize WindowProxy%resize proc~resize->proc~frame proc~run WindowProxy%run proc~run->proc~frame proc~world_to_view->proc~frame_to_root proc~dispatch_events->proc~dispatch_event proc~fly fly proc~fly->proc~world_to_view proc~get_camera WindowProxy%get_camera proc~get_camera->proc~world_to_view proc~place_camera->proc~home proc~place_camera->proc~world_to_view proc~place_camera->proc~fly proc~set_camera WindowProxy%set_camera proc~set_camera->proc~world_to_view proc~track_view->proc~world_to_view proc~view_camera->proc~get_camera proc~cursor_ray->proc~view_camera proc~screen_position WindowProxy%screen_position proc~screen_position->proc~view_camera

Source Code

    pure function local_matrix(self) result(m)
        class(ReferenceFrame), intent(in) :: self
        real(wp) :: m(4,4)
        m = frame_matrix(self%position_, self%attitude_)
    end function local_matrix