Model Interface

public interface Model

The Model constructor: Model(...) makes one (see new_model for its arguments).

Calls

interface~~model~~CallsGraph interface~model Model proc~new_model new_model interface~model->proc~new_model proc~set_model Model%set_model proc~new_model->proc~set_model interface~vkf_model_read vkf_model_read proc~set_model->interface~vkf_model_read interface~vkf_node_bound vkf_node_bound proc~set_model->interface~vkf_node_bound

Module Procedures

private function new_model(name, file, color) result(m)

A model frame named name (decorations of color color), with the model file file if given (see set_model).

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: name

the frame's name

character(len=*), intent(in), optional :: file

model file (3ds, obj, glTF, ...)

real(kind=wp), intent(in), optional :: color(:)

[r, g, b] or [r, g, b, a] (0 to 1)

Return Value type(Model)