GraphicsPipeSelection¶
from acron.core import GraphicsPipeSelection
- class GraphicsPipeSelection¶
Bases:
This maintains a list of
GraphicsPipesby type that are available for creation. Normally there is one default interactiveGraphicsPipe, and possibly other types available as well.Inheritance diagram
digraph inheritancec87968c43a { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "GraphicsPipeSelection" [URL="acron.core.GraphicsPipeSelection.html#acron.core.GraphicsPipeSelection",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "GraphicsPipeSelection" [arrowsize=0.75,style=""]; }- __reduce__()¶
- static get_global_ptr()¶
Returns a pointer to the one global
GraphicsPipeSelectionobject.
- get_num_aux_modules()¶
Returns the number of display modules that are still to be loaded. If this is nonzero, then calling
load_aux_modules()will likely increase the number ofGraphicsPipesavailable.
- get_num_pipe_types()¶
Returns the number of different types of
GraphicsPipesthat are available to create through this interface.
- get_pipe_type()¶
Returns the nth type of
GraphicsPipeavailable through this interface.
- load_aux_modules()¶
Loads all the modules named in the aux-display Configrc variable, making as many graphics pipes as possible available.
- make_default_pipe()¶
Creates a new
GraphicsPipeof some arbitrary type. The user may specify a preference using the Configrc file; otherwise, one will be chosen arbitrarily.
- make_module_pipe()¶
Returns a new
GraphicsPipeof a type defined by the indicated module. Returns NULL if the module is not found or does not properly recommend aGraphicsPipe.
- make_pipe()¶
Creates a new
GraphicsPipeof the indicated type (or a type more specific than the indicated type, if necessary) and returns it. Returns NULL if the type cannot be matched.If the type is not already defined, this will implicitly load the named module, or if module_name is empty, it will call
load_aux_modules().Creates a new
GraphicsPipeof the indicated type (or a type more specific than the indicated type, if necessary) and returns it. Returns NULL if the type cannot be matched.
- property pipe_types Sequence[TypeHandle]¶
Returns the nth type of
GraphicsPipeavailable through this interface.
- print_pipe_types()¶
Writes a list of the currently known
GraphicsPipetypes to nout, for the user’s information.